City and County Details Listing – listCounties()
City and County Details Listing
It is expected that the city-county details as defined in the Horoz Logistics system are passed to the sender and recipient city-county requirements available in the data of the order to be sent by the client to the Horoz system as part of the Horoz Logistics Domestic Distribution Integration. listCounties()
method returns the city-county details defined in the Horoz Logistics system to the client as a response.
GET listCounties()
Parameter Descriptions & Rules
The following table lists the input and output parameters of the listCounties()
process and the types and formats of such parameters.
- Fields
- Example Request
- Example Response
Parametre | Description | Data Type | Length | Field Location | Requirement |
---|---|---|---|---|---|
processKey | The processKey details identified for the client | string | 100 | Header | Mandatory |
The method does not use any reuqest.
{
"listCountiesOutput": {
"responseCode": "STA-100",
"responseMessage": "ISLEM BASARILI",
"listCounties": {
"county": [
{
"cityName": "ADANA",
"countyName": "ALADAĞ",
},
{
"cityName": "ADANA",
"countyName": "CEYHAN"
},
:
:
:
{
"cityName": "DÜZCE",
"countyName": "MERKEZ"
},
{
"cityName": "DÜZCE",
"countyName": "YIĞILCA"
}
]
}
}
}
Service Responses
Response Code | Response Message | Description |
---|---|---|
STA-100 | ISLEM BASARILI | Indicates that the process has been completed successfully. |
ERR-20001 | HATALI IŞLEM ANAHTARI | Indicates that the entered processKey details are incorrect. |