Get Country List
POST/v1/api/Pull/GetCountryList
Retrive the country list
Request
- application/json
Body
Possible values: [8, 4, 3, 1, 2, 5, 6, 7]
Default value: 8
Values (LanguageCodeEnum):
8=br | 4=pt | 3=es | 1=en | 2=fr | 5=da | 6=it | 7=de.
An arbitrary string returned in the response for tracking/debugging.
The date and time (ISO format) just before the request is sent.
Possible values: [0, 1]
The target environment for this request.
Values (TargetEnum):
0=Test | 1=Production.
Default value: 1
The version number of this request format.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- MOD1
- MOD2
- ]
The same token received in the request.
ErrorsType objectnullable
Errors object[]
Error code associated with the warning.
Possible values: [8, 4, 3, 1, 2, 5, 6, 7]
Language of the warning message.
Values (LanguageCodeEnum):
8=br | 4=pt | 3=es | 1=en | 2=fr | 5=da | 6=it | 7=de.
Short description or summary of the warning.
Possible values: [8, 4, 3, 1, 2, 5, 6, 7]
Default value: 8
Values (LanguageCodeEnum):
8=br | 4=pt | 3=es | 1=en | 2=fr | 5=da | 6=it | 7=de.
Success objectnullable
Possible values: [0, 1]
The environment target. The same value received in the request.
Values (TargetEnum):
0=Test | 1=Production.
The date in ISO format right before the response is sent.
Version of the API being used. The same value received in the request.
WarningsType objectnullable
Warnings object[]
Error code associated with the warning.
Possible values: [8, 4, 3, 1, 2, 5, 6, 7]
Language of the warning message.
Values (LanguageCodeEnum):
8=br | 4=pt | 3=es | 1=en | 2=fr | 5=da | 6=it | 7=de.
Short description or summary of the warning.
CountriesType objectrequired
Countries object[]required
List of countries.
Code object required
Code.
integer
string
Name.
{
"EchoToken": "string",
"ErrorsType": {
"Errors": [
{
"Code": 0,
"Language": 8,
"ShortText": "string"
}
]
},
"PrimaryLangID": 8,
"Success": {},
"Target": 0,
"TimeStamp": "string",
"Version": 0,
"WarningsType": {
"Warnings": [
{
"Code": 0,
"Language": 8,
"ShortText": "string"
}
]
},
"CountriesType": {
"Countries": [
{
"Code": 0,
"Name": "string"
}
]
}
}