I’m new here and really appreciate all the detailed advice I’ve seen on this forum. I have a question about API access for one of my clients.
We’ve built a custom AI solution for auto-quoting incoming emails, which has been working well by reading directly from the database. Now, the client wants to add order intake features, and I’d prefer to use the Epicor API for this.
When trying to use the REST API, I can generate tokens, but when going further I’m encountering this error:
No license found
System.Security.SecurityException
My client doesn’t currently use APIs and is unsure if they have access within their subscription. Interestingly, I’ve had some success getting SOAP to work beyond just issuing tokens.
I have two main questions:
Does Epicor charge extra for REST API access?
If my client has access to SOAP APIs, does that typically mean they should also have access to REST APIs?
And if REST API is included by default, what’s involved in enabling it?
Any insights would be greatly appreciated. Thanks in advance for your help!
I can’t say for sure about P21, but I would assume that, like Kinetic, the API is part of the main system and does not require additional licensing. What method of authentication are you using?
I’m currently working on the staging server. For authentication, I’m using the API Grant Type: Password, which provides me with a bearer token.
Interestingly, I seem to be able to use this token successfully with SOAP services to achieve what I need. However, all calls to REST services result in the aforementioned error.
Additionally, when I access the Prophet 21 Transaction API - Service Explorer and attempt to get definitions, all the “select service” options come up blank. When trying to get a definition, I receive the following error:
{
...
"ErrorMessage": "No license found",
"ErrorType": "System.Security.SecurityException"
...
}