Search in this section

Child pages
  • Status Element
Skip to end of metadata
Go to start of metadata


Table of contents

Description

The status element defines the status of a request. It is returned within the result of the response.

Structure

KeyOccursFormatDescription
status


status / type1String

The status type of the answer

status / code1StringThe status code of the answer beginning with either N, E or S
status / text1StringSystemmessage with details about the status.

XML-Example

XML Example
<status>
    <type>notify</type>
	<code>N400101</code>
	<text>Certificate order was started successfully.</text>
</status>

Code Example

Where Component Java
@XmlRootElement(name = "status")
public class Status {

    @XmlElement(name="type")
    private String type;

    @XmlElement(name="code")
    private String code;

    @XmlElement(name="text")
    private String text;

 	/* Getter + Setter */

}
Where Component PHP
class Status {

    /**
     *
     * @var type String
     */
    public $type;

    /**
     *
     * @var type String
     */
    public $code;

    /**
     *
     * @var type String
     */
    public $text;


 	/* Getter + Setter */

}
Where Component C#
public class Status {

    private String type;

    private String code;

    private String text;

 	/* Getter + Setter */

}