Retrieving Issues for Equipment
09/01/2015
There is a small API enhancement that was made available in the latest update of BIM 360 Field. It allows you to retrieve a list of issues related to a given equipment.
POST /fieldapi/issues/v1/search request has two additional parameters, source_id and source_type:
- source_id – an id of source object, i.e., task or equipment, whose issues you would like to retrieve.
- source_type – a type of source/parent objects, i.e., “Task” or “Equipment”.
Using these parameters, the following request will return all issues under equipment including all issues coming from checklists attached to the equipment with one call:
https://bim360field.autodesk.com/fieldapi/issues/v1/search?ticket={{ticket}}
&project_id={{project_id}}
&source_id={{equipment_id}}
&source_type=Equipment
(Note: line breaks are added for readability.)
For similar topics about the usage of issues/search, please refer to my previous posts, e.g.:
Mikako