GET api/v2/ConsumableServiceCenters/{consumableId}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| consumableId | integer |
Required |
Response
ConsumableServiceCentersBasic| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | ||
| Consumable | ConsumableBasic | ||
| ServiceCenter | ServiceCenterBasic |
Response Format
application/json, text/json
Sample:
{
"Id": 1,
"Consumable": {
"ReferenceKey": "sample string 1",
"Expires": "2026-02-02T21:08:12.4972939Z",
"ExpireDaysAfterOpen": 1,
"Quantity": 1.1,
"Cost": 1.1,
"ConsumableType": {
"ReferenceKey": "sample string 1",
"Precision": 2,
"AdvanceNotice": 3,
"MinQuantityNotice": 4,
"MeasurementUnit": {
"Description": "sample string 1",
"MeasurementUnitCategoryId": 1,
"Category": {
"Id": 1,
"Identification": "sample string 2"
},
"Id": 2,
"Identification": "sample string 3"
},
"DoesntObligeQuantityStockMovement": true,
"Density": 1.1,
"DensityDisplayValue": "sample string 6",
"Id": 7,
"Identification": "sample string 8",
"Active": true
},
"Id": 2,
"Identification": "sample string 3",
"Active": true
},
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-02-02T21:08:12.5022965Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
}
}
text/html
Sample:
{"Id":1,"Consumable":{"ReferenceKey":"sample string 1","Expires":"2026-02-02T21:08:12.4972939Z","ExpireDaysAfterOpen":1,"Quantity":1.1,"Cost":1.1,"ConsumableType":{"ReferenceKey":"sample string 1","Precision":2,"AdvanceNotice":3,"MinQuantityNotice":4,"MeasurementUnit":{"Description":"sample string 1","MeasurementUnitCategoryId":1,"Category":{"Id":1,"Identification":"sample string 2"},"Id":2,"Identification":"sample string 3"},"DoesntObligeQuantityStockMovement":true,"Density":1.1,"DensityDisplayValue":"sample string 6","Id":7,"Identification":"sample string 8","Active":true},"Id":2,"Identification":"sample string 3","Active":true},"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-02-02T21:08:12.5022965Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"}}