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.
-
jakub.stambachr
- Posts: 3
- Joined: Fri Jul 24, 2020 5:28 am
Post
by jakub.stambachr » Fri Jul 24, 2020 5:30 am
Hi.
We have an application that's been working for about 5 years. This app uses your old version of the API:
http://api.simpro.co/index.html. Without any changes to our application the EmployeeInsert endpoint started returning InternalServerError (500). I am working with this instance:
https://enterprise-sandbox-nz.simprosuite.com/api/. Has there been any change to the API? I am including a sample request json body that we are sending:
Code: Select all
{
"id": 0,
"method": "EmployeeInsert",
"params": [
38,
{
"EmployeeName": "Ronald Toquib",
"HomeAddress": null,
"HomeSuburb": null,
"HomeState": null,
"HomePostcode": null,
"HomeCountry": null,
"Phone1": null,
"Mobile": null,
"Fax": null,
"Email": null,
"Active": "Yes"
},
false
]
}
Thanks,
Jakub
-
jakub.stambachr
- Posts: 3
- Joined: Fri Jul 24, 2020 5:28 am
Post
by jakub.stambachr » Mon Jul 27, 2020 8:10 am
Adding to this...when running the request from our program I always get 500 internal server error. If I send the same request from Postman I sometimes get 500 Internal Server Error and sometimes I get 401 Unauthorized:
Code: Select all
{
"result": null,
"error": {
"faultCode": 0,
"faultString": "Access Denied:Invalid signature"
},
"id": "0"
}
-
vaughan
- Posts: 43
- Joined: Wed May 30, 2018 6:14 am
Post
by vaughan » Tue Jul 28, 2020 12:07 am
Hi Jakub,
We can see there is an issue on our end. We will address the issue in an upcoming release. Your reference ticket is SIM-23463
-
jakub.stambachr
- Posts: 3
- Joined: Fri Jul 24, 2020 5:28 am
Post
by jakub.stambachr » Tue Jul 28, 2020 5:53 am
Hi Vaughn, thanks for your response. When is your next release planned for? And where can I track the ticket using the reference number you shared?
Thanks.
Jakub
-
vaughan
- Posts: 43
- Joined: Wed May 30, 2018 6:14 am
Post
by vaughan » Tue Jul 28, 2020 6:01 am
We do releases every fortnight, however the fix needs to first go through our standard QA process so will only be assigned a release once this has happened.
If you are after an update just post to this thread and we can check the ticket for you.