from datetime import date
from meitner import Meitner, models
from meitner.utils import parse_datetime
import os
with Meitner(
security=models.Security(
client_credentials=os.getenv("MEITNER_CLIENT_CREDENTIALS", ""),
client_secret=os.getenv("MEITNER_CLIENT_SECRET", ""),
),
) as m_client:
res = m_client.student_placements.search(filter_={
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"student_id": "123e4567-e89b-12d3-a456-426614174000",
"school_id": "123e4567-e89b-12d3-a456-426614174000",
"has_childcare": True,
"mother_tongue": "example",
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archive_year": "example",
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"not_equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"student_id": "123e4567-e89b-12d3-a456-426614174000",
"school_id": "123e4567-e89b-12d3-a456-426614174000",
"has_childcare": True,
"mother_tongue": "example",
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archive_year": "example",
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"greater_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"smaller_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"greater_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"smaller_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"student_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"school_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"has_childcare": [
True,
],
"mother_tongue": [
"example",
],
"start_date": [
date.fromisoformat("2024-01-15"),
],
"end_date": [
date.fromisoformat("2024-01-15"),
],
"archive_year": [
"example",
],
},
"not_contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"student_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"school_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"has_childcare": [
True,
],
"mother_tongue": [
"example",
],
"start_date": [
date.fromisoformat("2024-01-15"),
],
"end_date": [
date.fromisoformat("2024-01-15"),
],
"archive_year": [
"example",
],
},
"like": {
"external": {
"source_id": "example",
"source": "example",
},
"mother_tongue": "example",
"archive_year": "example",
},
"not_like": {
"external": {
"source_id": "example",
"source": "example",
},
"mother_tongue": "example",
"archive_year": "example",
},
"null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"school_year": True,
"mother_tongue": True,
"end_date": True,
"archive_year": True,
"archived_at": True,
},
"not_null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"school_year": True,
"mother_tongue": True,
"end_date": True,
"archive_year": True,
"archived_at": True,
},
"or_condition": True,
}, limit=1, offset=0)
while res is not None:
# Handle items
res = res.next(){
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "987fcdeb-51a2-43d1-b567-123456789abc",
"updatedAt": "2024-01-15T14:45:00Z",
"updatedBy": "987fcdeb-51a2-43d1-b567-123456789abc"
},
"external": {
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"schoolType": "GR",
"schoolYear": "1",
"hasChildcare": true,
"motherTongue": "SWE",
"startDate": "2024-08-01",
"endDate": "2025-08-01",
"archiveYear": "2024_2025",
"archivedAt": "2024-08-01T00:00:00Z"
}
],
"pagination": {
"offset": 0,
"limit": 1,
"total": 100
}
}Search for StudentPlacements with filtering capabilities.
from datetime import date
from meitner import Meitner, models
from meitner.utils import parse_datetime
import os
with Meitner(
security=models.Security(
client_credentials=os.getenv("MEITNER_CLIENT_CREDENTIALS", ""),
client_secret=os.getenv("MEITNER_CLIENT_SECRET", ""),
),
) as m_client:
res = m_client.student_placements.search(filter_={
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"student_id": "123e4567-e89b-12d3-a456-426614174000",
"school_id": "123e4567-e89b-12d3-a456-426614174000",
"has_childcare": True,
"mother_tongue": "example",
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archive_year": "example",
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"not_equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"student_id": "123e4567-e89b-12d3-a456-426614174000",
"school_id": "123e4567-e89b-12d3-a456-426614174000",
"has_childcare": True,
"mother_tongue": "example",
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archive_year": "example",
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"greater_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"smaller_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"greater_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"smaller_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"start_date": date.fromisoformat("2024-01-15"),
"end_date": date.fromisoformat("2024-01-15"),
"archived_at": parse_datetime("2024-01-15T10:30:00Z"),
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"student_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"school_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"has_childcare": [
True,
],
"mother_tongue": [
"example",
],
"start_date": [
date.fromisoformat("2024-01-15"),
],
"end_date": [
date.fromisoformat("2024-01-15"),
],
"archive_year": [
"example",
],
},
"not_contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"student_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"school_id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"has_childcare": [
True,
],
"mother_tongue": [
"example",
],
"start_date": [
date.fromisoformat("2024-01-15"),
],
"end_date": [
date.fromisoformat("2024-01-15"),
],
"archive_year": [
"example",
],
},
"like": {
"external": {
"source_id": "example",
"source": "example",
},
"mother_tongue": "example",
"archive_year": "example",
},
"not_like": {
"external": {
"source_id": "example",
"source": "example",
},
"mother_tongue": "example",
"archive_year": "example",
},
"null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"school_year": True,
"mother_tongue": True,
"end_date": True,
"archive_year": True,
"archived_at": True,
},
"not_null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"school_year": True,
"mother_tongue": True,
"end_date": True,
"archive_year": True,
"archived_at": True,
},
"or_condition": True,
}, limit=1, offset=0)
while res is not None:
# Handle items
res = res.next(){
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "987fcdeb-51a2-43d1-b567-123456789abc",
"updatedAt": "2024-01-15T14:45:00Z",
"updatedBy": "987fcdeb-51a2-43d1-b567-123456789abc"
},
"external": {
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"schoolType": "GR",
"schoolYear": "1",
"hasChildcare": true,
"motherTongue": "SWE",
"startDate": "2024-08-01",
"endDate": "2025-08-01",
"archiveYear": "2024_2025",
"archivedAt": "2024-08-01T00:00:00Z"
}
],
"pagination": {
"offset": 0,
"limit": 1,
"total": 100
}
}The maximum number of StudentPlacements to return (default: 50) when searching StudentPlacements
The number of StudentPlacements to skip before starting to return results (default: 0) when searching StudentPlacements
Request body
Filter criteria to search for specific records
Show child attributes
OrCondition decides if this filter is within an OR-condition or AND-condition
Equality filters for StudentPlacement
Show child attributes
Unique identifier for the StudentPlacement
Metadata information for the StudentPlacement
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": "example",
"source": "example"
}The ID of the student the placement belongs to
The ID of the school the student is placed in
The school type for the student, if not provided on Create, the school type will be fetched from the school.
GR, GRAN, GY, GYAN, FS The school year the student is placed in
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Whether the student has childcare
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The start date of the placement
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
The timestamp the placement was archived for the student
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"hasChildcare": true,
"motherTongue": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z"
}Inequality filters for StudentPlacement
Show child attributes
Unique identifier for the StudentPlacement
Metadata information for the StudentPlacement
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": "example",
"source": "example"
}The ID of the student the placement belongs to
The ID of the school the student is placed in
The school type for the student, if not provided on Create, the school type will be fetched from the school.
GR, GRAN, GY, GYAN, FS The school year the student is placed in
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Whether the student has childcare
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The start date of the placement
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
The timestamp the placement was archived for the student
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"hasChildcare": true,
"motherTongue": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z"
}Greater than filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
The start date of the placement
The end date of the placement
The timestamp the placement was archived for the student
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
}Smaller than filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
The start date of the placement
The end date of the placement
The timestamp the placement was archived for the student
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
}Greater than or equal filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
The start date of the placement
The end date of the placement
The timestamp the placement was archived for the student
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
}Smaller than or equal filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
The start date of the placement
The end date of the placement
The timestamp the placement was archived for the student
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
}Contains filters for StudentPlacement
Show child attributes
Unique identifier for the StudentPlacement
Metadata information for the StudentPlacement
{
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": ["example"],
"source": ["example"]
}The ID of the student the placement belongs to
The ID of the school the student is placed in
The school type for the student, if not provided on Create, the school type will be fetched from the school.
The type of schooling the student is attending
GR, GRAN, GY, GYAN, FS The school year the student is placed in
The school year the student is attending
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Whether the student has childcare
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The start date of the placement
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
{
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"studentID": ["123e4567-e89b-12d3-a456-426614174000"],
"schoolID": ["123e4567-e89b-12d3-a456-426614174000"],
"hasChildcare": [true],
"motherTongue": ["example"],
"startDate": ["2024-01-15"],
"endDate": ["2024-01-15"],
"archiveYear": ["example"]
}Not contains filters for StudentPlacement
Show child attributes
Unique identifier for the StudentPlacement
Metadata information for the StudentPlacement
{
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": ["example"],
"source": ["example"]
}The ID of the student the placement belongs to
The ID of the school the student is placed in
The school type for the student, if not provided on Create, the school type will be fetched from the school.
The type of schooling the student is attending
GR, GRAN, GY, GYAN, FS The school year the student is placed in
The school year the student is attending
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Whether the student has childcare
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The start date of the placement
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
{
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"studentID": ["123e4567-e89b-12d3-a456-426614174000"],
"schoolID": ["123e4567-e89b-12d3-a456-426614174000"],
"hasChildcare": [true],
"motherTongue": ["example"],
"startDate": ["2024-01-15"],
"endDate": ["2024-01-15"],
"archiveYear": ["example"]
}LIKE filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": "example",
"source": "example"
}The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
{
"external": {
"sourceID": "example",
"source": "example"
},
"motherTongue": "example",
"archiveYear": "example"
}NOT LIKE filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": "example",
"source": "example"
}The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
{
"external": {
"sourceID": "example",
"source": "example"
},
"motherTongue": "example",
"archiveYear": "example"
}Null filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdBy": true,
"updatedAt": true,
"updatedBy": true
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{ "sourceID": true, "source": true }The school year the student is placed in
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
The timestamp the placement was archived for the student
{
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"schoolYear": true,
"motherTongue": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true
}Not null filters for StudentPlacement
Show child attributes
Metadata information for the StudentPlacement
{
"createdBy": true,
"updatedAt": true,
"updatedBy": true
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{ "sourceID": true, "source": true }The school year the student is placed in
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
The timestamp the placement was archived for the student
{
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"schoolYear": true,
"motherTongue": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true
}NestedFilters of the StudentPlacement, useful for more complex filters
{
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"hasChildcare": true,
"motherTongue": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z"
},
"notEquals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"studentID": "123e4567-e89b-12d3-a456-426614174000",
"schoolID": "123e4567-e89b-12d3-a456-426614174000",
"hasChildcare": true,
"motherTongue": "example",
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archiveYear": "example",
"archivedAt": "2024-01-15T10:30:00Z"
},
"greaterThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
},
"smallerThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
},
"greaterOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
},
"smallerOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
"startDate": "2024-01-15",
"endDate": "2024-01-15",
"archivedAt": "2024-01-15T10:30:00Z"
},
"contains": {
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"studentID": ["123e4567-e89b-12d3-a456-426614174000"],
"schoolID": ["123e4567-e89b-12d3-a456-426614174000"],
"hasChildcare": [true],
"motherTongue": ["example"],
"startDate": ["2024-01-15"],
"endDate": ["2024-01-15"],
"archiveYear": ["example"]
},
"notContains": {
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"studentID": ["123e4567-e89b-12d3-a456-426614174000"],
"schoolID": ["123e4567-e89b-12d3-a456-426614174000"],
"hasChildcare": [true],
"motherTongue": ["example"],
"startDate": ["2024-01-15"],
"endDate": ["2024-01-15"],
"archiveYear": ["example"]
},
"like": {
"external": {
"sourceID": "example",
"source": "example"
},
"motherTongue": "example",
"archiveYear": "example"
},
"notLike": {
"external": {
"sourceID": "example",
"source": "example"
},
"motherTongue": "example",
"archiveYear": "example"
},
"null": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"schoolYear": true,
"motherTongue": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true
},
"notNull": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"schoolYear": true,
"motherTongue": true,
"endDate": true,
"archiveYear": true,
"archivedAt": true
},
"orCondition": true
}Response for StudentPlacement Search operation - returns filtered StudentPlacement results
Array of StudentPlacement objects
Show child attributes
Unique identifier for the StudentPlacement
The ID of the student the placement belongs to
The ID of the school the student is placed in
The school type for the student, if not provided on Create, the school type will be fetched from the school.
GR, GRAN, GY, GYAN, FS "GR"
The start date of the placement
Metadata information for the StudentPlacement
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "987fcdeb-51a2-43d1-b567-123456789abc",
"updatedAt": "2024-01-15T14:45:00Z",
"updatedBy": "987fcdeb-51a2-43d1-b567-123456789abc"
}External is a reusable object that can be used to store external information about the student placement from another system, used for third-party integration tracking.
{
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
}The school year the student is placed in
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 "1"
Whether the student has childcare
The mother tongue of the student. Language codes follow the ISO 639-3 standard (three-letter codes).
The end date of the placement
The year the placement was archived for the student, in the format YYYY_YYYY where the first year is the autumn and the second year is the spring.
The timestamp the placement was archived for the student
Pagination information
{ "offset": 0, "limit": 1, "total": 100 }