Page 1 of 1

Found issue with API

Posted: Fri Oct 18, 2024 11:32 am
by johntrickett
Good afternoon,

I've been testing using the enterprise-sandbox-uk build, and noticed something unusual on the /api/v1.0/companies/:companyID/customerAssets/ endpoint.

When performing the List all customer assets with sites request against company ID 2, there is a successful response but with an empty array - despite there being records there. If I then perform the /api/v1.0/companies/:companyID/customerAssets/:customerAssetID GET request on a record, I can see the data.

To replicate the issue:

buildUrl = https://enterprise-sandbox-uk.simprosuite.com
companyId = 2
customerAssetId = 607

This shows in the retrieve request but not in the list request. It's not consistent across companies. Obviously not an issue if it is only restricted to sandbox - but if this impacts production builds it could be problematic.

Re: Found issue with API

Posted: Fri Oct 25, 2024 3:56 am
by SimproAPITeam
Hi johntrickett,
Thank you for reporting this.

Could you please submit the information you have posted here through our Simpro helpdesk. That way we get it through the appropriate channels and they will investigate this on the relevant build and create a defect if necessary.

https://helpdesk.simprogroup.com/

Thank you!

Regards