POST v1/TravelLeaders/GetOfferType
Request Information
URI Parameters
None.
Body Parameters
OfferRequestName | Description | Type | Additional information |
---|---|---|---|
OfferId | integer |
None. |
|
PriceId | integer |
None. |
|
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:
{ "OfferId": 1, "PriceId": 2, "Vuserid": "sample string 3", "PccCode": "sample string 4", "UserId": 5, "AccountID": "sample string 6", "UserName": "sample string 7", "ApplicationDomain": 0, "guid": "sample string 8" }
application/xml, text/xml
Sample:
<OfferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.TravelLeaders"> <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 6</AccountID> <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain> <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PccCode> <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">5</UserId> <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</UserName> <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</Vuserid> <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</guid> <OfferId>1</OfferId> <PriceId>2</PriceId> </OfferRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OfferTypeResponseName | Description | Type | Additional information |
---|---|---|---|
offerType | OfferType |
None. |
|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
guid | string |
None. |
|
PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "offerType": { "travelTypeField": "sample string 1", "statusField": "sample string 2", "errorMsgField": "sample string 3", "supplierIDField": 4, "offerInterestsField": [ { "interestIDField": 1, "interestField": "sample string 2" }, { "interestIDField": 1, "interestField": "sample string 2" } ], "offerDestinationsField": [ { "locationIDField": 1, "regionNameField": "sample string 2", "areaNameField": "sample string 3", "localeNameField": "sample string 4", "locationTypeField": "sample string 5" }, { "locationIDField": 1, "regionNameField": "sample string 2", "areaNameField": "sample string 3", "localeNameField": "sample string 4", "locationTypeField": "sample string 5" } ] }, "IsSuccess": true, "Message": "sample string 2", "guid": "sample string 3", "PNR": "sample string 4" }
application/xml, text/xml
Sample:
<OfferTypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Business.TravelLeadersModel"> <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> <offerType xmlns:d2p1="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Business.OfferService"> <d2p1:errorMsgField>sample string 3</d2p1:errorMsgField> <d2p1:offerDestinationsField> <d2p1:PromotionDestination> <d2p1:areaNameField>sample string 3</d2p1:areaNameField> <d2p1:localeNameField>sample string 4</d2p1:localeNameField> <d2p1:locationIDField>1</d2p1:locationIDField> <d2p1:locationTypeField>sample string 5</d2p1:locationTypeField> <d2p1:regionNameField>sample string 2</d2p1:regionNameField> </d2p1:PromotionDestination> <d2p1:PromotionDestination> <d2p1:areaNameField>sample string 3</d2p1:areaNameField> <d2p1:localeNameField>sample string 4</d2p1:localeNameField> <d2p1:locationIDField>1</d2p1:locationIDField> <d2p1:locationTypeField>sample string 5</d2p1:locationTypeField> <d2p1:regionNameField>sample string 2</d2p1:regionNameField> </d2p1:PromotionDestination> </d2p1:offerDestinationsField> <d2p1:offerInterestsField> <d2p1:PromotionInterest> <d2p1:interestField>sample string 2</d2p1:interestField> <d2p1:interestIDField>1</d2p1:interestIDField> </d2p1:PromotionInterest> <d2p1:PromotionInterest> <d2p1:interestField>sample string 2</d2p1:interestField> <d2p1:interestIDField>1</d2p1:interestIDField> </d2p1:PromotionInterest> </d2p1:offerInterestsField> <d2p1:statusField>sample string 2</d2p1:statusField> <d2p1:supplierIDField>4</d2p1:supplierIDField> <d2p1:travelTypeField>sample string 1</d2p1:travelTypeField> </offerType> </OfferTypeResponse>