POST api/InventoryTransferRequests
Request Information
URI Parameters
None.
Body Parameters
StockTransferRequestName | Description | Type | Additional information |
---|---|---|---|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
DocDate | date |
None. |
|
DueDate | date |
None. |
|
Comments | string |
None. |
|
SalesPersonCode | integer |
None. |
|
FromWarehouse | string |
None. |
|
ToWarehouse | string |
None. |
|
DocStatus | string |
None. |
|
StockTransferLines | Collection of StockTransferRequestRows |
None. |
|
Udfs | Collection of Udf |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocEntry": 1, "DocNum": 2, "DocDate": "2025-04-03T20:49:42.7709706-06:00", "DueDate": "2025-04-03T20:49:42.7709706-06:00", "Comments": "sample string 5", "SalesPersonCode": 6, "FromWarehouse": "sample string 7", "ToWarehouse": "sample string 8", "DocStatus": "sample string 9", "StockTransferLines": [ { "ItemCode": "sample string 1", "ItemDescription": "sample string 2", "Quantity": 3.0, "Stock": 4.0, "SerialNumbers": [ { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" }, { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" } ], "WarehouseCode": "sample string 5", "FromWarehouseCode": "sample string 6", "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "LineNum": 7, "BaseLine": 1, "BaseType": "sample string 8", "BaseEntry": 1, "ManSerNum": "sample string 9", "ManBtchNum": "sample string 10", "DistNumber": "sample string 11", "SysNumber": 12, "BinAbs": 13, "BinActivat": "sample string 14", "LineStatus": "sample string 15", "LocationsFrom": [ { "OnHandQty": 1.0, "AbsEntry": 2, "BinCode": "sample string 3" }, { "OnHandQty": 1.0, "AbsEntry": 2, "BinCode": "sample string 3" } ], "LocationsTo": [ { "AbsEntry": 1, "BinCode": "sample string 2", "Stock": 3.0, "Quantity": 4.0 }, { "AbsEntry": 1, "BinCode": "sample string 2", "Stock": 3.0, "Quantity": 4.0 } ] }, { "ItemCode": "sample string 1", "ItemDescription": "sample string 2", "Quantity": 3.0, "Stock": 4.0, "SerialNumbers": [ { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" }, { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" } ], "WarehouseCode": "sample string 5", "FromWarehouseCode": "sample string 6", "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "LineNum": 7, "BaseLine": 1, "BaseType": "sample string 8", "BaseEntry": 1, "ManSerNum": "sample string 9", "ManBtchNum": "sample string 10", "DistNumber": "sample string 11", "SysNumber": 12, "BinAbs": 13, "BinActivat": "sample string 14", "LineStatus": "sample string 15", "LocationsFrom": [ { "OnHandQty": 1.0, "AbsEntry": 2, "BinCode": "sample string 3" }, { "OnHandQty": 1.0, "AbsEntry": 2, "BinCode": "sample string 3" } ], "LocationsTo": [ { "AbsEntry": 1, "BinCode": "sample string 2", "Stock": 3.0, "Quantity": 4.0 }, { "AbsEntry": 1, "BinCode": "sample string 2", "Stock": 3.0, "Quantity": 4.0 } ] } ], "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] }
application/xml, text/xml
Sample:
<StockTransferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP"> <Comments>sample string 5</Comments> <DocDate>2025-04-03T20:49:42.7709706-06:00</DocDate> <DocEntry>1</DocEntry> <DocNum>2</DocNum> <DocStatus>sample string 9</DocStatus> <DueDate>2025-04-03T20:49:42.7709706-06:00</DueDate> <FromWarehouse>sample string 7</FromWarehouse> <SalesPersonCode>6</SalesPersonCode> <StockTransferLines> <StockTransferRequestRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>sample string 8</BaseType> <BinAbs>13</BinAbs> <BinActivat>sample string 14</BinActivat> <DistNumber>sample string 11</DistNumber> <FromWarehouseCode>sample string 6</FromWarehouseCode> <ItemCode>sample string 1</ItemCode> <ItemDescription>sample string 2</ItemDescription> <LineNum>7</LineNum> <LineStatus>sample string 15</LineStatus> <LocationsFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS"> <d4p1:WarehouseBinLocation> <d4p1:AbsEntry>2</d4p1:AbsEntry> <d4p1:BinCode>sample string 3</d4p1:BinCode> <d4p1:OnHandQty>1</d4p1:OnHandQty> </d4p1:WarehouseBinLocation> <d4p1:WarehouseBinLocation> <d4p1:AbsEntry>2</d4p1:AbsEntry> <d4p1:BinCode>sample string 3</d4p1:BinCode> <d4p1:OnHandQty>1</d4p1:OnHandQty> </d4p1:WarehouseBinLocation> </LocationsFrom> <LocationsTo> <Location> <AbsEntry>1</AbsEntry> <BinCode>sample string 2</BinCode> <Quantity>4</Quantity> <Stock>3</Stock> </Location> <Location> <AbsEntry>1</AbsEntry> <BinCode>sample string 2</BinCode> <Quantity>4</Quantity> <Stock>3</Stock> </Location> </LocationsTo> <ManBtchNum>sample string 10</ManBtchNum> <ManSerNum>sample string 9</ManSerNum> <Quantity>3</Quantity> <SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> </SerialNumbers> <Stock>4</Stock> <SysNumber>12</SysNumber> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <WarehouseCode>sample string 5</WarehouseCode> </StockTransferRequestRows> <StockTransferRequestRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>sample string 8</BaseType> <BinAbs>13</BinAbs> <BinActivat>sample string 14</BinActivat> <DistNumber>sample string 11</DistNumber> <FromWarehouseCode>sample string 6</FromWarehouseCode> <ItemCode>sample string 1</ItemCode> <ItemDescription>sample string 2</ItemDescription> <LineNum>7</LineNum> <LineStatus>sample string 15</LineStatus> <LocationsFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS"> <d4p1:WarehouseBinLocation> <d4p1:AbsEntry>2</d4p1:AbsEntry> <d4p1:BinCode>sample string 3</d4p1:BinCode> <d4p1:OnHandQty>1</d4p1:OnHandQty> </d4p1:WarehouseBinLocation> <d4p1:WarehouseBinLocation> <d4p1:AbsEntry>2</d4p1:AbsEntry> <d4p1:BinCode>sample string 3</d4p1:BinCode> <d4p1:OnHandQty>1</d4p1:OnHandQty> </d4p1:WarehouseBinLocation> </LocationsFrom> <LocationsTo> <Location> <AbsEntry>1</AbsEntry> <BinCode>sample string 2</BinCode> <Quantity>4</Quantity> <Stock>3</Stock> </Location> <Location> <AbsEntry>1</AbsEntry> <BinCode>sample string 2</BinCode> <Quantity>4</Quantity> <Stock>3</Stock> </Location> </LocationsTo> <ManBtchNum>sample string 10</ManBtchNum> <ManSerNum>sample string 9</ManSerNum> <Quantity>3</Quantity> <SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> </SerialNumbers> <Stock>4</Stock> <SysNumber>12</SysNumber> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <WarehouseCode>sample string 5</WarehouseCode> </StockTransferRequestRows> </StockTransferLines> <ToWarehouse>sample string 8</ToWarehouse> <Udfs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> </Udfs> </StockTransferRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |