POST api/v1/product/stockmovement
JOS: ADD COMMENTS
Request Information
URI Parameters
None.
Body Parameters
ProductIdentifierV1Name | Description | Type | Additional information |
---|---|---|---|
ProductId |
For internal use |
integer |
None. |
ProductNumber |
Number of the product |
string |
None. |
ProductUniqueId |
GUid of the product |
globally unique identifier |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ExpectedStockMovementV1Name | Description | Type | Additional information |
---|---|---|---|
ProductNumber | string |
None. |
|
MovementDate |
The Empty Date shows what is available now. That can be negavite, when the amount of sales orders is higher than the available amount on stock Entries with dates smaller that today shows that there should be more, but not booked in or delayed Entries greater or equals that today shows that are expected to be available on that date |
date |
None. |
Quantity | decimal number |
None. |
|
QuantityUnit | string |
None. |
|
MayBePrefered | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ProductNumber": "sample string 1", "MovementDate": "2024-12-04T08:13:40.1852421+00:00", "Quantity": 3.0, "QuantityUnit": "sample string 4", "MayBePrefered": true }, { "ProductNumber": "sample string 1", "MovementDate": "2024-12-04T08:13:40.1852421+00:00", "Quantity": 3.0, "QuantityUnit": "sample string 4", "MayBePrefered": true } ]
application/xml, text/xml
Sample:
<ArrayOfExpectedStockMovement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://promotionaloffice.promidata.com/2012/08/08"> <ExpectedStockMovement> <MayBePrefered>true</MayBePrefered> <MovementDate>2024-12-04T08:13:40.1852421+00:00</MovementDate> <ProductNumber>sample string 1</ProductNumber> <Quantity>3</Quantity> <QuantityUnit>sample string 4</QuantityUnit> </ExpectedStockMovement> <ExpectedStockMovement> <MayBePrefered>true</MayBePrefered> <MovementDate>2024-12-04T08:13:40.1852421+00:00</MovementDate> <ProductNumber>sample string 1</ProductNumber> <Quantity>3</Quantity> <QuantityUnit>sample string 4</QuantityUnit> </ExpectedStockMovement> </ArrayOfExpectedStockMovement>