Aidbox Administration System API - Implementation Template
Prerequisites
Aidbox Configuration
The following describes how to configure the Aidbox API.
Creating an app in Aidbox
- Log in to Aidbox and click New Box.
- Enter a name for the box, along with 4.0.1 or FHIR version and select a Zone. Finally click Create.
- Take note of the URL provided under the box name.
Create Credentials
Click the link (noted above) to enter your Aidbox instance. In the left column select REST Console. In the
REST console window, run the following commands.
PUT Client/auth-clientsecret: <yoursecret>
grant_types:
- client_credentials
PUT AccessPolicy/auth-clientengine: allow
link:
- id: auth-client
resourceType: Client
POST /auth/token
Content-Type: application/json{
"client_id": "auth-client",
"client_secret": "<yoursecret>",
"grant_type": "client_credentials"
}
The final command isn't necessary for setup, but when ran should return a valid
token. If not, double check the config you ran prior. If it worked, take note of
the client_id and client_secret values as we need them later to set
in the property files.