Get the specifications for an object
GET {{baseUrl}}/public/api/projects/v1/dbs/:dbid/projects/:projid/objects/:objid/specs?fields=<string>&nested_names=<string>&recursion_depth=<integer>&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,StandardTable,XValuesfields.
- field1,field2" - Valid set of fields seperated by comma for the object. ex. Name,Description,...,etc
nestednames include the specification nested names. These can include the hierarchical child specifications as well. recursiondepth can have the following values:
- -1 : will fetch all the specification children until the maximum depth.
- 0 (default) : will fetch immediate object specifications.
- 2/3/4...etc : will fetch all the specification children until the specified recursion depth.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string | Fields to be displayed for specifications | |
nested_names | string | Nested names of specifications to be included in response | |
recursion_depth | string | Specifications children to be fetch until what depth. | |
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 | |
Accept | string |
RESPONSES
status: OK
[{"NestedName":"et","Description":"occaecat ea voluptate","Value":"tempor","DisplayValue":"id voluptate","LValue":"veniam amet adipisicing ea","SIValue":-2192365.8022668064,"ControlType":"qui exercitation veniam esse","Unit":"cillum officia sunt","RangeType":31719451,"Type":"Duis eu ipsum","TabIndex":-52880206,"PhysUnitLabel":"ut sunt laborum elit","Precision":71050075,"Length":-12511040,"Count":-64144368,"StandardTable":{"UID":"u"},"LinkObject":{"UID":"tempor et exercitation","ProjectUID":"et ad enim eiusmod","OverlayUID":"officia velit veniam"},"XValues":[{"Index":-28388957,"XValue":"tempor ut veniam","DisplayXValue":"sit","LXValue":"laborum exercitation","SIXValue":6720454.918124214},{"Index":-92710584,"XValue":"voluptate sed","DisplayXValue":"minim qui ea do quis","LXValue":"Ut","SIXValue":49682384.691406965}]},{"NestedName":"ut in qui","Description":"eu id pariatu","Value":"ut Ex","DisplayValue":"sit nulla Ut","LValue":"aliquip officia","SIValue":53829575.883582205,"ControlType":"ad culpa nostrud Lorem","Unit":"ad tempor dolore Excepteur","RangeType":-14052091,"Type":"tempor enim","TabIndex":-41578357,"PhysUnitLabel":"ex laboris ut labor","Precision":41963182,"Length":-87276903,"Count":-51623317,"StandardTable":{"UID":"cillum aute deserunt"},"LinkObject":{"UID":"incididunt","ProjectUID":"et","OverlayUID":"qui proident et culpa"},"XValues":[{"Index":24035136,"XValue":"commodo enim in","DisplayXValue":"qui et ipsum aliquip","LXValue":"esse aliqua culpa tempor","SIXValue":-1140376.1703260094},{"Index":31777219,"XValue":"consequat ullamco qui adipisicing","DisplayXValue":"tempor voluptate","LXValue":"irure cupidatat","SIXValue":-40964580.5122774}]}]