ACCESS API
Account Management
Account Owners
Arkansas Civics Test
Community Service Learning
Data Services Agreements
Online Testing
Private Schools
Smart Core
Student Transcripts
Advanced Searching
OneRoster API
Common to all API Calls
The URL host for all calls is - https://rest.triand.com
All API calls require a valid JWT token in the Authorization header which can be obtained in the below section titled "Security Credentials".
An Application Firewall validates all REST calls for exact parameter names and data types.
Calling the REST Endpoints
All REST calls to /Access are HTTP POST calls with any parameters being passed as Content-Type: application/json.
Using CURL this looks like:
curl -X POST https://rest.triand.com/Access/studentApplication \
-H "Authorization: Bearer eyJ....really long string...ItCJA" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{ "stateid": "123456789" }'
Using Javascript fetch this looks like:
let parameters = { stateid: '123456789' }
let opts = {
method: 'POST',
headers: {
'Authorization' = 'Bearer eyJ....really long string...ItCJA'
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify(parameters),
withCredentials: false,
credentials: 'include',
}
let url = 'https://rest.triand.com/Access/studentApplication';
let response = await fetch(url, opts);
REST Responses
All REST calls return at least the following two fields:
| Field | Business Rule / Regex | Description |
|---|---|---|
| actionOk | boolean | Did the action complete successfully |
| error | [string] | Array of strings, first string is error return |
There are some error responses that are common to all REST calls:
| Error | Description |
|---|---|
| wall-jwt-no-decode | The Security JWt token has expired. You will need to log in again. |
| wall-no-api-spec | The REST Endpoint is not valid. Check the endpoint spelling. |