POST api/Accommodation?searchstring={searchstring}&orderstring={orderstring}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
searchstring | string |
Required |
|
orderstring | string |
Required |
Body Parameters
CustrackSIDName | Description | Type | Additional information |
---|---|---|---|
API_Version | string |
None. |
|
Employee_No | string |
None. |
|
Emp_Name | string |
None. |
|
Guid | string |
None. |
|
ConnString | string |
None. |
|
Security_Aray | Collection of boolean |
None. |
|
Organisation_Name | string |
None. |
|
Territory_Code | string |
None. |
|
EvoCompany | string |
None. |
|
CKEY | string |
None. |
|
refno | integer |
None. |
|
Services | string |
None. |
|
QBCode | string |
None. |
|
QBRealmID | string |
None. |
|
VatPerc | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "API_Version": "sample string 1", "Employee_No": "sample string 2", "Emp_Name": "sample string 3", "Guid": "sample string 4", "ConnString": "sample string 5", "Security_Aray": [ true, true ], "Organisation_Name": "sample string 6", "Territory_Code": "sample string 7", "EvoCompany": "sample string 8", "CKEY": "sample string 9", "refno": 10, "Services": "sample string 11", "QBCode": "sample string 12", "QBRealmID": "sample string 13", "VatPerc": 14.1 }
application/xml, text/xml
Sample:
<CustrackSID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Custrack_API.Models"> <API_Version>sample string 1</API_Version> <CKEY>sample string 9</CKEY> <ConnString>sample string 5</ConnString> <Emp_Name>sample string 3</Emp_Name> <Employee_No>sample string 2</Employee_No> <EvoCompany>sample string 8</EvoCompany> <Guid>sample string 4</Guid> <Organisation_Name>sample string 6</Organisation_Name> <QBCode>sample string 12</QBCode> <QBRealmID>sample string 13</QBRealmID> <Security_Aray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:boolean>true</d2p1:boolean> <d2p1:boolean>true</d2p1:boolean> </Security_Aray> <Services>sample string 11</Services> <Territory_Code>sample string 7</Territory_Code> <VatPerc>14.1</VatPerc> <refno>10</refno> </CustrackSID>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ClsReturnValuescsName | Description | Type | Additional information |
---|---|---|---|
MyError | string |
None. |
|
TheReturn | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "MyError": "sample string 1", "TheReturn": "sample string 2" }
application/xml, text/xml
Sample:
<ClsReturnValuescs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Custrack_API.Models"> <MyError>sample string 1</MyError> <TheReturn>sample string 2</TheReturn> </ClsReturnValuescs>