Read the country fields
You use this method to read the countries.
Request method
GET
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/Country?{Key}={KeyValues}[&fields={FieldList}]
Context identification
| Identification | Description |
|---|---|
| DossierId | The unique identifier of the dossier. |
Parameters
| Parameter | Description |
|---|---|
| {Key} | The available keys to seek one or more country codes: |
| Fields | List of fields, containing property names of the country card, of which the value has to be returned in the response body. (optional) |
https://ponte.venice.be/WebConnect/api/Demo/Country?CountryCode=BE&fields=CountryCode,NameNld
Request header
See request header.
Request body
-Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- Countries (array)
- Country (array item)
- Fields (object)
Examples
{
"Response": {
"Countries": {
"Country": [
{
"Fields" : {
"CountryCode": "BE",
"NameNld": "België"
}
}
]
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<Response>
<Countries>
<Country>
<Fields>
<CountryCode>BE</CountryCode>
<NameNld>België</NameNld>
</Fields>
</Country>
</Countries>
</Response>