POST api/Quickbooking/CreateBooking

Request Information

URI Parameters

None.

Body Parameters

QuickBooking
NameDescriptionTypeAdditional information
BKG_CP_ID

integer

None.

BKG_POO_ID

integer

None.

BKG_POL_ID

integer

None.

BKG_POD_ID

integer

None.

BKG_POF_ID

integer

None.

BKG_AR_ID

integer

None.

BKG_SERVICE_TYPE

string

None.

BKG_PRE_HAU_TYPE

string

None.

BKG_ONC_HAU_TYPE

string

None.

BKG_NOTES

string

None.

BKG_SALES_BY

integer

None.

BKG_COMMODITY

integer

None.

BKG_QB_CONTAINERS

Collection of BKG_QB_CONT_DETAILS

None.

BKG_CREATED_BY

integer

None.

BKG_MODE

string

None.

STATUS

string

None.

RESULT

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BKG_CP_ID": 1,
  "BKG_POO_ID": 1,
  "BKG_POL_ID": 1,
  "BKG_POD_ID": 1,
  "BKG_POF_ID": 1,
  "BKG_AR_ID": 1,
  "BKG_SERVICE_TYPE": "sample string 1",
  "BKG_PRE_HAU_TYPE": "sample string 2",
  "BKG_ONC_HAU_TYPE": "sample string 3",
  "BKG_NOTES": "sample string 4",
  "BKG_SALES_BY": 1,
  "BKG_COMMODITY": 1,
  "BKG_QB_CONTAINERS": [
    {
      "GM_ID": 1,
      "GM_NAME": "sample string 1",
      "QUANTITY": 1
    },
    {
      "GM_ID": 1,
      "GM_NAME": "sample string 1",
      "QUANTITY": 1
    }
  ],
  "BKG_CREATED_BY": 1,
  "BKG_MODE": "sample string 5",
  "STATUS": "sample string 6",
  "RESULT": "sample string 7"
}

application/xml, text/xml

Sample:
<QuickBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <BKG_AR_ID>1</BKG_AR_ID>
  <BKG_COMMODITY>1</BKG_COMMODITY>
  <BKG_CP_ID>1</BKG_CP_ID>
  <BKG_CREATED_BY>1</BKG_CREATED_BY>
  <BKG_MODE>sample string 5</BKG_MODE>
  <BKG_NOTES>sample string 4</BKG_NOTES>
  <BKG_ONC_HAU_TYPE>sample string 3</BKG_ONC_HAU_TYPE>
  <BKG_POD_ID>1</BKG_POD_ID>
  <BKG_POF_ID>1</BKG_POF_ID>
  <BKG_POL_ID>1</BKG_POL_ID>
  <BKG_POO_ID>1</BKG_POO_ID>
  <BKG_PRE_HAU_TYPE>sample string 2</BKG_PRE_HAU_TYPE>
  <BKG_QB_CONTAINERS>
    <BKG_QB_CONT_DETAILS>
      <GM_ID>1</GM_ID>
      <GM_NAME>sample string 1</GM_NAME>
      <QUANTITY>1</QUANTITY>
    </BKG_QB_CONT_DETAILS>
    <BKG_QB_CONT_DETAILS>
      <GM_ID>1</GM_ID>
      <GM_NAME>sample string 1</GM_NAME>
      <QUANTITY>1</QUANTITY>
    </BKG_QB_CONT_DETAILS>
  </BKG_QB_CONTAINERS>
  <BKG_SALES_BY>1</BKG_SALES_BY>
  <BKG_SERVICE_TYPE>sample string 1</BKG_SERVICE_TYPE>
  <RESULT>sample string 7</RESULT>
  <STATUS>sample string 6</STATUS>
</QuickBooking>

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.