# Here is a curl example
curl \
-X POST "http://localhost:8888/api/BOM/ChangeMarkers" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"object_id": 123,
"record_id": 123,
"config_id":123,
"marker_update_option":1
}'
This method allows you to change BOM markers.
To change BOM markers you need to make a POST call to the following url:
:
http://localhost:8888/api/BOM/ChangeMarkers
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_id | body | long | Configuration Id. You can get from another method (http://localhost:8888/api/BOM/Variants). |
| marker_update_option | body | integer | Marker Update Option. 1 - Top Level, 3 - All Levels |
| Authorization | header | string | Add Authorization header token |