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.
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Mon Dec 07, 2020 11:50 pm
Hi , I am trying to fetch the mobile status logs for a company by passing the following query params as a part of my URL
The response json for the aforementioned request does not give me the status logs in descending order (Date Logged).
However when I go to the 'mobile status logs' page on my Simpro Dashboard and sort the table using the UI -> I get the correct order.
Could you please fix this so I can fetch the correct response from API as well ? Thanks.
-
Muqeet
- Posts: 772
- Joined: Mon Dec 03, 2018 3:24 am
Post
by Muqeet » Tue Dec 08, 2020 12:10 am
Seems to be working fine for both orders. Can you send me the build URL in a private message with parameters you are running to fetch the ordered resource list.
Muqeet
API Developer | simPRO Software Group
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Tue Dec 08, 2020 1:05 am
Done, Please let me know, Thanks.
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Tue Dec 08, 2020 3:41 am
Hi
I saved the response data in a json file. The first object in the response is of projectId 46987 (as shown in screenshot) whereas when I use the UI to get the mobile status logs and arrange it in descending order (Date) I get 47116 as the top entry which is the expected result.
-
Attachments
-

- response.png (94.44 KiB) Viewed 7445 times
-

- Screen Shot 2020-12-08 at 2.25.15 pm.png (200.75 KiB) Viewed 7445 times
-
Muqeet
- Posts: 772
- Joined: Mon Dec 03, 2018 3:24 am
Post
by Muqeet » Tue Dec 08, 2020 4:43 am
Mobile Status Log Report and logs api for mobile status, are not identical in terms of displaying logs.
Muqeet
API Developer | simPRO Software Group
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Tue Dec 08, 2020 5:00 am
Could you please elaborate on that ? I am unable to find the 47116 job as a part of the response , in other words that entry is missing , does it take a while for that entry to reflect , like a day or two ?
-
Muqeet
- Posts: 772
- Joined: Mon Dec 03, 2018 3:24 am
Post
by Muqeet » Tue Dec 08, 2020 5:27 am
If an entry is missing, than its a bug. I will investigate the issue and will update this thread accordingly.
Muqeet
API Developer | simPRO Software Group
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Tue Dec 08, 2020 5:36 am
Alright , Thanks.
-
rish
- Posts: 17
- Joined: Thu Sep 10, 2020 4:59 am
Post
by rish » Mon Dec 14, 2020 1:20 am
Hey
I am getting the correct response now. Thanks.
-
Attachments
-

- Screen Shot 2020-12-14 at 12.14.19 pm.png (121.24 KiB) Viewed 7407 times