GET api/bifrost/Azure/GetCountry
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CountryRS| Name | Description | Type | Additional information |
|---|---|---|---|
| Country | Collection of CountryModel |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Country": [
{
"Id": 1,
"CountryName": "sample string 2",
"CountryCode": "sample string 3",
"Country3CharCode": "sample string 4"
},
{
"Id": 1,
"CountryName": "sample string 2",
"CountryCode": "sample string 3",
"Country3CharCode": "sample string 4"
}
],
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<CountryRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<PNR>sample string 4</PNR>
<guid>sample string 3</guid>
<Country>
<CountryModel>
<Country3CharCode>sample string 4</Country3CharCode>
<CountryCode>sample string 3</CountryCode>
<CountryName>sample string 2</CountryName>
<Id>1</Id>
</CountryModel>
<CountryModel>
<Country3CharCode>sample string 4</Country3CharCode>
<CountryCode>sample string 3</CountryCode>
<CountryName>sample string 2</CountryName>
<Id>1</Id>
</CountryModel>
</Country>
</CountryRS>