Get a new start tracker entry
curl --request GET \
--url https://{host}/primula/api/v3/new_start_tracker/{student_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/primula/api/v3/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/new_start_tracker/{student_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{
"student_id": "<string>",
"student_name": "<string>",
"school_id": "<string>",
"school_name": "<string>",
"procare_student_status": "<string>",
"ems_student_status": "<string>",
"room_id": "<string>",
"room_name": "<string>",
"start_date": "<string>",
"days_to_start_date": 123,
"program": "<string>",
"program_tuition_weekly": 123,
"program_tuition_monthly": 123,
"pro_rate_factor_sd": 123,
"billing_cycle": "<string>",
"siblings": "<string>",
"service_start_end_invoice_calculated": 123,
"service_start_end_invoice_invoiced": 123,
"service_start_invoiced": "<string>",
"service_end_invoiced": "<string>",
"invoice_alert": "<string>",
"billing_plan": "<string>",
"alerts": [
{
"id": "<string>",
"level": 123,
"description": "<string>"
}
]
}New start tracker
Get a new start tracker entry
The student UUID identifies the entry. Requires schools assigned to the session. Collection filters do not apply. A student outside the session schools returns 403; no applicable entry returns 404.
GET
/
new_start_tracker
/
{student_id}
Get a new start tracker entry
curl --request GET \
--url https://{host}/primula/api/v3/new_start_tracker/{student_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/primula/api/v3/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_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/new_start_tracker/{student_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/new_start_tracker/{student_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{
"student_id": "<string>",
"student_name": "<string>",
"school_id": "<string>",
"school_name": "<string>",
"procare_student_status": "<string>",
"ems_student_status": "<string>",
"room_id": "<string>",
"room_name": "<string>",
"start_date": "<string>",
"days_to_start_date": 123,
"program": "<string>",
"program_tuition_weekly": 123,
"program_tuition_monthly": 123,
"pro_rate_factor_sd": 123,
"billing_cycle": "<string>",
"siblings": "<string>",
"service_start_end_invoice_calculated": 123,
"service_start_end_invoice_invoiced": 123,
"service_start_invoiced": "<string>",
"service_end_invoiced": "<string>",
"invoice_alert": "<string>",
"billing_plan": "<string>",
"alerts": [
{
"id": "<string>",
"level": 123,
"description": "<string>"
}
]
}Authorizations
Access token issued by POST /sessions and associated with a valid server-side session.
Path Parameters
UUID identifying this student.
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.
Response
Successful response.
New Start Student.
Student id.
School id.
Room id.
Show child attributes
Show child attributes