GET api/bus/getCityDestination?kCode={kCode}&AuthCode={AuthCode}&sourceId={sourceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| kCode | integer |
Required |
|
| AuthCode | string |
Required |
|
| sourceId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CityList| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"name": "sample string 2"
},
{
"Id": 1,
"name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfCityList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAPI.Bus.Models">
<CityList>
<Id>1</Id>
<name>sample string 2</name>
</CityList>
<CityList>
<Id>1</Id>
<name>sample string 2</name>
</CityList>
</ArrayOfCityList>