Select List Properties - Intergraph Smart 3D Web API - Customization & Programming - Hexagon PPM

Intergraph Smart 3D Web API Programmers Reference

Language
English
Product
Intergraph Smart 3D Web API
Subproduct
Smart 3D Web APIs
Search by Category
Customization & Programming
Smart 3D Version
12 (2018)

All Select List properties return the Value ID of the select list item. There is an annotation for each Select List property that defines its SelectList. The example below shows that the UpToDate property on the IsogenIsometricDrawing Entity type has an associated select list whose ID is "DRAWNG-DrawingStatus".

<Annotations Target="Com.Ingr.Smart3d.V1.IsogenIsometricDrawing/UpToDate">

<Annotation Term="Com.Ingr.Core.V1.DisplayName" 
String="Up to Date"/>

<Annotation Term="Org.OData.Core.V1.Description" 
String="IJDSheetData.UpToDate"/>

<Annotation Term="Com.Ingr.Core.V1.SelectList" 
String="DRAWNG-DrawingStatus"/>

</Annotations>

If a client needs the string associated to the value, it will need to execute a URL to return it. For example:

GET https://MyServer.Domain.com/s3d/v1/Sites('MySiteAlias')/Plants('MyPlant')/SelectLists('DRAWNG-DrawingStatus')/Items('8')

Returns a SelectListItem object that contains the properties Name (Smart 3D Short Description) and Description (Smart 3D Long Description).