Page 1 of 1

500 Slim Application error - Job Cost Centre Work Order Assets

Posted: Thu Oct 24, 2024 8:28 pm
by iconone
Hi,

I'm currently importing a job from another system that has approx. 2100 assets and test readings.

Because of the number of assets and the relatively small number of Work Orders (10), I'm using PATCH multiple.

PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/multiple/

However when I call the above route, I get a 500 slim application error.

When I try updating individual assets, I get a 404 error.
e.g. PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/${assetID}


If this helps, this is the order of API calls.
  • Site
    Job
    Cost Centre
    Schedules
    Work Orders
    Site Customer Assets
    Job Cost Centre Work Order Assets (point of failure)

Let me know if you need me to DM further details such as build URL.

Thanks!

Re: 500 Slim Application error - Job Cost Centre Work Order Assets

Posted: Fri Oct 25, 2024 6:22 am
by SimproAPITeam
Hi iconone,
Thank you for reporting this.

Could you please submit a case to Simpro help desk. They will be able to investigate this on the relevant build and create a defect if necessary.

Please include the information you've attached here as well as your build details.

https://helpdesk.simprogroup.com/

Thank you!

Regards