Used to get scrap history
Name | Type | Description |
---|---|---|
request | GetScrapHistoryRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/GetScrapHistory
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={
"PageNumber": 1,
"EntriesPerPage": 2
}
This is an example of the response JSON. Results will vary depending on your data.
{
"ScrapHistory": {
"PageNumber": 1,
"EntriesPerPage": 2,
"TotalEntries": 3,
"TotalPages": 2,
"Data": [
{
"Id": "943ed295-6ef1-428c-8bb4-64224cb65527",
"StockItemId": "89c263bb-a5bd-478e-861d-6676eda78965",
"ItemNumber": "sample string 3",
"ItemTitle": "sample string 4",
"Quantity": 5,
"CategoryName": "sample string 6",
"ScrapReason": "sample string 7",
"TotalCost": 8.1,
"UserName": "sample string 9",
"CreatedDate": "2023-01-10T13:49:55.2582927+00:00",
"StockLocationId": "e6076fa4-edbb-4661-9071-4cf56bc49ae0"
}
]
}
}