POST api/bifrost/Azure/GetCity
Request Information
URI Parameters
None.
Body Parameters
CityRequestName | Description | Type | Additional information |
---|---|---|---|
City | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "City": "sample string 1" }
application/xml, text/xml
Sample:
<CityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <City>sample string 1</City> </CityRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CityResponseName | Description | Type | Additional information |
---|---|---|---|
Authenticated | boolean |
None. |
|
Message | string |
None. |
|
ListOfCity | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Authenticated": true, "Message": "sample string 2", "ListOfCity": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<CityResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <Authenticated>true</Authenticated> <ListOfCity xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ListOfCity> <Message>sample string 2</Message> </CityResponse>