POST api/v2/consumabletypes/{consumableTypeId}/infos
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| consumableTypeId | integer |
Required |
Body Parameters
ConsumableTypeInfoNew| Name | Description | Type | Additional 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": "2026-02-02T21:06:59.2159321Z",
"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":"2026-02-02T21:06:59.2159321Z","ValueBoolean":true,"ValueAccountId":1,"DependentInfoId":1,"Inherited":true,"RequiredValue":true,"Order":7}
Response
integerResponse Format
application/json, text/json, text/html
Sample:
1