curl --request GET \
--url https://{host}/primula/api/v3/students/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/primula/api/v3/students/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/primula/api/v3/students/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/primula/api/v3/students/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/primula/api/v3/students/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/primula/api/v3/students/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/students/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "33333333-3333-4333-8333-333333333333",
"first_name": "Example",
"last_name": "Student"
}Get a student
Scoped to company_id; the handler does not restrict this read to the session school assignments. Requires school_id. Returns the full student or the requested field projection. This item read does not apply the collection’s session-school assignment check.
curl --request GET \
--url https://{host}/primula/api/v3/students/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/primula/api/v3/students/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/primula/api/v3/students/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/primula/api/v3/students/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/primula/api/v3/students/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/primula/api/v3/students/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/students/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "33333333-3333-4333-8333-333333333333",
"first_name": "Example",
"last_name": "Student"
}Authorizations
Access token issued by POST /sessions and associated with a valid server-side session.
Path Parameters
UUID identifying this resource.
Query Parameters
Company UUID. Must equal the authenticated session company when that session has a company assigned; the equality check is skipped for sessions without one.
School UUID.
Select response properties. Unknown names return 400. Accepts repeated query parameters or comma-separated values; empty entries are dropped and surrounding whitespace is trimmed.
id, monday_item_id, first_name, last_name, school_id, school_name, birth_date, admission_date, procare_student_status, ems_student_status, room_name, room_id, is_procare_desktop_classroom_schedule_room, start_date, start_date_ems_entry, procare_start_date, preferred_start_date, withdrawal_date, withdrawal_date_ems_entry, withdrawal_date_estimated, procare_withdrawal_date, transition_date, transition_room, transition_room_id, transition_room_override, transition_room_override_id, transition_date_2, transition_room_2, transition_room_2_id, days_in_room, room_changed_at, last_valid_room_changed_at, old_room, billing_plan, part_time, siblings, staff_child, ems_start_date, ems_withdrawal_date, lead_source, color_hex, short_name, family_balance, parent_1_name, parent_1_email, parent_1_mobile_phone, parent_2_name, parent_2_email, parent_2_mobile_phone, family_id, last_day_attended, days_since_last_attendance, procare_desktop_status_end_date, procare_desktop_enrollment_status, procare_desktop_status_end_date_next, procare_desktop_enrollment_status_next, is_created_from_procare_desktop, enrollment_id, days_enrolled, months_enrolled, age_at_start_date, age_at_withdrawal_date, enrollment_eligibility, eligible_months_capture, eligible_months_lost, withdrawal_type, transition_alert, transition_alert_1_clear, transition_alert_2_clear, transition_data_updated_by, transition_data_updated_at, tracker_new_class, address, field_labels, alerts Response
Successful response.
- Option 1
- Option 2
Student.
Monday item id.
School id.
Address.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes