Idents - Intergraph Smart Materials - Version 2017 (2.0) - Help - Hexagon PPM

Intergraph Smart Materials Web API Help 2017 (2.0)

PPMProduct
Intergraph Smart Materials
PPMCategory_custom
Help

Name and Description

Idents - All idents are returned

URL Format

https://{host}/Smat/V1/Projects(‘:project’)/Disciplines(‘:discipline’)/Nls(‘:language’)/Idents

URL Parameter

:project, :discipline, :language

Data Parameter

None

Method

GET

Required Privilege

API_READONLY

Success Response

Response Metadata:

<EntityType Name="IdentDetail">

<Key>

<PropertyRef Name="Ident"/>

</Key>

<Property Name="Ident" Type="Edm.Int64" Nullable="false"/>

<Property Name="IdentCode" Type="Edm.String"/>

<Property Name="ProjId" Type="Edm.String"/>

<Property Name="CommodityId" Type="Edm.Int64"/>

<Property Name="Input1" Type="Edm.String"/>

<Property Name="Input2" Type="Edm.String"/>

<Property Name="Input3" Type="Edm.String"/>

<Property Name="Input4" Type="Edm.String"/>

<Property Name="Input5" Type="Edm.String"/>

<Property Name="TagNumber" Type="Edm.String"/>

</EntityType>

Following HTTP status code is sent back to client on the Success of the API execution: 
Code: 200 OK

Content:

{

"@odata.context": "https://{host}/Smat/V1/$metadata#Projects('{project}')/Disciplines('{discipline}')/Nls('{nls}')/Idents",

"value": [

{

Ident: 3086370,

IdentCode: "C2KRHV",

ProjId: "PG",

CommodityId: 924526,

Input1: "0",

Input2: "0",

Input3: "0",

Input4: "0",

Input5: "0",

TagNumber: null

},

{

Ident: 3086371,

IdentCode: "C2KRHW",

ProjId: "PG",

CommodityId: 924527,

Input1: "0",

Input2: "0",

Input3: "0",

Input4: "0",

Input5: "0",

TagNumber: null

}]

}

Error Response

This API may fail with the following error messages: 
Error Code: 401 Unauthorized 
Content:

{

"error": {

"code": "",

"message": "Authorization has been denied for this request." }

}

Notes