# Here is a curl example
curl \
-X POST "http://localhost:8888/api/BOM/AddTextLineBom" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"object_id": 123,
"record_id": 123,
"config_id":123,
"view_name":"test",
}'
This method allows you to add text lines in BOM.
To add text lines in BOM, you need to make a POST call to the following url:
:
http://localhost:8888/api/BOM/AddTextLineBom
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). |
| view_name | body | string | View Name. You can get from another method (http://localhost:8888/api/BOM/Views). |
| Authorization | header | string | Add Authorization header token |