Page 1 of 1

Testing Reading in Work Order Asset not show all test result

Posted: Mon Mar 03, 2025 4:54 am
by VincentHoang
Hi Team,

We have set up test readings for an asset type that includes approximately 35 test readings.

After completing the testing, we attempted to retrieve the test readings using the Job Work Order Asset Endpoint:

{{base_url}}jobs/:jobid/sections/:sectionid/costCenters/:costcenterid/workOrders/:workorderid/assets/

However, the response only returns 30 test readings per asset instead of the expected 35.

Could you please investigate this issue?

Best regards,
Vincent Hoang

Re: Testing Reading in Work Order Asset not show all test result

Posted: Fri Mar 07, 2025 5:22 am
by SimproAPITeam
Hi,
The default page size returned is 30. Can you check the header info if there is a page two that contains the remaining data.

If you have increased the page size or page two is empty please create a ticket with our help desk so they can try to recreate the issue.

Regards

Re: Testing Reading in Work Order Asset not show all test result

Posted: Fri Mar 14, 2025 12:17 am
by VincentHoang
Hi Team,

The issue is not with the number of assets returned in the response—I understand that I can adjust the pageSize to retrieve more assets.

The actual issue is with the sub-data of an asset, specifically the asset test readings. Unlike assets, the number of test readings displayed cannot be controlled by modifying the pageSize.

For reference, I am using the following endpoint:
https://developer.simprogroup.com/apido ... ed8bae3589

As shown in the documentation, TestReadings is an array within each asset:

Code: Select all

"TestReadings": [
  {
    "TestReading": {},
    "Value": "string"
  }
]
Best regards,
Vincent Hoang

Re: Testing Reading in Work Order Asset not show all test result

Posted: Fri Mar 14, 2025 7:37 am
by SimproAPITeam
Hi Vincent,

Sorry we have misunderstood ur enquiry. This seems like a bug can you please raise it through our support please.

more info: viewtopic.php?f=3&t=2675