Accessing/creating customers via API

Greetings everyone! I’m currently in the process of trying to integrate our website’s billing management system with the C1 API and I’ve been instructed to post here for assistance. If I’m in the wrong forum, please just point me in the right direction.

From what I’ve scoured up from the documentation available online, I believe what I want to interact with is the 3rd party company API. The documentation shows only a POST to create a company, but I assume that it can also be used to get company information, as well. So, I tried interacting with the service. From the documentation, I see that I need a bearer token for authorization and that turns me to the authentication service. The problem exists in the “[in] order to access Authentication API TLS Client Certificate Verification is also performed” part. I can only assume that’s why I get this error when trying to interact with the endpoint:

“timestamp”: 1526072192557,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Full authentication is required to access this resource”,
“path”: “/auth/login”

So I’m guessing that I need to submit a CSR for a client certificate?

Basically, what I’m trying to do is allow our users to keep their company information in C1 up to date via our existing account management/billing system. Eventually, we’d really like to interact with the service desk to pull ticket information, charging information, materials, etc. to avoid having to double-enter this data. I haven’t made it far enough in my adventure into the API to determine if that’s possible, though, so I’m hoping somebody here can shed some light on it for me.

Thanks a ton in advance!

  • Jonathan

@jiffsoft ,

We thank you for sharing the output of your test. We’ll coordinate with our Product Developers and provide you a feedback as soon as possible. Please stand by as we try to get the answers for you.