Get a specific usage product inventory

get/usage-product-inventories/{usage_product_inventory_id}
SecuritybearerAuth
Request
path Parameters
usage_product_inventory_id
required
integer <int64> (IdParam) >= 1

Usage product inventory identifier

Example: 1
Responses
200

Usage product inventory found

400

Bad Request

401

Unauthorized

404

Not Found

412

Precondition Failed

500

Internal Server Error

501

Not Implemented Yet

Response samples
application/json
{
  • "id": 1,
  • "siteId": 1,
  • "usageProductId": 1,
  • "startDate": "2019-08-24",
  • "endDate": "2019-08-24",
  • "supplierAccountId": 0,
  • "billByServiceId": false,
  • "serviceId": "string",
  • "billable": true,
  • "inFlightOrder": false,
  • "externalOrderReference": "string",
  • "externalNetworkOrderReference": "string",
  • "pendingEndDate": "2019-08-24",
  • "usageCapEnabled": false,
  • "defaultUsageCap": 0,
  • "applySurcharges": false,
  • "productReferences": [
    • {
      • "id": 1,
      • "productReference": "string",
      • "primary": true,
      • "label": "string",
      • "startDate": "2019-08-24",
      • "endDate": "2019-08-24",
      • "userId": "string",
      • "userEmail": "string",
      • "costCentreCode": "string",
      • "departmentCode": "string",
      • "notes": "string"
      }
    ]
}