CompanyOperations - Get Streets
When should this function be used?
This function is used to retrieve information about business streets.
Below is a link to the function in JSON.
Request method: GET.
Get streets
https://secure.cardcom.solutions/api/v11/CompanyOperations/GetStreets
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 | cityCode | (String) | City code. |
| 4 | startwith | (String) | The city from which to start. |
Get Streets Response
| No. |
Parameter | Example values | Description |
| 1 | Id | (Int) | Identifier. |
| 2 | CodeCity | (Int) | City code. |
| 3 | Street | (String) | Street. |
| 4 | City | (String) | City name. |
| 5 | StreetEng | (String) | Street name in English. |
Below is sample code for the function, together with the response.
Request example:
{
"SupplierUserName":"string",
"secret": "string",
"cityCode": 0,
"startwith":"startwith"
}
Response example:
[
{
"Id": 0,
"CodeStreet": 0,
"Street": "string",
"CityCode": 0,
"StreetEng": "string"
}
]