POST v1/HealthAdvisory/GetVendorPolicies

Request Information

URI Parameters

None.

Body Parameters

VendorPoliciesRequest
NameDescriptionTypeAdditional information
VendorName

string

None.

VendorCode

string

None.

VendorType

VENDORTYPE

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorName": "sample string 1",
  "VendorCode": "sample string 2",
  "VendorType": 1
}

application/xml, text/xml

Sample:
<VendorPoliciesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.HealthAdvisory">
  <VendorCode>sample string 2</VendorCode>
  <VendorName>sample string 1</VendorName>
  <VendorType>HOTEL</VendorType>
</VendorPoliciesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VendorPolicyResponse
NameDescriptionTypeAdditional information
ListOfPolicies

Collection of VendorPolicy

None.

IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ListOfPolicies": [
    {
      "Id": 1,
      "VendorName": "sample string 2",
      "VendorCode": "sample string 3",
      "Safety": "sample string 4",
      "Policies": "sample string 5",
      "VendorType": 1
    },
    {
      "Id": 1,
      "VendorName": "sample string 2",
      "VendorCode": "sample string 3",
      "Safety": "sample string 4",
      "Policies": "sample string 5",
      "VendorType": 1
    }
  ],
  "IsSuccess": true,
  "Message": "sample string 2",
  "guid": "sample string 3",
  "PNR": "sample string 4"
}

application/xml, text/xml

Sample:
<VendorPolicyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.HealthAdvisory">
  <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>
  <ListOfPolicies>
    <VendorPolicy>
      <Id>1</Id>
      <Policies>sample string 5</Policies>
      <Safety>sample string 4</Safety>
      <VendorCode>sample string 3</VendorCode>
      <VendorName>sample string 2</VendorName>
      <VendorType>HOTEL</VendorType>
    </VendorPolicy>
    <VendorPolicy>
      <Id>1</Id>
      <Policies>sample string 5</Policies>
      <Safety>sample string 4</Safety>
      <VendorCode>sample string 3</VendorCode>
      <VendorName>sample string 2</VendorName>
      <VendorType>HOTEL</VendorType>
    </VendorPolicy>
  </ListOfPolicies>
</VendorPolicyResponse>