POST api/v2/consumabletypes/{consumableTypeId}/infos

Request

URI Parameters

NameDescriptionTypeAdditional information
consumableTypeId

integer

Required

Body Parameters

ConsumableTypeInfoNew
NameDescriptionTypeAdditional information
InfoId

integer

InfoTypeId

integer

MeasurementUnitId

integer

DisplayValue

string

ForceScale

integer

ForceSignifDigits

integer

ValueText

string

ValueInteger

integer

ValueFloat

decimal number

ValueDateTime

date

ValueBoolean

boolean

ValueAccountId

integer

DependentInfoId

integer

Inherited

boolean

RequiredValue

boolean

Order

integer

Request Formats

application/json, text/json

Sample:
{
  "InfoId": 1,
  "InfoTypeId": 2,
  "MeasurementUnitId": 1,
  "DisplayValue": "sample string 3",
  "ForceScale": 1,
  "ForceSignifDigits": 1,
  "ValueText": "sample string 4",
  "ValueInteger": 1,
  "ValueFloat": 1.1,
  "ValueDateTime": "2025-08-04T18:40:21.5333383Z",
  "ValueBoolean": true,
  "ValueAccountId": 1,
  "DependentInfoId": 1,
  "Inherited": true,
  "RequiredValue": true,
  "Order": 7
}

text/html

Sample:
{"InfoId":1,"InfoTypeId":2,"MeasurementUnitId":1,"DisplayValue":"sample string 3","ForceScale":1,"ForceSignifDigits":1,"ValueText":"sample string 4","ValueInteger":1,"ValueFloat":1.1,"ValueDateTime":"2025-08-04T18:40:21.5333383Z","ValueBoolean":true,"ValueAccountId":1,"DependentInfoId":1,"Inherited":true,"RequiredValue":true,"Order":7}

Response

integer

Response Format

application/json, text/json, text/html

Sample:
1