Cannot find STD in prebuild endpoint API (but viewable through front-end)

Posts about the simPRO API. Help/support/how-to etc.
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
Tiago Valente
Posts: 89
Joined: Wed Sep 25, 2019 4:30 am

Cannot find STD in prebuild endpoint API (but viewable through front-end)

Post by Tiago Valente » Tue May 18, 2021 11:47 pm

Hi SIMPRO,

We are using the endpoint "api/v1.0/companies/2/prebuilds/" for prebuilds.

Through the front-end we can see plan "STD_PLN0001" for example.

But when we extract through the API, we cannot find "STD_PLN0001". Are we looking in the wrong spot or is this not available through the API?

Please refer to capture which has STD plans we cannot see in the API.

Thanks guys,

Tiago
Attachments
Capture.PNG
Capture.PNG (225.94 KiB) Viewed 4472 times
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: Cannot find STD in prebuild endpoint API (but viewable through front-end)

Post by Muqeet » Wed May 19, 2021 12:12 am

Hello Tiago,

Please send me a pm with build-url, company and prebuild id. I ll take a look.
Muqeet
API Developer | simPRO Software Group
Tiago Valente
Posts: 89
Joined: Wed Sep 25, 2019 4:30 am

Re: Cannot find STD in prebuild endpoint API (but viewable through front-end)

Post by Tiago Valente » Wed May 19, 2021 12:48 am

Thanks Muqeet,

PM sent
Tiago Valente
Posts: 89
Joined: Wed Sep 25, 2019 4:30 am

Re: Cannot find STD in prebuild endpoint API (but viewable through front-end)

Post by Tiago Valente » Wed May 19, 2021 3:39 am

Thanks Muqeet,

This was an error in my logic code which I've now fixed.

Thanks for confirming.
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: Cannot find STD in prebuild endpoint API (but viewable through front-end)

Post by Muqeet » Wed May 19, 2021 3:46 am

:)
Muqeet
API Developer | simPRO Software Group
Post Reply