CompanyOperations - Get Cities
When should you use this function?
Retrieves the cities of businesses.
Below is a link to the function in JSON.
Request method - GET.
Get cities
https://secure.cardcom.solutions/api/v11/CompanyOperations/GetCities
Below are the parameters that must be passed to the function.
Legend:
Red parameter - required
Bold parameter - recommended
A parameter that is neither red nor bold is optional.
|
No. |
Parameter | Example values | Description |
| 1 | SupplierUserName | (String) | The supplier's username. |
| 2 | Secret | (String) | Secret |
| 3 | startwith | (String) | The city from which to start. |
Get Cities response.
|
No. |
Parameter | Example values | Description |
| 1 | Id | (Int) | Identifier. |
| 2 | CodeCity | (Int) | City code. |
| 3 | City | (String) | City name. |
| 4 | CityEng | (String) | City name in English. |
Below is sample code for the function together with the response.
Request example:
[
{
"Id": 0,
"CodeCity": 0,
"City": "string",
"CityEng": "string"
}
]
Example response:
[
{
"Id": 0,
"CodeCity": 0,
"City": "string",
"CityEng": "string"
}
]