AlphaAlpha Docs
API ReferencePurchase orders

Get shortage summary for a purchase order

GET
/purchase-orders/{id}/shortage-summary
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/purchase-orders/string/shortage-summary"
{
  "items": [
    {
      "productId": "string",
      "productName": "string",
      "resolvedQuantity": 0.1,
      "shortageQuantity": 0.1,
      "unitPrice": 0.1,
      "unresolvedQuantity": 0.1,
      "unresolvedValue": 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"
}