POST v1/enquiry/bookinglink
Request Information
URI Parameters
None.
Body Parameters
BookingLinkRequestName | Description | Type | Additional information |
---|---|---|---|
accountName | string |
None. |
|
source | string |
None. |
|
details | EnquiryDetails |
None. |
|
agentPropertyRef | string |
None. |
|
portalPropertyID | string |
None. |
|
propertyType | string |
None. |
|
streetNo | string |
None. |
|
street | string |
None. |
|
suburb | string |
None. |
|
postCode | string |
None. |
|
country | string |
None. |
|
ApiUserID | string |
None. |
|
ApiKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "accountName": "sample string 1", "source": "sample string 2", "details": { "firstName": "sample string 1", "lastName": "sample string 2", "fullName": "sample string 3", "email": "sample string 4", "mobile": "sample string 5", "comments": "sample string 6" }, "agentPropertyRef": "sample string 3", "portalPropertyID": "sample string 4", "propertyType": "sample string 5", "streetNo": "sample string 6", "street": "sample string 7", "suburb": "sample string 8", "postCode": "sample string 9", "country": "sample string 10", "ApiUserID": "sample string 11", "ApiKey": "sample string 12" }
application/xml, text/xml
Sample:
<BookingLinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models"> <ApiKey xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.ApiUser">sample string 12</ApiKey> <ApiUserID xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.ApiUser">sample string 11</ApiUserID> <accountName>sample string 1</accountName> <agentPropertyRef>sample string 3</agentPropertyRef> <country>sample string 10</country> <details> <comments>sample string 6</comments> <email>sample string 4</email> <firstName>sample string 1</firstName> <fullName>sample string 3</fullName> <lastName>sample string 2</lastName> <mobile>sample string 5</mobile> </details> <portalPropertyID>sample string 4</portalPropertyID> <postCode>sample string 9</postCode> <propertyType>sample string 5</propertyType> <source>sample string 2</source> <street>sample string 7</street> <streetNo>sample string 6</streetNo> <suburb>sample string 8</suburb> </BookingLinkRequest>
multipart/form-data
Sample:
<BookingLinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models"><ApiKey xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.ApiUser">sample string 12</ApiKey><ApiUserID xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.ApiUser">sample string 11</ApiUserID><accountName>sample string 1</accountName><agentPropertyRef>sample string 3</agentPropertyRef><country>sample string 10</country><details><comments>sample string 6</comments><email>sample string 4</email><firstName>sample string 1</firstName><fullName>sample string 3</fullName><lastName>sample string 2</lastName><mobile>sample string 5</mobile></details><portalPropertyID>sample string 4</portalPropertyID><postCode>sample string 9</postCode><propertyType>sample string 5</propertyType><source>sample string 2</source><street>sample string 7</street><streetNo>sample string 6</streetNo><suburb>sample string 8</suburb></BookingLinkRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |