Therapists
Create a new therapist
Changed onCreate a new therapist for school districts
post/therapists
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/therapists
- Auth: none declared
Request body
Example request
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"first_name": "Kevin",
"last_name": "Matilda",
"schools": [
1,
2
],
"district_id": 2,
"email": "email123@example.com"
}Response
Therapist created successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"first_name": "Kevin",
"last_name": "Matilda",
"email": "email123@example.com",
"schools": [
1,
2
],
"district_id": 2,
"school_names": [
"Generate High",
"Sherman Center for Academic Excellence"
],
"district_name": "Generate Public Schools",
"active": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:35:00Z"
}Changes
- ▲
added the new required request property
- ▲
- ▲
added the new required request property
- ○
added the new optional request property
- ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status
- ▲