Delete schedule of values - Intergraph Smart Materials - Help - Hexagon

Intergraph Smart Materials Web API Help (10.6)

ft:locale
en-US
Product
Intergraph Smart Materials
Subproduct
Web API
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.6

This API deletes the schedule of values of a purchase order/agreement from a project in Smart Materials.

You cannot delete a schedule of values, if ReadyForApprovalInd in the related purchase order/agreement is set to Y.

Required Privilege: API_AGREEMENT

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’)/PurchaseOrders({key1})/ScheduleOfValues({key2})

Specify values for the project, discipline, language, and key parameters in the URL. The project, discipline, and language together, define the project environment. The key1 parameter refers to purchase order ID(PohId) and key2 refers to the schedule of values ID(ApbId).

Sample Code

DELETE http://localhost: 58201/SMAT/V1/Projects('RS')/Disciplines('PIPING')/Nls('English')/PurchaseOrders(10000141036)/ScheduleOfValues(10000179201)

Success Response

Status: 204 No Content.