Plant Custom Fields returns empty array even though there's data.

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
bgur
Posts: 97
Joined: Sat Apr 27, 2019 10:23 am

Plant Custom Fields returns empty array even though there's data.

Post by bgur » Wed Oct 19, 2022 9:26 pm

When Accessing this endpoint: /api/v1.0/companies/{companyID}/plantTypes/{plantTypeID}/plants/?columns=ID,CustomFields

The custom fields returns an empty array even though there is data in custom fields.

eg:

{
"ID": 124,
"CustomFields": []
},

Could you please help with this.
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: Plant Custom Fields returns empty array even though there's data.

Post by robbertcha » Wed Oct 19, 2022 10:39 pm

Hi,

Thank you for posting this. We can confirm that it is a bug and we will update you when the issue is fixed and released, meanwhile please keep an eye on API release update, thank you.

viewforum.php?f=3

Regards.
Robbert
API Developer | simPRO Software Group
bgur
Posts: 97
Joined: Sat Apr 27, 2019 10:23 am

Re: Plant Custom Fields returns empty array even though there's data.

Post by bgur » Wed Oct 19, 2022 10:56 pm

Thank You.
bgur
Posts: 97
Joined: Sat Apr 27, 2019 10:23 am

Re: Plant Custom Fields returns empty array even though there's data.

Post by bgur » Mon Nov 07, 2022 6:16 am

I notice that you've released an update to the API, but this bug wasn't addressed...
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: Plant Custom Fields returns empty array even though there's data.

Post by robbertcha » Mon Nov 07, 2022 10:14 pm

HI,

Yes, we are still working on this issue, so please keep an eye on API release update, thank you.

API Release Update
viewforum.php?f=3
Robbert
API Developer | simPRO Software Group
bgur
Posts: 97
Joined: Sat Apr 27, 2019 10:23 am

Re: Plant Custom Fields returns empty array even though there's data.

Post by bgur » Mon Nov 07, 2022 10:17 pm

Thanks Robert.
bgur
Posts: 97
Joined: Sat Apr 27, 2019 10:23 am

Re: Plant Custom Fields returns empty array even though there's data.

Post by bgur » Tue Nov 22, 2022 10:47 pm

Looks like this has been fixed...
Post Reply