# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/BOM/Records
?config_id=111&object_id=111&record_id=521111&version_index=0&get_latest=true&level=2&format_view_id=111&view_name=test
To get BOM records you need to make a GET call to the following url :
http://localhost:8888/api/BOM/Records
Result example :
[
{
"config_id": 0,
"key_id": 0,
"parent_key_id": 0,
"id": "string",
"parent_id": "string",
"parent_object_id": 0,
"record_id": 0,
"config_instance_id": 0,
"parent_config_instance_id": 0,
"child_obj_id": 0,
"order_index": 0,
"item_number": "string",
"level": "string",
"custom_properties": [
{
"system_name": "string",
"system_description": "string",
"value": "string"
}
]
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| config_id | query | long | Configuration Id. You can get from another method (http://localhost:8888/api/BOM/Variants). |
| object_id | query | long | Object Id. |
| record_id | query | long | Record Id. |
| version_index | query | integer | Version Index. You can get from another method (http://localhost:8888/api/BOM/Versions). |
| get_latest | query | boolean | Get Latest. |
| level | query | integer | Level. |
| format_view_id | query | integer | Format View Id. You can get from another method (http://localhost:8888/api/BOM/FormatView). |
| view_name | query | string | View Name. You can get from another method (http://localhost:8888/api/BOM/Views). |
| Authorization | header | string | Add Authorization header token |