This API deletes the inventory issues of a Material Issue Report (MIR) from Smart Materials.
Required Privilege: API_MIR
Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/JSON |
Body
URL Format: DELETE https://{host}/Smat/V1/Projects(':project')/Disciplines(':discipline')/Nls(':language')/IssueReports({key1})/InvIssues({key2})
Specify the values for the project, discipline, language, and the key parameters in the URL. The project, discipline, and language together, define the project environment. The key1 parameter defines the Material Issue Report ID (MirId) and key2 parameter defines the inventory issue ID (IisId).
Sample Code
DELETE https://{host}/smat/v1/Projects(‘RS’)/Disciplines(‘PIPING’)/Nls(‘English’)/IssueReports(5046)/InvIssues(5265)
Success Response
Status: 204 No Content.