AidStudentAuthorization
The AidStudentAuthorization object
The AidStudentAuthorization object looks like this in JSON:
{
"object": "aid_student_authorization",
"id": 12,
"student_id": 18499,
"borrower_id": null,
"aid_authorization_id": 2,
"aid_year_id": 50,
"added_at": "2021-12-23T17:33:30+00:00",
"added_by_id": 24469716,
"sandbox": true
}
| Attribute | Required | Data Type |
|---|---|---|
| id | Yes | int |
| student_id | No | int |
| borrower_id | No | int |
| aid_authorization_id | Yes | int |
| aid_year_id | No | int |
| added_at | No | datetime |
| added_by_id | No | int |
| sandbox | No | bool |
index
Example code to call this method:
curl "https://yourschool.populiweb.com/api2/people/(person)/aidauthorizations/" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_POPULI_API_KEY" \
-X GET
require 'httparty'
response = HTTParty.get(
'https://yourschool.populiweb.com/api2/people/(person)/aidauthorizations/',
headers: {
'Authorization' => 'Bearer YOUR_POPULI_API_KEY'
},
)
puts response.body
import requests
response = requests.get(
'https://yourschool.populiweb.com/api2/people/(person)/aidauthorizations/',
headers={
'Authorization': 'Bearer YOUR_POPULI_API_KEY'
},
)
print(response.json())
using Newtonsoft.Json;
using RestSharp;
var client = new RestClient();
var request = new RestRequest(new Uri("https://yourschool.populiweb.com/api2/people/(person)/aidauthorizations/"), Method.Get);
request.AddHeader("Authorization", "Bearer YOUR_POPULI_API_KEY");
var response = client.Execute(request);
var response_object = JsonConvert.DeserializeObject(response.Content);
Console.Write(response_object);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'https://yourschool.populiweb.com/api2/people/(person)/aidauthorizations/');
curl_setopt($curl, CURLOPT_HTTPHEADER, ['Authorization: Bearer YOUR_POPULI_API_KEY']);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'GET');
$response = curl_exec($curl);
$response_decoded = json_decode($response);
var_dump($response_decoded);
Example response:
{
"object": "list",
"count": 1,
"results": 1,
"results_per_page": null,
"pages": 1,
"page": 1,
"offset": 0,
"has_more": false,
"data": [
{
"object": "aid_student_authorization",
"id": 13,
"student_id": 12,
"borrower_id": null,
"aid_authorization_id": 2,
"aid_year_id": 5,
"added_at": "2021-12-23T17:33:30+00:00",
"added_by_id": 16
}
],
"sandbox": true
}
Retrieves all AidStudentAuthorization objects tied to a specific Person.
HTTP Request
GET /people/(person)/aidauthorizations/
Parameters
None
Permissions
One of the following roles is required to call this method:
- Financial Aid