POST api/MailCRMPackage/HolidayInquiry

Request Information

URI Parameters

None.

Body Parameters

HolidayInquiryClass
NameDescriptionTypeAdditional information
CityDetail

Collection of CityDetailClass

None.

AgentID

integer

None.

AgencyCode

string

None.

AgentName

string

None.

AgentPhoneNo

string

None.

AgentEmailID

string

None.

TotalNoOfNights

integer

None.

Adult

integer

None.

Child

integer

None.

ChildAge

string

None.

HotelCategory

string

None.

HotelRoomType

string

None.

Inclusion

string

None.

Remarks

string

None.

WebsiteName

string

None.

FileName

string

None.

TravelDateFrom

string

None.

TravelDateTo

string

None.

TripType

string

None.

NationalityID

integer

None.

ServicesNames

string

None.

ServicesID

string

None.

FromCity

string

None.

DestinationNames

string

None.

CreatedByEmployeeCode

string

None.

SalesStaffEmployeeCode

string

None.

QueryType

string

None.

ClientFirstName

string

None.

ClientLastName

string

None.

ClientEmail

string

None.

ClientMobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CityDetail": [
    {
      "HolidayInquieryIDF": 1,
      "FromCity": "sample string 2",
      "Destination": "sample string 3",
      "TravelDate": "2024-11-21T15:46:10.6308302+05:30",
      "TravelDate2": "2024-11-21T15:46:10.6308302+05:30",
      "NoOfNights": 6,
      "DestinationCountry": "sample string 7"
    },
    {
      "HolidayInquieryIDF": 1,
      "FromCity": "sample string 2",
      "Destination": "sample string 3",
      "TravelDate": "2024-11-21T15:46:10.6308302+05:30",
      "TravelDate2": "2024-11-21T15:46:10.6308302+05:30",
      "NoOfNights": 6,
      "DestinationCountry": "sample string 7"
    }
  ],
  "AgentID": 1,
  "AgencyCode": "sample string 2",
  "AgentName": "sample string 3",
  "AgentPhoneNo": "sample string 4",
  "AgentEmailID": "sample string 5",
  "TotalNoOfNights": 6,
  "Adult": 7,
  "Child": 8,
  "ChildAge": "sample string 9",
  "HotelCategory": "sample string 10",
  "HotelRoomType": "sample string 11",
  "Inclusion": "sample string 12",
  "Remarks": "sample string 13",
  "WebsiteName": "sample string 14",
  "FileName": "sample string 15",
  "TravelDateFrom": "sample string 16",
  "TravelDateTo": "sample string 17",
  "TripType": "sample string 18",
  "NationalityID": 19,
  "ServicesNames": "sample string 20",
  "ServicesID": "sample string 21",
  "FromCity": "sample string 22",
  "DestinationNames": "sample string 23",
  "CreatedByEmployeeCode": "sample string 24",
  "SalesStaffEmployeeCode": "sample string 25",
  "QueryType": "sample string 26",
  "ClientFirstName": "sample string 27",
  "ClientLastName": "sample string 28",
  "ClientEmail": "sample string 29",
  "ClientMobile": "sample string 30"
}

application/xml, text/xml

Sample:
<HolidayInquiryClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSEntity">
  <Adult>7</Adult>
  <AgencyCode>sample string 2</AgencyCode>
  <AgentEmailID>sample string 5</AgentEmailID>
  <AgentID>1</AgentID>
  <AgentName>sample string 3</AgentName>
  <AgentPhoneNo>sample string 4</AgentPhoneNo>
  <Child>8</Child>
  <ChildAge>sample string 9</ChildAge>
  <CityDetail>
    <CityDetailClass>
      <Destination>sample string 3</Destination>
      <DestinationCountry>sample string 7</DestinationCountry>
      <FromCity>sample string 2</FromCity>
      <HolidayInquieryIDF>1</HolidayInquieryIDF>
      <NoOfNights>6</NoOfNights>
      <TravelDate>2024-11-21T15:46:10.6308302+05:30</TravelDate>
      <TravelDate2>2024-11-21T15:46:10.6308302+05:30</TravelDate2>
    </CityDetailClass>
    <CityDetailClass>
      <Destination>sample string 3</Destination>
      <DestinationCountry>sample string 7</DestinationCountry>
      <FromCity>sample string 2</FromCity>
      <HolidayInquieryIDF>1</HolidayInquieryIDF>
      <NoOfNights>6</NoOfNights>
      <TravelDate>2024-11-21T15:46:10.6308302+05:30</TravelDate>
      <TravelDate2>2024-11-21T15:46:10.6308302+05:30</TravelDate2>
    </CityDetailClass>
  </CityDetail>
  <ClientEmail>sample string 29</ClientEmail>
  <ClientFirstName>sample string 27</ClientFirstName>
  <ClientLastName>sample string 28</ClientLastName>
  <ClientMobile>sample string 30</ClientMobile>
  <CreatedByEmployeeCode>sample string 24</CreatedByEmployeeCode>
  <DestinationNames>sample string 23</DestinationNames>
  <FileName>sample string 15</FileName>
  <FromCity>sample string 22</FromCity>
  <HotelCategory>sample string 10</HotelCategory>
  <HotelRoomType>sample string 11</HotelRoomType>
  <Inclusion>sample string 12</Inclusion>
  <NationalityID>19</NationalityID>
  <QueryType>sample string 26</QueryType>
  <Remarks>sample string 13</Remarks>
  <SalesStaffEmployeeCode>sample string 25</SalesStaffEmployeeCode>
  <ServicesID>sample string 21</ServicesID>
  <ServicesNames>sample string 20</ServicesNames>
  <TotalNoOfNights>6</TotalNoOfNights>
  <TravelDateFrom>sample string 16</TravelDateFrom>
  <TravelDateTo>sample string 17</TravelDateTo>
  <TripType>sample string 18</TripType>
  <WebsiteName>sample string 14</WebsiteName>
</HolidayInquiryClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.