POST v1/TravelLeaders/GetInterests

Request Information

URI Parameters

None.

Body Parameters

GetInterestsRQ
NameDescriptionTypeAdditional information
AgencyID

integer

None.

Locality

string

None.

Brand

string

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:
{
  "AgencyID": 1,
  "Locality": "sample string 2",
  "Brand": "sample string 3",
  "Vuserid": "sample string 4",
  "PccCode": "sample string 5",
  "UserId": 6,
  "AccountID": "sample string 7",
  "UserName": "sample string 8",
  "ApplicationDomain": 0,
  "guid": "sample string 9"
}

application/xml, text/xml

Sample:
<GetInterestsRQ 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 7</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 5</PccCode>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">6</UserId>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</UserName>
  <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</Vuserid>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 9</guid>
  <AgencyID>1</AgencyID>
  <Brand>sample string 3</Brand>
  <Locality>sample string 2</Locality>
</GetInterestsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InterestResponse
NameDescriptionTypeAdditional information
Interests

Collection of ListInterests

None.

IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Interests": [
    {
      "interestField": "sample string 1",
      "interestIdField": 2,
      "categoryField": "sample string 3",
      "errorMsgField": "sample string 4"
    },
    {
      "interestField": "sample string 1",
      "interestIdField": 2,
      "categoryField": "sample string 3",
      "errorMsgField": "sample string 4"
    }
  ],
  "IsSuccess": true,
  "Message": "sample string 2",
  "guid": "sample string 3",
  "PNR": "sample string 4"
}

application/xml, text/xml

Sample:
<InterestResponse 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>
  <Interests xmlns:d2p1="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Business.AgentSearchWidgetService">
    <d2p1:ListInterests>
      <d2p1:categoryField>sample string 3</d2p1:categoryField>
      <d2p1:errorMsgField>sample string 4</d2p1:errorMsgField>
      <d2p1:interestField>sample string 1</d2p1:interestField>
      <d2p1:interestIdField>2</d2p1:interestIdField>
    </d2p1:ListInterests>
    <d2p1:ListInterests>
      <d2p1:categoryField>sample string 3</d2p1:categoryField>
      <d2p1:errorMsgField>sample string 4</d2p1:errorMsgField>
      <d2p1:interestField>sample string 1</d2p1:interestField>
      <d2p1:interestIdField>2</d2p1:interestIdField>
    </d2p1:ListInterests>
  </Interests>
</InterestResponse>