# Here is a curl example
curl \
-X POST "http://localhost:8888/api/BOM/RemoveItemsBom" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"object_id": 123,
"record_id": 123,
"config_instance_ids":[1,2,3]
}'
This method allows you to remove items to the BOM.
To remove items in BOM, you need to make a POST call to the following url:
:
http://localhost:8888/api/BOM/RemoveItemsBom
Result example :
[
{
"Success": "boolean",
"Message": "string",
"Data": object,
"CustomAction": Dictionary<object, object> ,
"CustomAttributes":Dictionary<object, object>
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| object_id | body | long | Object Id. |
| record_id | body | long | Record Id. |
| config_instance_ids | body | List<long> | Config Instance Ids. You can get from another method (http://localhost:8888/api/BOM/Records). |
| Authorization | header | string | Add Authorization header token |