Read the country fields

You use this method to read the countries.

Request method

GET

Request url

https://venice.unit4.com/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:
  • SystemNumber={SystemNumber}: Seek country cards by system number.
  • CountryCode={CountryCode}: Seek country cards by country code.
  • NameNld={NameNld}: Seek country cards by dutch name.
  • NameFra={NameFra}: Seek country cards by french namee.
  • NameEng={NameEng}: Seek country cards by english name.
  • NameDeu={NameDeu}: Seek country cards bygerman name.
  • IsoCountryCode={IsoCountryCode}: Seek country cards by iso country code.
  • IsoCurrencyCode={IsoCurrencyCode}: Seek country cards by iso currency code.
  • IsoCountryNum={IsoCountryNum}: Seek country cards by iso country number.
Fields List of fields, containing property names of the country card, of which the value has to be returned in the response body. (optional)
Example: Get from dossier 'Demo' a country card with country code 'BE' and limit the data to the following fields: 'CountryCode' and 'NameNld'.
https://venice.unit4.com/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)

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>