Delete an Open MTO Interface Import job - Intergraph Smart Materials - Version 2017 R2 (2.2) - Help - Hexagon

Intergraph Smart Materials Web API Help 2017 R2 (2.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Web API
Search by Category
Help
Version Smart Materials Web API
2017 R2 (2.2)

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