GET api/v2/ConsumableServiceCenters/{consumableId}

Request

URI Parameters

NameDescriptionTypeAdditional information
consumableId

integer

Required

Response

ConsumableServiceCentersBasic
NameDescriptionTypeAdditional information
Id

integer

Consumable

ConsumableBasic

ServiceCenter

ServiceCenterBasic

Response Format

application/json, text/json

Sample:
{
  "Id": 1,
  "Consumable": {
    "ReferenceKey": "sample string 1",
    "Expires": "2025-08-04T18:40:42.3237496Z",
    "ExpireDaysAfterOpen": 1,
    "Quantity": 1.1,
    "Cost": 1.1,
    "ConsumableType": {
      "ReferenceKey": "sample string 1",
      "Precision": 2,
      "AdvanceNotice": 3,
      "MinQuantityNotice": 4,
      "MeasurementUnit": {
        "Description": "sample string 1",
        "Id": 2,
        "Identification": "sample string 3"
      },
      "DoesntObligeQuantityStockMovement": true,
      "Id": 6,
      "Identification": "sample string 7",
      "Active": true
    },
    "Id": 2,
    "Identification": "sample string 3",
    "Active": true
  },
  "ServiceCenter": {
    "Active": true,
    "PriceList": {
      "Active": true,
      "Expire": "2025-08-04T18:40:42.3237496Z",
      "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":"2025-08-04T18:40:42.3237496Z","ExpireDaysAfterOpen":1,"Quantity":1.1,"Cost":1.1,"ConsumableType":{"ReferenceKey":"sample string 1","Precision":2,"AdvanceNotice":3,"MinQuantityNotice":4,"MeasurementUnit":{"Description":"sample string 1","Id":2,"Identification":"sample string 3"},"DoesntObligeQuantityStockMovement":true,"Id":6,"Identification":"sample string 7","Active":true},"Id":2,"Identification":"sample string 3","Active":true},"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:42.3237496Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"}}