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.
-
Test Inc
- Posts: 17
- Joined: Tue Aug 20, 2019 2:34 pm
Post
by Test Inc » Thu Aug 05, 2021 12:57 pm
I know you can search a site or lead on a customfield value, but is there a way to search a job or quote on this too?
I've tried...
Code: Select all
companies/0/jobs/?CustomFields.CustomField.ID=32&CustomFields.CustomField.Value=Received
Code: Select all
companies/0/quotes/?CustomFields.CustomField.ID=32&CustomFields.CustomField.Value=Received
But just comes back with
Code: Select all
Array
(
[header] => HTTP/1.1 500 Internal Server Error
Strict-Transport-Security: max-age=15768000; includeSubdomains
Access-Control-Allow-Origin: *
Content-type: text/html; charset=UTF-8
Content-Length: 0
Connection: close
Date: Thu, 05 Aug 2021 12:56:40 GMT
Server: lighttpd
[result] =>
)
Ta
Ian
-
Muqeet
- Posts: 772
- Joined: Mon Dec 03, 2018 3:24 am
Post
by Muqeet » Fri Aug 06, 2021 1:59 am
Hello Ian,
Thanks for letting us know about the issue. Have created a ticket to look into it asap.
Muqeet
API Developer | simPRO Software Group
-
Test Inc
- Posts: 17
- Joined: Tue Aug 20, 2019 2:34 pm
Post
by Test Inc » Fri Aug 06, 2021 7:31 am
D'oh. I have figured it out.
I was calling
Code: Select all
companies/0/jobs/?CustomFields.CustomField.ID=32&CustomFields.CustomField.Value=Received
instead of
Code: Select all
companies/0/jobs/?CustomFields.CustomField.ID=32&CustomFields.Value=Received
and now it's working fine