POST api/StockTransfers

Request Information

URI Parameters

None.

Body Parameters

Collection of InventoryStockTransfer
NameDescriptionTypeAdditional information
SalesForce_Id

string

None.

fromWhs

string

None.

toWhs

string

None.

QueryId

string

None.

status

string

None.

itemTransfers

Collection of ItemTransfer

None.

docDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SalesForce_Id": "sample string 1",
    "fromWhs": "sample string 2",
    "toWhs": "sample string 3",
    "QueryId": "sample string 4",
    "status": "sample string 5",
    "itemTransfers": [
      {
        "quantity": 1,
        "itemCode": "sample string 2"
      },
      {
        "quantity": 1,
        "itemCode": "sample string 2"
      }
    ],
    "docDate": "2025-01-22T19:55:37.1330819+00:00"
  },
  {
    "SalesForce_Id": "sample string 1",
    "fromWhs": "sample string 2",
    "toWhs": "sample string 3",
    "QueryId": "sample string 4",
    "status": "sample string 5",
    "itemTransfers": [
      {
        "quantity": 1,
        "itemCode": "sample string 2"
      },
      {
        "quantity": 1,
        "itemCode": "sample string 2"
      }
    ],
    "docDate": "2025-01-22T19:55:37.1330819+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventoryStockTransfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceSAPAPI.Models">
  <InventoryStockTransfer>
    <QueryId>sample string 4</QueryId>
    <SalesForce_Id>sample string 1</SalesForce_Id>
    <docDate>2025-01-22T19:55:37.1330819+00:00</docDate>
    <fromWhs>sample string 2</fromWhs>
    <itemTransfers>
      <ItemTransfer>
        <itemCode>sample string 2</itemCode>
        <quantity>1</quantity>
      </ItemTransfer>
      <ItemTransfer>
        <itemCode>sample string 2</itemCode>
        <quantity>1</quantity>
      </ItemTransfer>
    </itemTransfers>
    <status>sample string 5</status>
    <toWhs>sample string 3</toWhs>
  </InventoryStockTransfer>
  <InventoryStockTransfer>
    <QueryId>sample string 4</QueryId>
    <SalesForce_Id>sample string 1</SalesForce_Id>
    <docDate>2025-01-22T19:55:37.1330819+00:00</docDate>
    <fromWhs>sample string 2</fromWhs>
    <itemTransfers>
      <ItemTransfer>
        <itemCode>sample string 2</itemCode>
        <quantity>1</quantity>
      </ItemTransfer>
      <ItemTransfer>
        <itemCode>sample string 2</itemCode>
        <quantity>1</quantity>
      </ItemTransfer>
    </itemTransfers>
    <status>sample string 5</status>
    <toWhs>sample string 3</toWhs>
  </InventoryStockTransfer>
</ArrayOfInventoryStockTransfer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InventoryStockTransfer
NameDescriptionTypeAdditional information
SalesForce_Id

string

None.

fromWhs

string

None.

toWhs

string

None.

QueryId

string

None.

status

string

None.

itemTransfers

Collection of ItemTransfer

None.

docDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "SalesForce_Id": "sample string 1",
  "fromWhs": "sample string 2",
  "toWhs": "sample string 3",
  "QueryId": "sample string 4",
  "status": "sample string 5",
  "itemTransfers": [
    {
      "quantity": 1,
      "itemCode": "sample string 2"
    },
    {
      "quantity": 1,
      "itemCode": "sample string 2"
    }
  ],
  "docDate": "2025-01-22T19:55:37.1487229+00:00"
}

application/xml, text/xml

Sample:
<InventoryStockTransfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceSAPAPI.Models">
  <QueryId>sample string 4</QueryId>
  <SalesForce_Id>sample string 1</SalesForce_Id>
  <docDate>2025-01-22T19:55:37.1487229+00:00</docDate>
  <fromWhs>sample string 2</fromWhs>
  <itemTransfers>
    <ItemTransfer>
      <itemCode>sample string 2</itemCode>
      <quantity>1</quantity>
    </ItemTransfer>
    <ItemTransfer>
      <itemCode>sample string 2</itemCode>
      <quantity>1</quantity>
    </ItemTransfer>
  </itemTransfers>
  <status>sample string 5</status>
  <toWhs>sample string 3</toWhs>
</InventoryStockTransfer>