Drug stock

Request the drug stock report for a given month at your facility

Changed on
get/drug_stocks

Request

  • Base URL
    /api/v4 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v4/drug_stocks
  • Auth
    HTTP bearer and API key in header X-USER-ID and API key in header X-FACILITY-ID

Query parameters

dateunknown

Any date in the requested month in YYYY-MM-DD format - eg. 2021-10-29

Headers

HTTP_X_USER_IDunknown
HTTP_X_FACILITY_IDunknown

Response

Drug stocks are returned

monthstring
facility_idstring uuid
drug_stock_form_urlstring

This string should not be empty.

Changes