POST api/Booking/PostBooking

Request Information

URI Parameters

None.

Body Parameters

PostBooking
NameDescriptionTypeAdditional information
bkg_rr_id

integer

None.

bkg_online

string

None.

bkg_cus_id

integer

None.

bkg_created_by

integer

None.

bkg_voy_id

integer

None.

bkg_hs_id

integer

None.

bkg_dg_class

string

None.

bkg_notes

string

None.

bkg_promo_code

string

None.

bkg_crg_id

integer

None.

container_details

Collection of ListContainer

None.

party_details

Collection of PartyDetails

None.

BKG_NOTES_DETAILS

Collection of LIST_BKG_NOTES_DETAILS

None.

BKG_ATTACHMENT

Collection of LIST_BKG_ATTACHMENT_DETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "bkg_rr_id": 1,
  "bkg_online": "sample string 1",
  "bkg_cus_id": 1,
  "bkg_created_by": 1,
  "bkg_voy_id": 1,
  "bkg_hs_id": 1,
  "bkg_dg_class": "sample string 2",
  "bkg_notes": "sample string 3",
  "bkg_promo_code": "sample string 4",
  "bkg_crg_id": 1,
  "container_details": [
    {
      "qrv_id": 1,
      "qrv_cont_type_id": 1,
      "qrv_cont_type_code": "sample string 1",
      "qrv_no_of_cont": 1,
      "qrv_no_of_cont_n": 1,
      "qrv_commodity_id": 1,
      "qrv_commodity_code": "sample string 2",
      "qrv_gross_wgt": 1.1,
      "qrv_gross_uom": 1,
      "qrv_cbm": 1.1
    },
    {
      "qrv_id": 1,
      "qrv_cont_type_id": 1,
      "qrv_cont_type_code": "sample string 1",
      "qrv_no_of_cont": 1,
      "qrv_no_of_cont_n": 1,
      "qrv_commodity_id": 1,
      "qrv_commodity_code": "sample string 2",
      "qrv_gross_wgt": 1.1,
      "qrv_gross_uom": 1,
      "qrv_cbm": 1.1
    }
  ],
  "party_details": [
    {
      "bpd_id": 1,
      "bpd_type": "sample string 1",
      "bpd_type_code": "sample string 2",
      "bpd_ar_id": 1,
      "bpd_ar_code": "sample string 3",
      "bpd_ar_add": "sample string 4"
    },
    {
      "bpd_id": 1,
      "bpd_type": "sample string 1",
      "bpd_type_code": "sample string 2",
      "bpd_ar_id": 1,
      "bpd_ar_code": "sample string 3",
      "bpd_ar_add": "sample string 4"
    }
  ],
  "BKG_NOTES_DETAILS": [
    {
      "BKN_ID": 1,
      "BKN_INTD_ID": "sample string 1",
      "BKN_INTD_CODE": "sample string 2",
      "BKN_NOTES": "sample string 3",
      "BKN_USER_ID": 1,
      "BKN_USER_CODE": "sample string 4",
      "BKN_CREATED_ON": "2024-05-19T15:26:05.7002236+05:30",
      "BKN_CP_ID": 1,
      "BKN_CP_CODE": "sample string 5"
    },
    {
      "BKN_ID": 1,
      "BKN_INTD_ID": "sample string 1",
      "BKN_INTD_CODE": "sample string 2",
      "BKN_NOTES": "sample string 3",
      "BKN_USER_ID": 1,
      "BKN_USER_CODE": "sample string 4",
      "BKN_CREATED_ON": "2024-05-19T15:26:05.7002236+05:30",
      "BKN_CP_ID": 1,
      "BKN_CP_CODE": "sample string 5"
    }
  ],
  "BKG_ATTACHMENT": [
    {
      "BKA_ID": 1,
      "BKA_ATH_NAME": "sample string 1",
      "BKA_FILE_NAME": "sample string 2",
      "BKA_DETAILS": "sample string 3",
      "BKA_USER_ID": 1,
      "BKA_USER_CODE": "sample string 4",
      "BKA_CREATED_ON": "2024-05-19T15:26:05.7002236+05:30",
      "BKA_CP_ID": 1,
      "BKA_CP_CODE": "sample string 5"
    },
    {
      "BKA_ID": 1,
      "BKA_ATH_NAME": "sample string 1",
      "BKA_FILE_NAME": "sample string 2",
      "BKA_DETAILS": "sample string 3",
      "BKA_USER_ID": 1,
      "BKA_USER_CODE": "sample string 4",
      "BKA_CREATED_ON": "2024-05-19T15:26:05.7002236+05:30",
      "BKA_CP_ID": 1,
      "BKA_CP_CODE": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<PostBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <BKG_ATTACHMENT>
    <LIST_BKG_ATTACHMENT_DETAILS>
      <BKA_ATH_NAME>sample string 1</BKA_ATH_NAME>
      <BKA_CP_CODE>sample string 5</BKA_CP_CODE>
      <BKA_CP_ID>1</BKA_CP_ID>
      <BKA_CREATED_ON>2024-05-19T15:26:05.7002236+05:30</BKA_CREATED_ON>
      <BKA_DETAILS>sample string 3</BKA_DETAILS>
      <BKA_FILE_NAME>sample string 2</BKA_FILE_NAME>
      <BKA_ID>1</BKA_ID>
      <BKA_USER_CODE>sample string 4</BKA_USER_CODE>
      <BKA_USER_ID>1</BKA_USER_ID>
    </LIST_BKG_ATTACHMENT_DETAILS>
    <LIST_BKG_ATTACHMENT_DETAILS>
      <BKA_ATH_NAME>sample string 1</BKA_ATH_NAME>
      <BKA_CP_CODE>sample string 5</BKA_CP_CODE>
      <BKA_CP_ID>1</BKA_CP_ID>
      <BKA_CREATED_ON>2024-05-19T15:26:05.7002236+05:30</BKA_CREATED_ON>
      <BKA_DETAILS>sample string 3</BKA_DETAILS>
      <BKA_FILE_NAME>sample string 2</BKA_FILE_NAME>
      <BKA_ID>1</BKA_ID>
      <BKA_USER_CODE>sample string 4</BKA_USER_CODE>
      <BKA_USER_ID>1</BKA_USER_ID>
    </LIST_BKG_ATTACHMENT_DETAILS>
  </BKG_ATTACHMENT>
  <BKG_NOTES_DETAILS>
    <LIST_BKG_NOTES_DETAILS>
      <BKN_CP_CODE>sample string 5</BKN_CP_CODE>
      <BKN_CP_ID>1</BKN_CP_ID>
      <BKN_CREATED_ON>2024-05-19T15:26:05.7002236+05:30</BKN_CREATED_ON>
      <BKN_ID>1</BKN_ID>
      <BKN_INTD_CODE>sample string 2</BKN_INTD_CODE>
      <BKN_INTD_ID>sample string 1</BKN_INTD_ID>
      <BKN_NOTES>sample string 3</BKN_NOTES>
      <BKN_USER_CODE>sample string 4</BKN_USER_CODE>
      <BKN_USER_ID>1</BKN_USER_ID>
    </LIST_BKG_NOTES_DETAILS>
    <LIST_BKG_NOTES_DETAILS>
      <BKN_CP_CODE>sample string 5</BKN_CP_CODE>
      <BKN_CP_ID>1</BKN_CP_ID>
      <BKN_CREATED_ON>2024-05-19T15:26:05.7002236+05:30</BKN_CREATED_ON>
      <BKN_ID>1</BKN_ID>
      <BKN_INTD_CODE>sample string 2</BKN_INTD_CODE>
      <BKN_INTD_ID>sample string 1</BKN_INTD_ID>
      <BKN_NOTES>sample string 3</BKN_NOTES>
      <BKN_USER_CODE>sample string 4</BKN_USER_CODE>
      <BKN_USER_ID>1</BKN_USER_ID>
    </LIST_BKG_NOTES_DETAILS>
  </BKG_NOTES_DETAILS>
  <bkg_created_by>1</bkg_created_by>
  <bkg_crg_id>1</bkg_crg_id>
  <bkg_cus_id>1</bkg_cus_id>
  <bkg_dg_class>sample string 2</bkg_dg_class>
  <bkg_hs_id>1</bkg_hs_id>
  <bkg_notes>sample string 3</bkg_notes>
  <bkg_online>sample string 1</bkg_online>
  <bkg_promo_code>sample string 4</bkg_promo_code>
  <bkg_rr_id>1</bkg_rr_id>
  <bkg_voy_id>1</bkg_voy_id>
  <container_details>
    <ListContainer>
      <qrv_cbm>1.1</qrv_cbm>
      <qrv_commodity_code>sample string 2</qrv_commodity_code>
      <qrv_commodity_id>1</qrv_commodity_id>
      <qrv_cont_type_code>sample string 1</qrv_cont_type_code>
      <qrv_cont_type_id>1</qrv_cont_type_id>
      <qrv_gross_uom>1</qrv_gross_uom>
      <qrv_gross_wgt>1.1</qrv_gross_wgt>
      <qrv_id>1</qrv_id>
      <qrv_no_of_cont>1</qrv_no_of_cont>
      <qrv_no_of_cont_n>1</qrv_no_of_cont_n>
    </ListContainer>
    <ListContainer>
      <qrv_cbm>1.1</qrv_cbm>
      <qrv_commodity_code>sample string 2</qrv_commodity_code>
      <qrv_commodity_id>1</qrv_commodity_id>
      <qrv_cont_type_code>sample string 1</qrv_cont_type_code>
      <qrv_cont_type_id>1</qrv_cont_type_id>
      <qrv_gross_uom>1</qrv_gross_uom>
      <qrv_gross_wgt>1.1</qrv_gross_wgt>
      <qrv_id>1</qrv_id>
      <qrv_no_of_cont>1</qrv_no_of_cont>
      <qrv_no_of_cont_n>1</qrv_no_of_cont_n>
    </ListContainer>
  </container_details>
  <party_details>
    <PartyDetails>
      <bpd_ar_add>sample string 4</bpd_ar_add>
      <bpd_ar_code>sample string 3</bpd_ar_code>
      <bpd_ar_id>1</bpd_ar_id>
      <bpd_id>1</bpd_id>
      <bpd_type>sample string 1</bpd_type>
      <bpd_type_code>sample string 2</bpd_type_code>
    </PartyDetails>
    <PartyDetails>
      <bpd_ar_add>sample string 4</bpd_ar_add>
      <bpd_ar_code>sample string 3</bpd_ar_code>
      <bpd_ar_id>1</bpd_ar_id>
      <bpd_id>1</bpd_id>
      <bpd_type>sample string 1</bpd_type>
      <bpd_type_code>sample string 2</bpd_type_code>
    </PartyDetails>
  </party_details>
</PostBooking>

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.