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
Manage Notice Emails
POST - https://rest.triand.com/Access/adminEmailNoticeList
Required Parameters: (JSON)
| Parameter | Business Rule / Regex | Description |
|---|---|---|
| action | /(list|add|remove)/ | Action to perform: list, add, or remove |
| /^\w$/ | Email address to add or remove (blank for list action) |
List Example
CURL
curl -X POST https://rest.triand.com/Access/adminEmailNoticeList \
-H "Authorization: Bearer eyJ....really long string...ItCJA" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"action": "list", "email": ""}' Javascript fetch
let url = 'https://rest.triand.com/Access/adminEmailNoticeList';
let parameters = { action: 'list', email: '' }
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 response = await fetch(url, opts); Add Example
CURL
curl -X POST https://rest.triand.com/Access/adminEmailNoticeList \
-H "Authorization: Bearer eyJ....really long string...ItCJA" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"action": "add", "email": "support@triand.com"}' Javascript fetch
let url = 'https://rest.triand.com/Access/adminEmailNoticeList';
let parameters = { action: 'add', email: 'support' }
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 response = await fetch(url, opts); ''