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>
- "
- 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.
- field1,field2" - Valid set of fields seperated by comma for the object. ex. Name,Description,...,etc
Sample request:
PATCH
[
{
"NestedName":"string", //Required
"Value":"string",
"SIValue":"double",
"LinkObject":{
"UID":"string",
"ProjectUID":"string",
"OverlayUID":"string"
},
"XValues":[{
"Index":"int",
"XValue":"string",
"SIXValue":"double"
}]
}
]
Request Params
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 | string |
RESPONSES
status: OK
{}