curl --request PATCH \
--url https://{host}/primula/api/v3/waitlist/{student_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"preferred_start_date": "2030-09-01"
}
'import requests
url = "https://{host}/primula/api/v3/waitlist/{student_id}"
payload = { "preferred_start_date": "2030-09-01" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({preferred_start_date: '2030-09-01'})
};
fetch('https://{host}/primula/api/v3/waitlist/{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/waitlist/{student_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'preferred_start_date' => '2030-09-01'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/primula/api/v3/waitlist/{student_id}"
payload := strings.NewReader("{\n \"preferred_start_date\": \"2030-09-01\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://{host}/primula/api/v3/waitlist/{student_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"preferred_start_date\": \"2030-09-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/waitlist/{student_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"preferred_start_date\": \"2030-09-01\"\n}"
response = http.request(request)
puts response.read_body{
"student_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"student_name": "<string>",
"school_id": "<string>",
"school_name": "<string>",
"birth_date": "<string>",
"current_age_months": 123,
"preferred_start_date": "<string>",
"preferred_start_date_last_update": "<string>",
"preferred_start_date_age_at": 123,
"preferred_start_date_is_past_date": true,
"period_if_room_is_elegible": [
{
"room_id": "<string>",
"room_name": "<string>",
"period_name": "<string>"
}
],
"row_has_elegible_room": true,
"joined_waitlist": "<string>",
"siblings": "<string>",
"has_alerts": true,
"is_intellikid_student": true,
"school_color_hex": "<string>",
"school_short_name": "<string>",
"procare_desktop_enrollment_status": "<string>",
"procare_student_status": "<string>"
}Update preferred start date
The student must exist in Waitlist onboarding status and belong to a school assigned to the session. preferred_start_date must be later than today. Recomputes and returns the waitlist entry and room eligibility. Clearing this date is not supported. The update may have executed if the subsequent read returns 500.
curl --request PATCH \
--url https://{host}/primula/api/v3/waitlist/{student_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"preferred_start_date": "2030-09-01"
}
'import requests
url = "https://{host}/primula/api/v3/waitlist/{student_id}"
payload = { "preferred_start_date": "2030-09-01" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({preferred_start_date: '2030-09-01'})
};
fetch('https://{host}/primula/api/v3/waitlist/{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/waitlist/{student_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'preferred_start_date' => '2030-09-01'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/primula/api/v3/waitlist/{student_id}"
payload := strings.NewReader("{\n \"preferred_start_date\": \"2030-09-01\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://{host}/primula/api/v3/waitlist/{student_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"preferred_start_date\": \"2030-09-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/primula/api/v3/waitlist/{student_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"preferred_start_date\": \"2030-09-01\"\n}"
response = http.request(request)
puts response.read_body{
"student_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"student_name": "<string>",
"school_id": "<string>",
"school_name": "<string>",
"birth_date": "<string>",
"current_age_months": 123,
"preferred_start_date": "<string>",
"preferred_start_date_last_update": "<string>",
"preferred_start_date_age_at": 123,
"preferred_start_date_is_past_date": true,
"period_if_room_is_elegible": [
{
"room_id": "<string>",
"room_name": "<string>",
"period_name": "<string>"
}
],
"row_has_elegible_room": true,
"joined_waitlist": "<string>",
"siblings": "<string>",
"has_alerts": true,
"is_intellikid_student": true,
"school_color_hex": "<string>",
"school_short_name": "<string>",
"procare_desktop_enrollment_status": "<string>",
"procare_student_status": "<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.
Body
Update Waitlist Request.
Required future date. Today, past dates, empty strings and null are rejected.
Response
Successful response.
Waitlist.
Student id.
School id.
Show child attributes
Show child attributes