Get additional costs of a purchase order
Name | Type | Description |
---|---|---|
request | Get_Additional_CostRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Get_Additional_Cost
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={
"PurchaseId": "9a7c7d74-6c26-4dfd-a650-c490d94e6a4f"
}
This is an example of the response JSON. Results will vary depending on your data.
{
"items": [
{
"PurchaseAdditionalCostItemId": 1,
"AdditionalCostTypeId": 2,
"Reference": "sample string 3",
"SubTotalLineCost": 4.0,
"TaxRate": 5.0,
"Tax": 6.0,
"Currency": "sample string 7",
"ConversionRate": 8.0,
"TotalLineCost": 9.0,
"CostAllocation": [
{
"CostAllocationId": 1,
"PurchaseAdditionalCostItemId": 2,
"PurchaseItemId": "c773d3f6-2555-47af-881b-5675b4c10a8b",
"AllocationPercentage": 4.0
}
],
"AllocationLocked": true,
"AdditionalCostTypeName": "sample string 11",
"AdditionalCostTypeIsShippingType": true,
"AdditionalCostTypeIsPartialAllocation": true,
"Print": true,
"AllocationMethod": 0
}
]
}