POST api/CocBl/PostCocRRBooking
Request Information
URI Parameters
None.
Body Parameters
PostCOCBooking| Name | Description | Type | Additional 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_cp_id | integer |
None. |
|
| bkg_typ_of_materl | string |
None. |
|
| container_details | Collection of CocListContainer |
None. |
|
| party_details | Collection of BKG_PARTY_DETAILS |
None. |
|
| BKG_NOTES_DETAILS | Collection of BKG_NOTES_DETAIL |
None. |
|
| BKG_ATTACHMENT | Collection of BKG_ATTACHMENT |
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_cp_id": 1,
"bkg_typ_of_materl": "sample string 5",
"container_details": [
{
"RRV_ID": 1,
"RRV_CONT_TYPE_ID": 1,
"RRV_CONT_TYPE_CODE": "sample string 1",
"RRV_NO_OF_CONT": 1,
"RRV_COMMODITY_ID": 1,
"RRV_COMMODITY_CODE": "sample string 2",
"RRV_NOTES": "sample string 3",
"RRV_GROSS_WGT": 1.1,
"RRV_GROSS_UOM": 1,
"RRV_GROSS_UOM_CODE": "sample string 4",
"RRV_CBM": 1.1,
"RRV_DG_CLASS": "sample string 5",
"RRV_DG_CLASS_CODE": "sample string 6",
"RRV_FREE_DAYS_REQ": "sample string 7",
"RRV_FREE_DAYS_REQ_CODE": "sample string 8",
"RRV_FREE_DAYS": 1,
"RRV_E_FREE_DAYS_REQ": "sample string 9",
"RRV_E_FREE_DAYS_REQ_CODE": "sample string 10",
"RRV_E_FREE_DAYS": 1,
"RRV_DGC_ID": 1
},
{
"RRV_ID": 1,
"RRV_CONT_TYPE_ID": 1,
"RRV_CONT_TYPE_CODE": "sample string 1",
"RRV_NO_OF_CONT": 1,
"RRV_COMMODITY_ID": 1,
"RRV_COMMODITY_CODE": "sample string 2",
"RRV_NOTES": "sample string 3",
"RRV_GROSS_WGT": 1.1,
"RRV_GROSS_UOM": 1,
"RRV_GROSS_UOM_CODE": "sample string 4",
"RRV_CBM": 1.1,
"RRV_DG_CLASS": "sample string 5",
"RRV_DG_CLASS_CODE": "sample string 6",
"RRV_FREE_DAYS_REQ": "sample string 7",
"RRV_FREE_DAYS_REQ_CODE": "sample string 8",
"RRV_FREE_DAYS": 1,
"RRV_E_FREE_DAYS_REQ": "sample string 9",
"RRV_E_FREE_DAYS_REQ_CODE": "sample string 10",
"RRV_E_FREE_DAYS": 1,
"RRV_DGC_ID": 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": "2025-12-06T04:26:56.6713425+00:00",
"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": "2025-12-06T04:26:56.6713425+00:00",
"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": "2025-12-06T04:26:56.6713425+00:00",
"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": "2025-12-06T04:26:56.6713425+00:00",
"BKA_CP_ID": 1,
"BKA_CP_CODE": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<PostCOCBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<BKG_ATTACHMENT>
<BKG_ATTACHMENT>
<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>2025-12-06T04:26:56.6713425+00:00</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>
</BKG_ATTACHMENT>
<BKG_ATTACHMENT>
<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>2025-12-06T04:26:56.6713425+00:00</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>
</BKG_ATTACHMENT>
</BKG_ATTACHMENT>
<BKG_NOTES_DETAILS>
<BKG_NOTES_DETAIL>
<BKN_CP_CODE>sample string 5</BKN_CP_CODE>
<BKN_CP_ID>1</BKN_CP_ID>
<BKN_CREATED_ON>2025-12-06T04:26:56.6713425+00:00</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>
</BKG_NOTES_DETAIL>
<BKG_NOTES_DETAIL>
<BKN_CP_CODE>sample string 5</BKN_CP_CODE>
<BKN_CP_ID>1</BKN_CP_ID>
<BKN_CREATED_ON>2025-12-06T04:26:56.6713425+00:00</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>
</BKG_NOTES_DETAIL>
</BKG_NOTES_DETAILS>
<bkg_cp_id>1</bkg_cp_id>
<bkg_created_by>1</bkg_created_by>
<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_typ_of_materl>sample string 5</bkg_typ_of_materl>
<bkg_voy_id>1</bkg_voy_id>
<container_details>
<CocListContainer>
<RRV_CBM>1.1</RRV_CBM>
<RRV_COMMODITY_CODE>sample string 2</RRV_COMMODITY_CODE>
<RRV_COMMODITY_ID>1</RRV_COMMODITY_ID>
<RRV_CONT_TYPE_CODE>sample string 1</RRV_CONT_TYPE_CODE>
<RRV_CONT_TYPE_ID>1</RRV_CONT_TYPE_ID>
<RRV_DGC_ID>1</RRV_DGC_ID>
<RRV_DG_CLASS>sample string 5</RRV_DG_CLASS>
<RRV_DG_CLASS_CODE>sample string 6</RRV_DG_CLASS_CODE>
<RRV_E_FREE_DAYS>1</RRV_E_FREE_DAYS>
<RRV_E_FREE_DAYS_REQ>sample string 9</RRV_E_FREE_DAYS_REQ>
<RRV_E_FREE_DAYS_REQ_CODE>sample string 10</RRV_E_FREE_DAYS_REQ_CODE>
<RRV_FREE_DAYS>1</RRV_FREE_DAYS>
<RRV_FREE_DAYS_REQ>sample string 7</RRV_FREE_DAYS_REQ>
<RRV_FREE_DAYS_REQ_CODE>sample string 8</RRV_FREE_DAYS_REQ_CODE>
<RRV_GROSS_UOM>1</RRV_GROSS_UOM>
<RRV_GROSS_UOM_CODE>sample string 4</RRV_GROSS_UOM_CODE>
<RRV_GROSS_WGT>1.1</RRV_GROSS_WGT>
<RRV_ID>1</RRV_ID>
<RRV_NOTES>sample string 3</RRV_NOTES>
<RRV_NO_OF_CONT>1</RRV_NO_OF_CONT>
</CocListContainer>
<CocListContainer>
<RRV_CBM>1.1</RRV_CBM>
<RRV_COMMODITY_CODE>sample string 2</RRV_COMMODITY_CODE>
<RRV_COMMODITY_ID>1</RRV_COMMODITY_ID>
<RRV_CONT_TYPE_CODE>sample string 1</RRV_CONT_TYPE_CODE>
<RRV_CONT_TYPE_ID>1</RRV_CONT_TYPE_ID>
<RRV_DGC_ID>1</RRV_DGC_ID>
<RRV_DG_CLASS>sample string 5</RRV_DG_CLASS>
<RRV_DG_CLASS_CODE>sample string 6</RRV_DG_CLASS_CODE>
<RRV_E_FREE_DAYS>1</RRV_E_FREE_DAYS>
<RRV_E_FREE_DAYS_REQ>sample string 9</RRV_E_FREE_DAYS_REQ>
<RRV_E_FREE_DAYS_REQ_CODE>sample string 10</RRV_E_FREE_DAYS_REQ_CODE>
<RRV_FREE_DAYS>1</RRV_FREE_DAYS>
<RRV_FREE_DAYS_REQ>sample string 7</RRV_FREE_DAYS_REQ>
<RRV_FREE_DAYS_REQ_CODE>sample string 8</RRV_FREE_DAYS_REQ_CODE>
<RRV_GROSS_UOM>1</RRV_GROSS_UOM>
<RRV_GROSS_UOM_CODE>sample string 4</RRV_GROSS_UOM_CODE>
<RRV_GROSS_WGT>1.1</RRV_GROSS_WGT>
<RRV_ID>1</RRV_ID>
<RRV_NOTES>sample string 3</RRV_NOTES>
<RRV_NO_OF_CONT>1</RRV_NO_OF_CONT>
</CocListContainer>
</container_details>
<party_details>
<BKG_PARTY_DETAILS>
<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>
</BKG_PARTY_DETAILS>
<BKG_PARTY_DETAILS>
<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>
</BKG_PARTY_DETAILS>
</party_details>
</PostCOCBooking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |