GET api/v2/consumabletypes/ByReferenceKey/{referenceKey}

Request

URI Parameters

NameDescriptionTypeAdditional information
referenceKey

string

Required

Response

ConsumableTypeDetail
NameDescriptionTypeAdditional information
EditionUser

UserBasic

EditionDateTime

date

ReferenceKey

string

Precision

integer

AdvanceNotice

integer

MinQuantityNotice

integer

MeasurementUnit

MeasurementUnitBasic

DoesntObligeQuantityStockMovement

boolean

Id

integer

Identification

string

Active

boolean

Response Format

application/json, text/json

Sample:
{
  "EditionUser": {
    "Active": true,
    "CultureId": "sample string 2",
    "Login": "sample string 3",
    "Email": "sample string 4",
    "ServiceCenter": {
      "Active": true,
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:40:20.5771683Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Id": 2,
      "Identification": "sample string 3"
    },
    "ServiceArea": {
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:40:20.5771683Z",
          "ConsiderServiceCenterPriceListFromSampleOrWork": true,
          "Id": 3,
          "Identification": "sample string 4"
        },
        "Id": 2,
        "Identification": "sample string 3"
      },
      "ExtraTime": 1,
      "ExternalServiceArea": true,
      "Active": true,
      "Id": 3,
      "Identification": "sample string 4"
    },
    "Account": {
      "Complement": "sample string 1",
      "ReferenceKey": "sample string 2",
      "AccountType": {
        "Active": true,
        "RequireRegistryNumber": true,
        "AccountTypeRegistryTypeId": 1,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:40:20.5771683Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Active": true,
      "RelatedAccountRequired": true,
      "RegistryNumber": "sample string 5",
      "CultureId": "sample string 6",
      "Id": 7,
      "Identification": "sample string 8"
    },
    "SignatureCertFileId": 1,
    "LicenseGroup": {
      "Id": 1,
      "Identification": "sample string 2",
      "UserReadOnlyAccessCount": 3,
      "UserEditableAccessCount": 4
    },
    "ReadOnlyAccess": true,
    "Reserved": true,
    "ServiceAreaId": 1,
    "ExternalUser": "sample string 5",
    "Id": 6,
    "Identification": "sample string 7"
  },
  "EditionDateTime": "2025-08-04T18:40:20.5771683Z",
  "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
}

text/html

Sample:
{"EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:20.5771683Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:20.5771683Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:20.5771683Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"EditionDateTime":"2025-08-04T18:40:20.5771683Z","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}