This API deletes an Open MTO Interface Import job from Smart Materials.
Required Privilege: API_BOM
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’)/OMIImportJobs({key})
Specify values for the project, discipline, language, and key parameter in the URL. The project, discipline, and language together, define the project environment and key parameter defines the OMI Import job Id (OMIJId).
You cannot delete an OMI Import job with the following status:
-
SQL*LOAD
-
RUNNING
-
STAGE
-
STARTED.
Sample Code
DELETE https://localhost:51531/SMAT/V1/Projects('RS')/Disciplines('PIPING')/Nls('English')/OMIImportJobs(10000014142)
Success Response
Status: 204 No Content