Functions - Intergraph Smart 3D Web API - Customization & Programming - Hexagon PPM

Intergraph Smart 3D Admin 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
13

All the functions defined in Smart3D Admin Web API are to fetch the response for the asynchronous actions. The functions are defined in the format

Get<ActionName>ResultAsync

For example, RestorePlant action will have GetRestorePlantResultAsync function defined.

These functions take the resultId as argument and return the response of the asynchronous request if the processing was done. If not, it returns 202 Accepted.

For example, a RestorePlant action request when executed asynchronously, the response will be 202 Accepted with a Header names Location. This header will have a value as a URI which is a request of corresponding result function:

GET

<ServiceRoot>/ Sites('13')/GetRestorePlantResultAsync(resultId='0c8954c7-d914-4ff7-ab85-dee6234bc564')