Projects - Intergraph Smart Materials - Version 2017 R2 (2.2) - Help - Hexagon

Intergraph Smart Materials Web API Help 2017 R2 (2.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Web API
Search by Category
Help
Version Smart Materials Web API
2017 R2 (2.2)

This API retrieves the Projects from Smart Materials. You can either retrieve a single Project using Project Id or all the Projects.

  • No privilege is required to access the project details.

  • Only projects that are assigned to the logged-in user are retrieved.

Headers

Header Name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/JSON

Body

URL Format: GET https://{host}/Smat/V1/Projects(':key')

Specify values for project and key parameter in the URL. The key parameter defines the Project Id (ProjId).

To retrieve all the Projects of Smart Materials, use the following URL:

GET https://{host}/Smat/V1/Projects

Sample Code

GET https://{host}/Smat/V1/Projects(DOCU)

Success Response

Status: 200 OK

Content:

{

"@odata.context": "https://{host}/Smat/V1/$metadata#Projects",

"value":[

{

"ProjId":"DOCU",

"Description":"NEW PROJECT",

"PgCode":"PG"

}]

}

Element

Description

Type

ProjId

Unique ID of the Project

String

Description

Description related to the Project

String

PgCode

Name of the Product Group. Retrieved Project belongs to this Product Group.

String