Where Used (top levels)


# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/BOM/WhereUsed
       ?object_id=111&record_id=11111

This method gets the first two levels of parents for a specific record.

To get Where Used (in BOMs), you need to make a GET call to the following url :
http://localhost:8888/api/BOM/WhereUsed



Result example :

[
  {
    "revision": "string",
    "system_obj_nbs": "string",
    "system_obj_description": "string",
    "folder": "string",
    "version_index": 0,
    "checked_status": 0,
    "sub_object_guid": "string",
    "is_visibility_normal": true,
    "max_version": 0,
    "file_name": "string",
    "configuration": "string",
    "bom_source": "string",
    "record_id": 0,
    "object_id": 0,
    "record_guid": "string",
    "parent_object_id": 0,
    "parent_guid": "string",
    "object_type": 0,
    "is_latest": 0,
    "parent_record_id": 0,
    "parent_record_guid": "string",
    "level": 0,
    "key_id": "string",
    "parent_key_id": 0,
    "p_key_id": "string",
    "key_order_id": 0,
    "parent_version": 0,
    "date_modified": "string",
    "is_visible": true,
    "has_children": true,
    "grid_record_guid": "string"
  }
]

Query Parameters

Field Parameter Type Type Description
object_id query long Object Id.
record_id query long Record Id.
version query integer Version (Optional - default -1).
Authorization header string Add Authorization header token