POST api/INVTRAN/PostInvTran

Request Information

URI Parameters

None.

Body Parameters

InvTraModel
NameDescriptionTypeAdditional information
DocDate

string

None.

DocDueDate

string

None.

fromwhscode

string

None.

towhscode

string

None.

customercode

string

None.

UserName

string

None.

UDate

string

None.

Items

Collection of InvTItem

None.

Request Formats

application/json, text/json

Sample:
{
  "DocDate": "sample string 1",
  "DocDueDate": "sample string 2",
  "fromwhscode": "sample string 3",
  "towhscode": "sample string 4",
  "customercode": "sample string 5",
  "UserName": "sample string 6",
  "UDate": "sample string 7",
  "Items": [
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1,
      "fromwhscode_rowlevel": "sample string 3",
      "towhscode_rowlevel": "sample string 4",
      "BinAllocations": [
        {
          "BinCode": "sample string 1",
          "Quantity": 2.1
        },
        {
          "BinCode": "sample string 1",
          "Quantity": 2.1
        }
      ]
    },
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1,
      "fromwhscode_rowlevel": "sample string 3",
      "towhscode_rowlevel": "sample string 4",
      "BinAllocations": [
        {
          "BinCode": "sample string 1",
          "Quantity": 2.1
        },
        {
          "BinCode": "sample string 1",
          "Quantity": 2.1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<InventoryTranController.InvTraModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTS_API.Controllers">
  <DocDate>sample string 1</DocDate>
  <DocDueDate>sample string 2</DocDueDate>
  <Items>
    <InventoryTranController.InvTItem>
      <BinAllocations>
        <InventoryTranController.BinAllocationModel>
          <BinCode>sample string 1</BinCode>
          <Quantity>2.1</Quantity>
        </InventoryTranController.BinAllocationModel>
        <InventoryTranController.BinAllocationModel>
          <BinCode>sample string 1</BinCode>
          <Quantity>2.1</Quantity>
        </InventoryTranController.BinAllocationModel>
      </BinAllocations>
      <ItemCode>sample string 1</ItemCode>
      <Quantity>2.1</Quantity>
      <fromwhscode_rowlevel>sample string 3</fromwhscode_rowlevel>
      <towhscode_rowlevel>sample string 4</towhscode_rowlevel>
    </InventoryTranController.InvTItem>
    <InventoryTranController.InvTItem>
      <BinAllocations>
        <InventoryTranController.BinAllocationModel>
          <BinCode>sample string 1</BinCode>
          <Quantity>2.1</Quantity>
        </InventoryTranController.BinAllocationModel>
        <InventoryTranController.BinAllocationModel>
          <BinCode>sample string 1</BinCode>
          <Quantity>2.1</Quantity>
        </InventoryTranController.BinAllocationModel>
      </BinAllocations>
      <ItemCode>sample string 1</ItemCode>
      <Quantity>2.1</Quantity>
      <fromwhscode_rowlevel>sample string 3</fromwhscode_rowlevel>
      <towhscode_rowlevel>sample string 4</towhscode_rowlevel>
    </InventoryTranController.InvTItem>
  </Items>
  <UDate>sample string 7</UDate>
  <UserName>sample string 6</UserName>
  <customercode>sample string 5</customercode>
  <fromwhscode>sample string 3</fromwhscode>
  <towhscode>sample string 4</towhscode>
</InventoryTranController.InvTraModel>

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.