api/BillOfMaterial/Delete (POST)
Deletes an existing Bill of Material Component using the supplied keys.
HTTP Method: POST
Required Fields: ASSEMBLY_ID, COMPONENT_ID, DWG_ITEM_CODE to locate the record
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns nothing.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| RequestData | This is a JSON object containing Bill of Material Component keys.
Delete Bill of Material Component Example:
{
"ASSEMBLY_ID": "PUMP002",
"COMPONENT_ID": "MOTOR003",
"DWG_ITEM_CODE": "0001"
}
Returns nothing if successful.
This is like 'Delete' in Expandable.
Accepted Bill of Material Fields:
ASSEMBLY_ID, COMPONENT_ID, DWG_ITEM_CODE |
Define this parameter in the request body. |
Response Information
Success:200/OK
Body contains empty JSON object.
Error:
400/Request JSON is invalid.
401/AuthToken was not provided.
401/AuthToken is malformed.
401/AuthToken is expired.
401/AuthToken login failure.
500/(Message)
Body contains JSON object with Message and MessageCode.
Returned Bill of Material Fields:
(None)