Validates the specifications update
POST {{baseUrl}}/public/api/projects/v1/dbs/:dbid/projects/:projid/objects/:objid/specs/actions/validate?fields=<string>&overlayid=<string>&lcid=<string>&check_mandatory=<boolean>
Note: fields will be filtered out in case they are not a part of the specifications. If all fields specified are invalid, then a BadRequest error will be thrown.- The specifications will have
Name,Descriptionfields.
- The specifications will have
NestedName,Description,Value,DisplayValue,LValue,SIValue,ControlType,Unit,RangeType,Type,TabIndex,PhysUnitLabel,Precision,Length,Count,LinkObject,XValuesfields.
Sample request:
POST
[
{
"NestedName":"string", //Required
"Value":"string",
"SIValue":"double",
"LinkObject":{
"UID":"string",
"ProjectUID":"string",
"OverlayUID":"string"
},
"XValues":[{
"Index":"int",
"XValue":"string",
"SIXValue":"double"
}]
}
]
Body
PARAM
Key | Datatype | Required | Description |
fields
|
string | Fields to be displayed for specifications | |
overlayid
|
string | Overlay id | |
lcid
|
string | Language id | |
check_mandatory
|
string |
HEADERS
Key | Datatype | Required | Description |
Comos-API-Session
|
string | (Required) Comos SessionId that needs to be passed with every request except Login | |
|