POST api/DeliveryOrder/PostCOCDOGenerateTO

Request Information

URI Parameters

None.

Body Parameters

CocDOSaveTransport
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_VOY_ID

integer

None.

DOR_NOTES

string

None.

DOR_STATUS

string

None.

DOR_PROGRAM_ID

string

None.

DOR_CREATED_BY

integer

None.

DOR_CONT_DETAILS_2

Collection of DORCONTDETAILS

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_VOY_ID": 1,
  "DOR_NOTES": "sample string 2",
  "DOR_STATUS": "sample string 3",
  "DOR_PROGRAM_ID": "sample string 4",
  "DOR_CREATED_BY": 1,
  "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"
    }
  ]
}

application/xml, text/xml

Sample:
<CocDOSaveTransport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <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_CP_ID>1</DOR_CP_ID>
  <DOR_CREATED_BY>1</DOR_CREATED_BY>
  <DOR_ID>1</DOR_ID>
  <DOR_NOTES>sample string 2</DOR_NOTES>
  <DOR_NUMBER>sample string 1</DOR_NUMBER>
  <DOR_PROGRAM_ID>sample string 4</DOR_PROGRAM_ID>
  <DOR_STATUS>sample string 3</DOR_STATUS>
  <DOR_VOY_ID>1</DOR_VOY_ID>
</CocDOSaveTransport>

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.