Skip to main content

AssignmentPro API - How to access API technical documentation

Calls to the API are secured using JSON Web Tokens, which utilize the GUID and Secret Key configured in the API Subscription Manager screen. JWTs are constructed programmatically by external systems i

Updated over 2 weeks ago

Calls to the API are secured using JSON Web Tokens, which utilize the GUID and Secret Key configured in the API Subscription Manager screen. JWTs are constructed programmatically by external systems integrated with the API and can also be tested using a specific endpoint available in Swagger.

AssignmentPro's Swagger documentation portal lets technical end users explore the API framework and see which endpoints they have access to based on their Subscription and therefore permission sets. This provides both technical documentation and usage without needing another program to interact with the API.

An API Subscriber must be created and have a GUID and Secret Key generated for them. As part of the API Subscriber creation, login credentials will be emailed to the user and once the user has changed their password, they will be able to access Swagger.

mceclip0.png

After logging in, users will see the Swagger documentation that API Subscriber is authorized to access. In this example, the API Subscriber has an AIRINC API subscription.

mceclip0.png

When logged into Swagger, users are able to:

  1. view the different endpoints they have access to based on their API Subscriptions

  2. use the built in functionality to look at example requests and responses. The examples will also include the expected data type for each key/value

  3. make calls to the API from this page using the "Try it out" button

Below are examples taken from Swagger where the API Subscriber has a subscription to the People API:

Swagger.png

swagger_2.png
Did this answer your question?