Simpro API does not work!

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
romdlv
Posts: 5
Joined: Thu Oct 11, 2018 3:07 am

Simpro API does not work!

Post by romdlv » Tue Oct 16, 2018 5:45 am

I have tried to connect to the Simpro API

https://hickorygroup.simprosuite.com/api

I have created an API application within SimPro setup.

I have tried using both API Key and Resource Owner Credentials as Grant Types.

I am currently using Postman to connect to this API and no matter what I do to provide the required keys and parameters the connection does not take place.

It keeps coming up with error

401 Unauthorized

Can someone please assist asap.
rick.lan
Posts: 274
Joined: Wed May 30, 2018 6:14 am

Re: Simpro API does not work!

Post by rick.lan » Tue Oct 16, 2018 11:36 pm

Hi romdlv,

Please take a look the API documentation about how to authenticate your application/Postman:

http://developer.simprogroup.com/apidoc ... y-workflow


This is a quick example of using API Key, please make sure that your URL is starting from https://hickorygroup.simprosuite.com/api/v1.0/ (and replace your own API key ;) ):
Image

cheers,

Rick
Rick Lan
API Developer | simPRO Software Group
romdlv
Posts: 5
Joined: Thu Oct 11, 2018 3:07 am

Re: Simpro API does not work!

Post by romdlv » Wed Oct 17, 2018 1:38 am

Hi Rick,

Thanks for your response.

I have tried this previously and I get an error as below:

{"errors":[{"path":null,"message":"Invalid route.","value":null}]}

Regards,

Rom
rick.lan
Posts: 274
Joined: Wed May 30, 2018 6:14 am

Re: Simpro API does not work!

Post by rick.lan » Wed Oct 17, 2018 1:43 am

Hi Rom,

That looks better now, maybe you can try this URL:

Code: Select all

https://hickorygroup.simprosuite.com/api/v1.0/companies/4/customers/
to see if you are getting a list of customers.

Cheers,

Rick
Rick Lan
API Developer | simPRO Software Group
romdlv
Posts: 5
Joined: Thu Oct 11, 2018 3:07 am

Re: Simpro API does not work!

Post by romdlv » Fri Oct 19, 2018 4:21 am

Hi Rick,

I am now getting following information

ID
_href
CompanyName
GivenName
FamilyName

with data in them

Regards,

Rom
rick.lan
Posts: 274
Joined: Wed May 30, 2018 6:14 am

Re: Simpro API does not work!

Post by rick.lan » Tue Oct 23, 2018 1:19 am

Hi romdlv,

That looked correct to me, it works! ;)

cheers,

Rick
Rick Lan
API Developer | simPRO Software Group
Post Reply