POST api/DeliveryOrder/PostCocDeliveryorder

Request Information

URI Parameters

None.

Body Parameters

CocDeliveryOrderInputs
NameDescriptionTypeAdditional information
DOR_ID

integer

None.

DOR_CP_ID

integer

None.

DOR_BKG_ID

integer

None.

DOR_NUMBER

string

None.

DOR_AR_ID

integer

None.

DOR_AR_ADD

string

None.

DOR_VOY_ID

integer

None.

DOR_DP_ID

integer

None.

DOR_VALID_FROM

date

None.

DOR_VALID_TILL

date

None.

DOR_NOTES

string

None.

DOR_STATUS

string

None.

DOR_PROGRAM_ID

string

None.

DOR_CREATED_BY

integer

None.

DOR_RESULT_ID

integer

None.

DOR_RESULT_ID_2

string

None.

DOR_OT_VALID_TILL

date

None.

DOR_CONT_DETAILS_2

Collection of DORCONTDETAILS

None.

DOR_CONT_TRANS_DETAILS

Collection of DORTRANDETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "DOR_ID": 1,
  "DOR_CP_ID": 1,
  "DOR_BKG_ID": 1,
  "DOR_NUMBER": "sample string 1",
  "DOR_AR_ID": 1,
  "DOR_AR_ADD": "sample string 2",
  "DOR_VOY_ID": 1,
  "DOR_DP_ID": 1,
  "DOR_VALID_FROM": "2025-12-06T05:22:54.4185983+00:00",
  "DOR_VALID_TILL": "2025-12-06T05:22:54.4185983+00:00",
  "DOR_NOTES": "sample string 3",
  "DOR_STATUS": "sample string 4",
  "DOR_PROGRAM_ID": "sample string 5",
  "DOR_CREATED_BY": 1,
  "DOR_RESULT_ID": 1,
  "DOR_RESULT_ID_2": "sample string 6",
  "DOR_OT_VALID_TILL": "2025-12-06T05:22:54.4185983+00:00",
  "DOR_CONT_DETAILS_2": [
    {
      "DOR_SELECT": true,
      "BKC_ID": 1,
      "BKC_CON_ID": 1,
      "BKC_CON_NUMBER": "sample string 2",
      "BKC_CONT_TYPE": "sample string 3",
      "BKC_COM": "sample string 4",
      "BKC_NOTES": "sample string 5"
    },
    {
      "DOR_SELECT": true,
      "BKC_ID": 1,
      "BKC_CON_ID": 1,
      "BKC_CON_NUMBER": "sample string 2",
      "BKC_CONT_TYPE": "sample string 3",
      "BKC_COM": "sample string 4",
      "BKC_NOTES": "sample string 5"
    }
  ],
  "DOR_CONT_TRANS_DETAILS": [
    {
      "DTD_ID": 1,
      "DTD_DOR_ID": 1,
      "DTD_BKC_ID": 1,
      "DTD_CON_ID": 1,
      "DTD_TO_ID": 1,
      "DTD_TO_NUMBER": "sample string 1",
      "DTD_TRUCK_NUMBER": "sample string 2",
      "DTD_DRIVER_NAME": "sample string 3",
      "DTD_DROP_OFF_ADD": "sample string 4"
    },
    {
      "DTD_ID": 1,
      "DTD_DOR_ID": 1,
      "DTD_BKC_ID": 1,
      "DTD_CON_ID": 1,
      "DTD_TO_ID": 1,
      "DTD_TO_NUMBER": "sample string 1",
      "DTD_TRUCK_NUMBER": "sample string 2",
      "DTD_DRIVER_NAME": "sample string 3",
      "DTD_DROP_OFF_ADD": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<CocDeliveryOrderInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <DOR_AR_ADD>sample string 2</DOR_AR_ADD>
  <DOR_AR_ID>1</DOR_AR_ID>
  <DOR_BKG_ID>1</DOR_BKG_ID>
  <DOR_CONT_DETAILS_2>
    <DORCONTDETAILS>
      <BKC_COM>sample string 4</BKC_COM>
      <BKC_CONT_TYPE>sample string 3</BKC_CONT_TYPE>
      <BKC_CON_ID>1</BKC_CON_ID>
      <BKC_CON_NUMBER>sample string 2</BKC_CON_NUMBER>
      <BKC_ID>1</BKC_ID>
      <BKC_NOTES>sample string 5</BKC_NOTES>
      <DOR_SELECT>true</DOR_SELECT>
    </DORCONTDETAILS>
    <DORCONTDETAILS>
      <BKC_COM>sample string 4</BKC_COM>
      <BKC_CONT_TYPE>sample string 3</BKC_CONT_TYPE>
      <BKC_CON_ID>1</BKC_CON_ID>
      <BKC_CON_NUMBER>sample string 2</BKC_CON_NUMBER>
      <BKC_ID>1</BKC_ID>
      <BKC_NOTES>sample string 5</BKC_NOTES>
      <DOR_SELECT>true</DOR_SELECT>
    </DORCONTDETAILS>
  </DOR_CONT_DETAILS_2>
  <DOR_CONT_TRANS_DETAILS>
    <DORTRANDETAILS>
      <DTD_BKC_ID>1</DTD_BKC_ID>
      <DTD_CON_ID>1</DTD_CON_ID>
      <DTD_DOR_ID>1</DTD_DOR_ID>
      <DTD_DRIVER_NAME>sample string 3</DTD_DRIVER_NAME>
      <DTD_DROP_OFF_ADD>sample string 4</DTD_DROP_OFF_ADD>
      <DTD_ID>1</DTD_ID>
      <DTD_TO_ID>1</DTD_TO_ID>
      <DTD_TO_NUMBER>sample string 1</DTD_TO_NUMBER>
      <DTD_TRUCK_NUMBER>sample string 2</DTD_TRUCK_NUMBER>
    </DORTRANDETAILS>
    <DORTRANDETAILS>
      <DTD_BKC_ID>1</DTD_BKC_ID>
      <DTD_CON_ID>1</DTD_CON_ID>
      <DTD_DOR_ID>1</DTD_DOR_ID>
      <DTD_DRIVER_NAME>sample string 3</DTD_DRIVER_NAME>
      <DTD_DROP_OFF_ADD>sample string 4</DTD_DROP_OFF_ADD>
      <DTD_ID>1</DTD_ID>
      <DTD_TO_ID>1</DTD_TO_ID>
      <DTD_TO_NUMBER>sample string 1</DTD_TO_NUMBER>
      <DTD_TRUCK_NUMBER>sample string 2</DTD_TRUCK_NUMBER>
    </DORTRANDETAILS>
  </DOR_CONT_TRANS_DETAILS>
  <DOR_CP_ID>1</DOR_CP_ID>
  <DOR_CREATED_BY>1</DOR_CREATED_BY>
  <DOR_DP_ID>1</DOR_DP_ID>
  <DOR_ID>1</DOR_ID>
  <DOR_NOTES>sample string 3</DOR_NOTES>
  <DOR_NUMBER>sample string 1</DOR_NUMBER>
  <DOR_OT_VALID_TILL>2025-12-06T05:22:54.4185983+00:00</DOR_OT_VALID_TILL>
  <DOR_PROGRAM_ID>sample string 5</DOR_PROGRAM_ID>
  <DOR_RESULT_ID>1</DOR_RESULT_ID>
  <DOR_RESULT_ID_2>sample string 6</DOR_RESULT_ID_2>
  <DOR_STATUS>sample string 4</DOR_STATUS>
  <DOR_VALID_FROM>2025-12-06T05:22:54.4185983+00:00</DOR_VALID_FROM>
  <DOR_VALID_TILL>2025-12-06T05:22:54.4185983+00:00</DOR_VALID_TILL>
  <DOR_VOY_ID>1</DOR_VOY_ID>
</CocDeliveryOrderInputs>

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.