POST api/MauritiusEnquiry?flag={flag}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flag

string

Required

Body Parameters

InquiryForm
NameDescriptionTypeAdditional information
InquiryType

string

None.

Name

string

Required

Matching regular expression pattern: [a-zA-Z\s]{3,20}

Email

string

Required

Data type: EmailAddress

Matching regular expression pattern: ^([\w\.\-]+)@([\w\-]+)((\.(\w){2,10})+)$

Number

string

Required

Data type: PhoneNumber

Matching regular expression pattern: ^(?:(?:\+|0{0,2})91(\s*[\-]\s*)?|[0]?)?[6789]\d{9}$

Max length: 10

NumberOtherCountry

string

Required

Data type: PhoneNumber

Max length: 10

Countrycode

string

Required

Data type: PhoneNumber

Matching regular expression pattern: [0-9]{2,2}

Max length: 3

Message

string

Matching regular expression pattern: [ -~]+

IP

string

None.

Device

string

None.

Browser

string

None.

Country

string

None.

SubInquiry

string

None.

CaptchaType

string

None.

BookingID

string

None.

City

string

Required

intrestin

Collection of string

None.

concatintrestin

string

None.

TravelDate

string

None.

OrganisationName

string

Required

Matching regular expression pattern: [a-zA-Z\s]{3,20}

DestlookingFor

string

Required

Matching regular expression pattern: [a-zA-Z\s]{3,20}

DeptArvlDates

string

Required

GroupSize

integer

Required

Matching regular expression pattern: [0-9]{0,5}

Rating

string

None.

Page

string

None.

VisaCountry

string

Required

Matching regular expression pattern: [a-zA-Z\s]{3,30}

st

string

None.

CorporateLandLine

string

Max length: 11

CruiseRoute

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InquiryType": "sample string 1",
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Number": "sample string 4",
  "NumberOtherCountry": "sample string 5",
  "Countrycode": "sample string 6",
  "Message": "sample string 7",
  "IP": "sample string 8",
  "Device": "sample string 9",
  "Browser": "sample string 10",
  "Country": "sample string 11",
  "SubInquiry": "sample string 12",
  "CaptchaType": "sample string 13",
  "BookingID": "sample string 14",
  "City": "sample string 15",
  "intrestin": [
    "sample string 1",
    "sample string 2"
  ],
  "concatintrestin": "sample string 16",
  "TravelDate": "sample string 17",
  "OrganisationName": "sample string 18",
  "DestlookingFor": "sample string 19",
  "DeptArvlDates": "sample string 20",
  "GroupSize": 21,
  "Rating": "sample string 22",
  "Page": "sample string 23",
  "VisaCountry": "sample string 24",
  "st": "sample string 25",
  "CorporateLandLine": "sample string 26",
  "CruiseRoute": "sample string 27"
}

application/xml, text/xml

Sample:
<InquiryForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business_objects">
  <BookingID>sample string 14</BookingID>
  <Browser>sample string 10</Browser>
  <CaptchaType>sample string 13</CaptchaType>
  <City>sample string 15</City>
  <CorporateLandLine>sample string 26</CorporateLandLine>
  <Country>sample string 11</Country>
  <Countrycode>sample string 6</Countrycode>
  <CruiseRoute>sample string 27</CruiseRoute>
  <DeptArvlDates>sample string 20</DeptArvlDates>
  <DestlookingFor>sample string 19</DestlookingFor>
  <Device>sample string 9</Device>
  <Email>sample string 3</Email>
  <GroupSize>21</GroupSize>
  <IP>sample string 8</IP>
  <InquiryType>sample string 1</InquiryType>
  <Message>sample string 7</Message>
  <Name>sample string 2</Name>
  <Number>sample string 4</Number>
  <NumberOtherCountry>sample string 5</NumberOtherCountry>
  <OrganisationName>sample string 18</OrganisationName>
  <Page>sample string 23</Page>
  <Rating>sample string 22</Rating>
  <SubInquiry>sample string 12</SubInquiry>
  <TravelDate>sample string 17</TravelDate>
  <VisaCountry>sample string 24</VisaCountry>
  <concatintrestin>sample string 16</concatintrestin>
  <intrestin xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </intrestin>
  <st>sample string 25</st>
</InquiryForm>

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.