POST api/DMS/SendPackegingDetail

Request Information

URI Parameters

None.

Body Parameters

SendPackegingDetail
NameDescriptionTypeAdditional information
businessId

integer

None.

loginUserId

integer

None.

shipmentId

string

None.

packagingData

Collection of SendPackegingData

None.

Request Formats

application/json, text/json

Sample:
{
  "businessId": 1,
  "loginUserId": 2,
  "shipmentId": "sample string 3",
  "packagingData": [
    {
      "skuCode": "sample string 1",
      "quantityReceived": 2,
      "quantitySent": 3,
      "damagedGoods": 4,
      "missingGoods": 5
    },
    {
      "skuCode": "sample string 1",
      "quantityReceived": 2,
      "quantitySent": 3,
      "damagedGoods": 4,
      "missingGoods": 5
    }
  ]
}

application/xml, text/xml

Sample:
<SendPackegingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <businessId>1</businessId>
  <loginUserId>2</loginUserId>
  <packagingData>
    <SendPackegingData>
      <damagedGoods>4</damagedGoods>
      <missingGoods>5</missingGoods>
      <quantityReceived>2</quantityReceived>
      <quantitySent>3</quantitySent>
      <skuCode>sample string 1</skuCode>
    </SendPackegingData>
    <SendPackegingData>
      <damagedGoods>4</damagedGoods>
      <missingGoods>5</missingGoods>
      <quantityReceived>2</quantityReceived>
      <quantitySent>3</quantitySent>
      <skuCode>sample string 1</skuCode>
    </SendPackegingData>
  </packagingData>
  <shipmentId>sample string 3</shipmentId>
</SendPackegingDetail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendPackegingDetail'.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2024/09/19 18:27:46",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>