POST api/Master/PostAgencyMove

Request Information

URI Parameters

None.

Body Parameters

AgencyMoveInputs
NameDescriptionTypeAdditional information
CM_ID

integer

None.

CM_CP_ID

integer

None.

CM_CODE

string

None.

CM_DESC

string

None.

CM_TYPE

string

None.

CM_VESSEL

string

None.

CM_VOYAGE

string

None.

CM_CUR_PORT

string

None.

CM_NXT_PORT

string

None.

CM_CUR_TER

string

None.

CM_NXT_TER

string

None.

CM_CUR_DPT

string

None.

CM_NXT_DPT

string

None.

CM_CUR_LOC

string

None.

CM_NXT_LOC

string

None.

CM_TRANS_MODE

string

None.

CM_TRUCK_NUM

string

None.

CM_BKG_NUM

string

None.

CM_BL_NUM

string

None.

CM_RREQ_NUM

string

None.

CM_REF_NUM

string

None.

CM_AR

string

None.

CM_AP

string

None.

CM_STATUS

string

None.

CM_PROGRAM_ID

string

None.

CM_CREATED_BY

integer

None.

CM_CUS_PO_NUM

string

None.

CM_DO_NUM

string

None.

CM_LR_NUM

string

None.

CM_BE_NUM

string

None.

CM_INV_NUM

string

None.

CM_JOB_NUM

string

None.

CM_PLA_NAME

string

None.

CM_AP_NAME

string

None.

DP_CM_PREV_MOVES

Collection of DP_CM_PREV_MOVES

None.

Request Formats

application/json, text/json

Sample:
{
  "CM_ID": 1,
  "CM_CP_ID": 1,
  "CM_CODE": "sample string 1",
  "CM_DESC": "sample string 2",
  "CM_TYPE": "sample string 3",
  "CM_VESSEL": "sample string 4",
  "CM_VOYAGE": "sample string 5",
  "CM_CUR_PORT": "sample string 6",
  "CM_NXT_PORT": "sample string 7",
  "CM_CUR_TER": "sample string 8",
  "CM_NXT_TER": "sample string 9",
  "CM_CUR_DPT": "sample string 10",
  "CM_NXT_DPT": "sample string 11",
  "CM_CUR_LOC": "sample string 12",
  "CM_NXT_LOC": "sample string 13",
  "CM_TRANS_MODE": "sample string 14",
  "CM_TRUCK_NUM": "sample string 15",
  "CM_BKG_NUM": "sample string 16",
  "CM_BL_NUM": "sample string 17",
  "CM_RREQ_NUM": "sample string 18",
  "CM_REF_NUM": "sample string 19",
  "CM_AR": "sample string 20",
  "CM_AP": "sample string 21",
  "CM_STATUS": "sample string 22",
  "CM_PROGRAM_ID": "sample string 23",
  "CM_CREATED_BY": 1,
  "CM_CUS_PO_NUM": "sample string 24",
  "CM_DO_NUM": "sample string 25",
  "CM_LR_NUM": "sample string 26",
  "CM_BE_NUM": "sample string 27",
  "CM_INV_NUM": "sample string 28",
  "CM_JOB_NUM": "sample string 29",
  "CM_PLA_NAME": "sample string 30",
  "CM_AP_NAME": "sample string 31",
  "DP_CM_PREV_MOVES": [
    {
      "CPM_ID": 1,
      "CPM_PRV_CM_ID": 1,
      "CPM_PRV_CM_CODE": "sample string 1",
      "CPM_REMARKS": "sample string 2"
    },
    {
      "CPM_ID": 1,
      "CPM_PRV_CM_ID": 1,
      "CPM_PRV_CM_CODE": "sample string 1",
      "CPM_REMARKS": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AgencyMoveInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CM_AP>sample string 21</CM_AP>
  <CM_AP_NAME>sample string 31</CM_AP_NAME>
  <CM_AR>sample string 20</CM_AR>
  <CM_BE_NUM>sample string 27</CM_BE_NUM>
  <CM_BKG_NUM>sample string 16</CM_BKG_NUM>
  <CM_BL_NUM>sample string 17</CM_BL_NUM>
  <CM_CODE>sample string 1</CM_CODE>
  <CM_CP_ID>1</CM_CP_ID>
  <CM_CREATED_BY>1</CM_CREATED_BY>
  <CM_CUR_DPT>sample string 10</CM_CUR_DPT>
  <CM_CUR_LOC>sample string 12</CM_CUR_LOC>
  <CM_CUR_PORT>sample string 6</CM_CUR_PORT>
  <CM_CUR_TER>sample string 8</CM_CUR_TER>
  <CM_CUS_PO_NUM>sample string 24</CM_CUS_PO_NUM>
  <CM_DESC>sample string 2</CM_DESC>
  <CM_DO_NUM>sample string 25</CM_DO_NUM>
  <CM_ID>1</CM_ID>
  <CM_INV_NUM>sample string 28</CM_INV_NUM>
  <CM_JOB_NUM>sample string 29</CM_JOB_NUM>
  <CM_LR_NUM>sample string 26</CM_LR_NUM>
  <CM_NXT_DPT>sample string 11</CM_NXT_DPT>
  <CM_NXT_LOC>sample string 13</CM_NXT_LOC>
  <CM_NXT_PORT>sample string 7</CM_NXT_PORT>
  <CM_NXT_TER>sample string 9</CM_NXT_TER>
  <CM_PLA_NAME>sample string 30</CM_PLA_NAME>
  <CM_PROGRAM_ID>sample string 23</CM_PROGRAM_ID>
  <CM_REF_NUM>sample string 19</CM_REF_NUM>
  <CM_RREQ_NUM>sample string 18</CM_RREQ_NUM>
  <CM_STATUS>sample string 22</CM_STATUS>
  <CM_TRANS_MODE>sample string 14</CM_TRANS_MODE>
  <CM_TRUCK_NUM>sample string 15</CM_TRUCK_NUM>
  <CM_TYPE>sample string 3</CM_TYPE>
  <CM_VESSEL>sample string 4</CM_VESSEL>
  <CM_VOYAGE>sample string 5</CM_VOYAGE>
  <DP_CM_PREV_MOVES>
    <DP_CM_PREV_MOVES>
      <CPM_ID>1</CPM_ID>
      <CPM_PRV_CM_CODE>sample string 1</CPM_PRV_CM_CODE>
      <CPM_PRV_CM_ID>1</CPM_PRV_CM_ID>
      <CPM_REMARKS>sample string 2</CPM_REMARKS>
    </DP_CM_PREV_MOVES>
    <DP_CM_PREV_MOVES>
      <CPM_ID>1</CPM_ID>
      <CPM_PRV_CM_CODE>sample string 1</CPM_PRV_CM_CODE>
      <CPM_PRV_CM_ID>1</CPM_PRV_CM_ID>
      <CPM_REMARKS>sample string 2</CPM_REMARKS>
    </DP_CM_PREV_MOVES>
  </DP_CM_PREV_MOVES>
</AgencyMoveInputs>

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.