POST api/Shipments

Request Information

URI Parameters

None.

Body Parameters

SupplierShipmentModel
NameDescriptionTypeAdditional information
ApiType

string

None.

PurchaseNo

string

None.

SupplierNo

string

None.

SupplierName

string

None.

StoreNo

string

None.

StoreName

string

None.

Items

Collection of SupplierShipmentItem

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiType": "sample string 1",
  "PurchaseNo": "sample string 2",
  "SupplierNo": "sample string 3",
  "SupplierName": "sample string 4",
  "StoreNo": "sample string 5",
  "StoreName": "sample string 6",
  "Items": [
    {
      "SKU": "sample string 1",
      "ItemNo": "sample string 2",
      "ShipmentNo": "sample string 3",
      "InvoiceNo": "sample string 4",
      "Quantity": 5,
      "Description": "sample string 6"
    },
    {
      "SKU": "sample string 1",
      "ItemNo": "sample string 2",
      "ShipmentNo": "sample string 3",
      "InvoiceNo": "sample string 4",
      "Quantity": 5,
      "Description": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<SupplierShipmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.AquaFeb.WebAPI.Models">
  <ApiType>sample string 1</ApiType>
  <Items>
    <SupplierShipmentItem>
      <Description>sample string 6</Description>
      <InvoiceNo>sample string 4</InvoiceNo>
      <ItemNo>sample string 2</ItemNo>
      <Quantity>5</Quantity>
      <SKU>sample string 1</SKU>
      <ShipmentNo>sample string 3</ShipmentNo>
    </SupplierShipmentItem>
    <SupplierShipmentItem>
      <Description>sample string 6</Description>
      <InvoiceNo>sample string 4</InvoiceNo>
      <ItemNo>sample string 2</ItemNo>
      <Quantity>5</Quantity>
      <SKU>sample string 1</SKU>
      <ShipmentNo>sample string 3</ShipmentNo>
    </SupplierShipmentItem>
  </Items>
  <PurchaseNo>sample string 2</PurchaseNo>
  <StoreName>sample string 6</StoreName>
  <StoreNo>sample string 5</StoreNo>
  <SupplierName>sample string 4</SupplierName>
  <SupplierNo>sample string 3</SupplierNo>
</SupplierShipmentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.