Read the branch stock count sheet
Any counting role. Returns every active medicine with the quantity the branch holds. Scoped to the caller’s branch, the count and variance come back null for the till to fill in.
GET
/api/v1/stockcountAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Responses
200
The count sheet for the caller's branch
branch_idstringrequireditemsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredmedicine_idstringrequirednamestringrequiredbarcodestringrequiredcategorystringrequireddb_quantitynumberrequiredlow_stock_thresholdnumberrequiredbranch_quantitynumberrequiredsystem_quantitynumberrequiredbatch_countintegerrequiredmin -9007199254740991 · max 9007199254740991
counted_quantitynullrequiredvariancenullrequired401
Not authenticated
detailstringrequired403
Access forbidden for the caller's role
detailstringrequired