Retrieving Issues for Equipment

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s