Post MRR - 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 Receiving Report – This API posts the MRR.

URL Format

/Projects (':project')/Disciplines(':discipline')/Nls(':language')/ ReceivingHeaders ({key})/Com.Ingr.Smat.V1.MRRPost/

Specify values for project, discipline, language and key parameters in the URL. The first three values together define a project environment in which the MRR is posted. The key parameter defines the MRR header id, for which the MRR 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_MRR

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:

HTTP Status Code: 401 Unauthorized

Content:

{

"error": {

"code": "",

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

}

HTTP Status Code: 400 Bad Request

Content:

{

"error": {

"code": "-20000",

"message": "Invalid MRR-ID" }

}

Notes