This API posts the Material Receiving Report (MRR) in the given project of Smart Materials.
-
You cannot post a MRR if it does not have any attached inventory receipts.
-
Once posted, you cannot post the same MRR again.
Required Privilege: API_MRR
Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/JSON |
Body
URL Format: POST https://{host}/Smat/V1/Projects(':project')/Disciplines(':discipline')/Nls(':language')/ ReceivingReports(':key')/MRRPost
Specify values for the project, discipline, language, and key parameter in the URL. The project, discipline, and language together, define the project environment and the key parameter defines the material receiving ID (MrrId).
Element |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
AutoCreateOsd |
Refers to whether the application should create an OSD report automatically for the given MRR or not while posting. Available values are Y and N. |
String |
Required |
Sample Code
POST http://localhost:58201/SMAT/V1/Projects('RS')/Disciplines('PIPING')/Nls('English')/ReceivingReports(10000117322)/MRRPost
{
"autoCreateOsd": "Y"
}
Success Response
Status: 200 OK