POST v1/TravelLeaders/GetHotelPromotionsSupplierList
Request Information
URI Parameters
None.
Body Parameters
Request| Name | Description | Type | Additional information |
|---|---|---|---|
| Vuserid | string |
None. |
|
| PccCode | string |
None. |
|
| UserId | integer |
None. |
|
| AccountID | string |
None. |
|
| UserName | string |
None. |
|
| ApplicationDomain | ApplicationDomain |
None. |
|
| guid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Vuserid": "sample string 1",
"PccCode": "sample string 2",
"UserId": 3,
"AccountID": "sample string 4",
"UserName": "sample string 5",
"ApplicationDomain": 0,
"guid": "sample string 6"
}
application/xml, text/xml
Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <AccountID>sample string 4</AccountID> <ApplicationDomain>GTL</ApplicationDomain> <PccCode>sample string 2</PccCode> <UserId>3</UserId> <UserName>sample string 5</UserName> <Vuserid>sample string 1</Vuserid> <guid>sample string 6</guid> </Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HotelPromotionSupplierRS| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierList | Collection of HotelPromotionsupplier |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SupplierList": [
{
"Level": "sample string 1",
"HotelBrandName": "sample string 2",
"BrandGUID": "sample string 3",
"HotelBranchName": "sample string 4",
"BranchGUID": "sample string 5",
"HotelName": "sample string 6",
"HotelGUID": "sample string 7"
},
{
"Level": "sample string 1",
"HotelBrandName": "sample string 2",
"BrandGUID": "sample string 3",
"HotelBranchName": "sample string 4",
"BranchGUID": "sample string 5",
"HotelName": "sample string 6",
"HotelGUID": "sample string 7"
}
],
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<HotelPromotionSupplierRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.TravelLeaders">
<IsSuccess xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">true</IsSuccess>
<Message xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Message>
<PNR xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PNR>
<guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</guid>
<SupplierList>
<HotelPromotionsupplier>
<BranchGUID>sample string 5</BranchGUID>
<BrandGUID>sample string 3</BrandGUID>
<HotelBranchName>sample string 4</HotelBranchName>
<HotelBrandName>sample string 2</HotelBrandName>
<HotelGUID>sample string 7</HotelGUID>
<HotelName>sample string 6</HotelName>
<Level>sample string 1</Level>
</HotelPromotionsupplier>
<HotelPromotionsupplier>
<BranchGUID>sample string 5</BranchGUID>
<BrandGUID>sample string 3</BrandGUID>
<HotelBranchName>sample string 4</HotelBranchName>
<HotelBrandName>sample string 2</HotelBrandName>
<HotelGUID>sample string 7</HotelGUID>
<HotelName>sample string 6</HotelName>
<Level>sample string 1</Level>
</HotelPromotionsupplier>
</SupplierList>
</HotelPromotionSupplierRS>