Allow test readings values to be set without maintenance planner

Wish the API had something it doesn't? Post here!
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
taskerdev
Posts: 6
Joined: Wed Jan 24, 2024 12:10 pm

Allow test readings values to be set without maintenance planner

Post by taskerdev » Mon Jul 15, 2024 10:15 am

It is of my understanding that test readings can be set without service levels on SimPRO's front-end. However, this is not reflected in the API, instead asking for a service level to be provided.

Attempting to set the service level within the request will also return a Slim Application Error (500).

Could this please be looked into? Thanks.
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Allow test readings values to be set without maintenance planner

Post by SimproAPITeam » Tue Jul 16, 2024 1:48 am

Definitely, we will raise a ticket to investigate this, can you share the endpoint you were using?

Thank you
Simpro API Team | Simpro Software Group
taskerdev
Posts: 6
Joined: Wed Jan 24, 2024 12:10 pm

Re: Allow test readings values to be set without maintenance planner

Post by taskerdev » Tue Jul 16, 2024 4:04 pm

I'm using the following API route:

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

https://developer.simprogroup.com/apido ... ba8e2a80cf
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Allow test readings values to be set without maintenance planner

Post by SimproAPITeam » Wed Jul 17, 2024 12:51 am

Thanks for the info,

Can you also PM us your build URL as well ?
Simpro API Team | Simpro Software Group
taskerdev
Posts: 6
Joined: Wed Jan 24, 2024 12:10 pm

Re: Allow test readings values to be set without maintenance planner

Post by taskerdev » Wed Jul 31, 2024 8:39 am

Are there any updates on this? This issue is preventing us from deploying a product for one of our customers.
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Allow test readings values to be set without maintenance planner

Post by SimproAPITeam » Thu Aug 01, 2024 6:06 am

Hi taskerdev,

We've responded to ur PM, you need to include the serviceLevel when you try to patch the testReadings.
Simpro API Team | Simpro Software Group
taskerdev
Posts: 6
Joined: Wed Jan 24, 2024 12:10 pm

Re: Allow test readings values to be set without maintenance planner

Post by taskerdev » Thu Aug 01, 2024 9:01 am

Hi,

As mentioned in my first message, I already tried to append the serviceLevel, which resulted in a 500 error. I have screenshots of this happening.

I just tried the same request again and the data went through, I assume that the bug has been fixed :) thanks!
Post Reply