getStoreParts¶
Supported, no replacement yet
This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.
Reference¶
/rest/stockMgmt/getStoreParts/{resourceId}
GET
Gets a list of parts that are associated to this Store (Resource) along with quantities, category, part number and description. Only active parts will be selected - i.e. parts with costitems whos is_deleted flag is set to true.
available response representations:
- 200 - JSON
{ "storeParts":[ { "id":"43", "services":[3,45,64] //from ServicePart.serviceId "catId":"33",
"partId":"123",
"pn":"234234",
"desc":"dfhksfh",
"qty":"44.3"
} ]}See the Stock Management API matrix for the full list of endpoints in this category.