Updates the specifications for an object
PATCH {{baseUrl}}/public/api/projects/v1/dbs/:dbid/projects/:projid/objects/:objid/specs?fields=<string>&overlayid=<string>&lcid=<string>
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:
PATCH
[
{
"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 | Working Overlay Id | |
lcid
|
string | Language Id |
HEADERS
Key | Datatype | Required | Description |
Comos-API-Session
|
string | (Required) Comos SessionId that needs to be passed with every request except Login | |
Content-Type
|
string | ||
Accept
|