Search in this section

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


Table of contents

Description

The response element defines the structure of the answer which is returned from the API.

Structure

KeyOccursFormatDescription
response


response / result1 - nResult (Component)

The returned data

XML-Example

XML Example
<response>
    <result>
	...
	</result>
</response>

Code Example

Where Component Java
@XmlRootElement(name = "response")
public class Response {

    @XmlElement(name="result")
    private List<Result> result;

    /* Getter + Setter */

}
Where Component PHP
class Response {

    /**
     *
     * @var type List<Result>
     */
    public $result;

    /* Getter + Setter */

}
Where Component C#
public class Response {

    private List<Result> result;

    /* Getter + Setter */

}