Post MTR - 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

Post Material Transfer Report – This API posts the material transfer report.

URL Format

/Projects (':project')/Disciplines(':discipline')/Nls(':language')/ TransferHeaders(:key)/Com.Ingr.Smat.V1.MTRPost/

Specify values for project, discipline, language and key parameters in the URL. The first three values together define a project environment in which the MTR header is created. The key parameter defines the MTR header id, for which the MTR is posted.

Use the following read-only APIs to get the available values for each parameter.

/Projects,

/projects(':project')/Disciplines,

/projects(':project')/Disciplines(':discipline')/nls

URL Parameter

:project, :discipline, :language, :key

Method

POST

Required Privilege

API_POST_MTR

Data Parameter

There is no payload required for this operation.

Success Response

HTTP status code sent back to client on the API execution success: 
Code: 200 OK

Content:

{

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

"value": 0

}

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