POST api/v2/sampletypes/{sampleTypeId}/infos

Request

URI Parameters

NameDescriptionTypeAdditional information
sampleTypeId

integer

Required

Body Parameters

SampleTypeInfoNew
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

InfoGroupId

integer

ReadOnlyValue

boolean

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:39:27.3079278Z",
  "ValueBoolean": true,
  "ValueAccountId": 1,
  "DependentInfoId": 1,
  "Inherited": true,
  "RequiredValue": true,
  "Order": 7,
  "InfoGroupId": 1,
  "ReadOnlyValue": true
}

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:39:27.3079278Z","ValueBoolean":true,"ValueAccountId":1,"DependentInfoId":1,"Inherited":true,"RequiredValue":true,"Order":7,"InfoGroupId":1,"ReadOnlyValue":true}

Response

integer

Response Format

application/json, text/json, text/html

Sample:
1