GET Reporting/v1/Stock/GetSupplierPurchasesReport
Gets the Supplier Purchases report data for given sites and suppliers.
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| RequestingSiteID | integer |
SiteID which is requesting report |
None. |
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateUtcFrom | datetime |
Date which the report will search for purchase orders from |
None. |
| DateUtcTo | datetime |
Date which the report will search for purchase orders to |
None. |
| ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will run for all product types |
None. |
| ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty wil run for all product groups |
None. |
| SupplierIDs | Collection of integer |
Optional: Supplier IDs which report will be ran for, if empty will run for all suppliers |
None. |
| StockLocationIDs | Collection of integer |
Optional: Stock Location IDs which report will be ran for, if empty will run for all suppliers |
None. |
Body Parameters
ReportingSupplierRequestCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| RequestingSiteID | integer |
SiteID which is requesting report |
None. |
| SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
| DateUtcFrom | datetime |
Date which the report will search for purchase orders from |
None. |
| DateUtcTo | datetime |
Date which the report will search for purchase orders to |
None. |
| ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will run for all product types |
None. |
| ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty wil run for all product groups |
None. |
| SupplierIDs | Collection of integer |
Optional: Supplier IDs which report will be ran for, if empty will run for all suppliers |
None. |
| StockLocationIDs | Collection of integer |
Optional: Stock Location IDs which report will be ran for, if empty will run for all suppliers |
None. |
Request Formats
application/json, text/json
{
"RequestingSiteID": 1,
"SiteIDs": [
1,
2
],
"DateUtcFrom": "2026-10-10T23:20:04.4981734",
"DateUtcTo": "2026-10-10T23:20:04.4981734",
"ProductTypeIDs": [
1,
2
],
"ProductGroupIDs": [
1,
2
],
"SupplierIDs": [
1,
2
],
"StockLocationIDs": [
1,
2
]
}
application/xml, text/xml
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of SupplierPurchasesReportItemDto| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer |
None. |
|
| SiteName | string |
None. |
|
| LocalTimeZoneID | string |
None. |
|
| PurchaseOrderNumber | string |
None. |
|
| InvoiceNr | string |
None. |
|
| Supplier | string |
None. |
|
| RecordedDelivery | boolean |
None. |
|
| DeliveryDateUtc | datetime |
None. |
|
| NetDeliveryCharge | decimal number |
None. |
|
| DeliveryChargeTaxValue | decimal number |
None. |
|
| GrossDeliveryCharge | decimal number |
None. |
|
| NetExtraCharge | decimal number |
None. |
|
| Product | string |
None. |
|
| ProductCode | string |
None. |
|
| ProductType | string |
None. |
|
| ProductGroup | string |
None. |
|
| PurchaseUnit | string |
None. |
|
| PurchaseUnitQty | decimal number |
None. |
|
| OrderQty | decimal number |
None. |
|
| OrderNetUnitPrice | decimal number |
None. |
|
| OrderLineSubtotal | decimal number |
None. |
|
| DeliveredQty | decimal number |
None. |
|
| DeliveryNetUnitPrice | decimal number |
None. |
|
| DeliveryLineSubtotal | decimal number |
None. |
|
| DeliveryLineTaxValue | decimal number |
None. |
|
| DeliveryLineTotal | decimal number |
None. |
|
| RowNumber | integer |
None. |
|
| DeliveryDate | datetime |
None. |
|
| PageSize | integer |
None. |
|
| TotalCount | integer |
None. |
|
| HasMorePages | boolean |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml, text/xml
System.Xml.XmlDocument