POST api/masterWaybill

Create Master waybill

Request Information

URI Parameters

None.

Body Parameters

MasterWaybillRequest
Name Type Description Additional information
MasterWaybillNumber string

Info MasterWaybillInfoDto

OverPacks Collection of MasterWaybillOverPackDto

Request Formats

application/json, text/json

Sample:
{
  "MasterWaybillNumber": "sample string 1",
  "Info": {
    "TransportCode": "sample string 1",
    "TransportName": "sample string 2",
    "DepartPortCode": "sample string 3",
    "ArrivePortCode": "sample string 4",
    "Eta": "sample string 5",
    "Etd": "sample string 6"
  },
  "OverPacks": [
    {
      "OverPackNumber": "sample string 1"
    },
    {
      "OverPackNumber": "sample string 1"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/xml, text/xml

Sample:
<MasterWaybillRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gateway.ParcelManifestService.Models">
  <Info>
    <ArrivePortCode>sample string 4</ArrivePortCode>
    <DepartPortCode>sample string 3</DepartPortCode>
    <Eta>sample string 5</Eta>
    <Etd>sample string 6</Etd>
    <TransportCode>sample string 1</TransportCode>
    <TransportName>sample string 2</TransportName>
  </Info>
  <MasterWaybillNumber>sample string 1</MasterWaybillNumber>
  <OverPacks>
    <MasterWaybillOverPackDto>
      <OverPackNumber>sample string 1</OverPackNumber>
    </MasterWaybillOverPackDto>
    <MasterWaybillOverPackDto>
      <OverPackNumber>sample string 1</OverPackNumber>
    </MasterWaybillOverPackDto>
  </OverPacks>
</MasterWaybillRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.