Skip to main content
GET
/
student-placement
Python (SDK)
from meitner import Meitner, models
import os


with Meitner(
    security=models.Security(
        option1=models.SecurityOption1(
            client_credentials=os.getenv("MEITNER_CLIENT_CREDENTIALS", ""),
            client_secret=os.getenv("MEITNER_CLIENT_SECRET", ""),
        ),
    ),
) as m_client:

    res = m_client.student_placements.list(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",
      "modernLanguageAlternative": "EN",
      "swedishAsSecondLanguage": false,
      "motherTongueParticipates": false,
      "modernLanguageInSchoolChoice": "deu",
      "modernLanguageInLanguageChoice": "fra",
      "startDate": "2024-08-01",
      "endDate": "2025-08-01",
      "archiveYear": "2024_2025",
      "archivedAt": "2024-08-01T00:00:00Z"
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 1,
    "total": 100
  }
}

Authorizations

Client-ID
string
header
required
Client-Secret
string
header
required

Query Parameters

limit
integer
default:50

The maximum number of StudentPlacements to return (default: 50) when listing StudentPlacements

Example:

1

offset
integer
default:0

The number of StudentPlacements to skip before starting to return results (default: 0) when listing StudentPlacements

Example:

0

Response

Response for StudentPlacement List operation - returns a paginated list of StudentPlacement

data
object[]

Array of StudentPlacement objects

Example:
[
  {
    "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",
    "modernLanguageAlternative": "EN",
    "swedishAsSecondLanguage": false,
    "motherTongueParticipates": false,
    "modernLanguageInSchoolChoice": "deu",
    "modernLanguageInLanguageChoice": "fra",
    "startDate": "2024-08-01",
    "endDate": "2025-08-01",
    "archiveYear": "2024_2025",
    "archivedAt": "2024-08-01T00:00:00Z"
  }
]
pagination
object

Pagination information

Example:
{ "offset": 0, "limit": 1, "total": 100 }