POST api/CHAMasters/PostCPMMaster

Request Information

URI Parameters

None.

Body Parameters

CHACPMMaster
NameDescriptionTypeAdditional information
CPM_ID

integer

None.

CPM_PORT_NAME

string

None.

CPM_AIR_CODE

string

None.

CPM_SEA_CODE

string

None.

CPM_CO_ID

integer

None.

CPM_PORT_TYPE

string

None.

CPM_STATUS

string

None.

CPM_NOTES

string

None.

CPM_CREATED_BY

integer

None.

CPM_STATUS_CODE

string

None.

CPM_CO_ID_CODE

string

None.

CPM_PORT_TYPE_CODE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CPM_ID": 1,
  "CPM_PORT_NAME": "sample string 1",
  "CPM_AIR_CODE": "sample string 2",
  "CPM_SEA_CODE": "sample string 3",
  "CPM_CO_ID": 1,
  "CPM_PORT_TYPE": "sample string 4",
  "CPM_STATUS": "sample string 5",
  "CPM_NOTES": "sample string 6",
  "CPM_CREATED_BY": 1,
  "CPM_STATUS_CODE": "sample string 7",
  "CPM_CO_ID_CODE": "sample string 8",
  "CPM_PORT_TYPE_CODE": "sample string 9"
}

application/xml, text/xml

Sample:
<CHACPMMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CPM_AIR_CODE>sample string 2</CPM_AIR_CODE>
  <CPM_CO_ID>1</CPM_CO_ID>
  <CPM_CO_ID_CODE>sample string 8</CPM_CO_ID_CODE>
  <CPM_CREATED_BY>1</CPM_CREATED_BY>
  <CPM_ID>1</CPM_ID>
  <CPM_NOTES>sample string 6</CPM_NOTES>
  <CPM_PORT_NAME>sample string 1</CPM_PORT_NAME>
  <CPM_PORT_TYPE>sample string 4</CPM_PORT_TYPE>
  <CPM_PORT_TYPE_CODE>sample string 9</CPM_PORT_TYPE_CODE>
  <CPM_SEA_CODE>sample string 3</CPM_SEA_CODE>
  <CPM_STATUS>sample string 5</CPM_STATUS>
  <CPM_STATUS_CODE>sample string 7</CPM_STATUS_CODE>
</CHACPMMaster>

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.