Is it possible to retrieve a site without parts mapped using the site_parts API?

Created by Atif Ikramuddin, Modified on Tue, 26 Aug at 7:34 PM by Atif Ikramuddin

  • No, only the sites with parts mapped will be available in the site_parts API.
  • To retrieve site related details, use sites or site_details API endpoint.
  • Sites that have no parts mapped will have the value "0" in the “number_of_parts_mapped” field in the site_details API endpoint.
  • To retrieve such sites with no parts mapped, you can apply the following filter in the site_details API URL: https://api.resilinc.com/v1/site_details?number_of_parts_mapped=eq.0

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article