AlphaAlpha Docs
API ReferencePurchase orders

Get purchase order stats

Get stats for purchase orders

GET
/purchase-orders/stats
AuthorizationBearer <token>

In: header

Query Parameters

subsidiaryId?string
stockSiteId?string
start?string
Formatdate-time
end?string
Formatdate-time

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/purchase-orders/stats"
{
  "averageValue": 0.1,
  "numberByStatus": {
    "property1": 0,
    "property2": 0
  },
  "totalOrders": 0,
  "totalValue": 0.1
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}