curl --request POST \
--url https://ss12000.staging.meitner.se/api/v1/placements/lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"personIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"placedAt": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"child": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"startDate": "2023-12-25",
"group": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"owners": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
}
],
"endDate": "2023-12-25",
"maxWeeklyScheduleHours": 123,
"_embedded": {
"child": {
"personStatus": "Aktiv",
"addresses": [
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
},
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
}
],
"securityMarking": "Ingen",
"givenName": "givenName",
"sex": "Man",
"photo": "https://openapi-generator.tech",
"birthDate": "2000-01-23T00:00:00.000Z",
"civicNo": {
"nationality": "SE",
"value": "value"
},
"phoneNumbers": [
{
"mobile": true,
"type": "Hem",
"value": "value"
},
{
"mobile": true,
"type": "Hem",
"value": "value"
}
],
"externalIdentifiers": [
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
},
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
}
],
"emails": [
{
"type": "Privat",
"value": "value"
},
{
"type": "Privat",
"value": "value"
}
],
"eduPersonPrincipalNames": [
"eduPersonPrincipalNames",
"eduPersonPrincipalNames"
],
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"familyName": "familyName",
"middleName": "middleName",
"enrolments": [
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
},
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
}
],
"responsibles": [
{
"relationType": null,
"person": null
},
{
"relationType": null,
"person": null
}
],
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"owners": [
{
"personStatus": "Aktiv",
"addresses": [
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
},
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
}
],
"securityMarking": "Ingen",
"givenName": "givenName",
"sex": "Man",
"photo": "https://openapi-generator.tech",
"birthDate": "2000-01-23T00:00:00.000Z",
"civicNo": {
"nationality": "SE",
"value": "value"
},
"phoneNumbers": [
{
"mobile": true,
"type": "Hem",
"value": "value"
},
{
"mobile": true,
"type": "Hem",
"value": "value"
}
],
"externalIdentifiers": [
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
},
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
}
],
"emails": [
{
"type": "Privat",
"value": "value"
},
{
"type": "Privat",
"value": "value"
}
],
"eduPersonPrincipalNames": [
"eduPersonPrincipalNames",
"eduPersonPrincipalNames"
],
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"familyName": "familyName",
"middleName": "middleName",
"enrolments": [
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
},
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
}
],
"responsibles": [
{
"relationType": null,
"person": null
},
{
"relationType": null,
"person": null
}
],
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
]
}
}
]Hämta många placeringar baserat på en lista av ID:n eller av Id från personer.
Istället för att hämta placeringar en i taget med en loop av GET-anrop så finns det även möjlighet att hämta många placeringar på en gång genom att skicka ett anrop med en lista med önskade placeringar.
curl --request POST \
--url https://ss12000.staging.meitner.se/api/v1/placements/lookup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"personIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"placedAt": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"child": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"startDate": "2023-12-25",
"group": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
},
"owners": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
}
],
"endDate": "2023-12-25",
"maxWeeklyScheduleHours": 123,
"_embedded": {
"child": {
"personStatus": "Aktiv",
"addresses": [
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
},
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
}
],
"securityMarking": "Ingen",
"givenName": "givenName",
"sex": "Man",
"photo": "https://openapi-generator.tech",
"birthDate": "2000-01-23T00:00:00.000Z",
"civicNo": {
"nationality": "SE",
"value": "value"
},
"phoneNumbers": [
{
"mobile": true,
"type": "Hem",
"value": "value"
},
{
"mobile": true,
"type": "Hem",
"value": "value"
}
],
"externalIdentifiers": [
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
},
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
}
],
"emails": [
{
"type": "Privat",
"value": "value"
},
{
"type": "Privat",
"value": "value"
}
],
"eduPersonPrincipalNames": [
"eduPersonPrincipalNames",
"eduPersonPrincipalNames"
],
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"familyName": "familyName",
"middleName": "middleName",
"enrolments": [
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
},
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
}
],
"responsibles": [
{
"relationType": null,
"person": null
},
{
"relationType": null,
"person": null
}
],
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
},
"owners": [
{
"personStatus": "Aktiv",
"addresses": [
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
},
{
"country": "country",
"countyCode": 0,
"streetAddress": "streetAddress",
"postalCode": "postalCode",
"locality": "locality",
"type": "Folkbokföring",
"municipalityCode": 6,
"realEstateDesignation": "realEstateDesignation"
}
],
"securityMarking": "Ingen",
"givenName": "givenName",
"sex": "Man",
"photo": "https://openapi-generator.tech",
"birthDate": "2000-01-23T00:00:00.000Z",
"civicNo": {
"nationality": "SE",
"value": "value"
},
"phoneNumbers": [
{
"mobile": true,
"type": "Hem",
"value": "value"
},
{
"mobile": true,
"type": "Hem",
"value": "value"
}
],
"externalIdentifiers": [
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
},
{
"globallyUnique": true,
"context": "http://linkoping.se/AD",
"value": "value"
}
],
"emails": [
{
"type": "Privat",
"value": "value"
},
{
"type": "Privat",
"value": "value"
}
],
"eduPersonPrincipalNames": [
"eduPersonPrincipalNames",
"eduPersonPrincipalNames"
],
"meta": {
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
},
"familyName": "familyName",
"middleName": "middleName",
"enrolments": [
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
},
{
"endDate": "2000-01-23T00:00:00.000Z",
"schoolType": null,
"schoolYear": 1,
"cancelled": true,
"specification": "specification",
"enroledAt": null,
"educationCode": "educationCode",
"programme": null,
"startDate": "2000-01-23T00:00:00.000Z"
}
],
"responsibles": [
{
"relationType": null,
"person": null
},
{
"relationType": null,
"person": null
}
],
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
]
}
}
]Documentation Index
Fetch the complete documentation index at: https://docs.meitner.se/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Beskriver om expanderade data ska hämtas
child, owners Returnera displayName för alla refererade objekt.
Response
Anropet lyckades.
Show child attributes
Show child attributes
{
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
}Skolenhet där barnet är placerat.
Show child attributes
Show child attributes
Identifierare av person som placeringen avser.
Show child attributes
Show child attributes
Skolform för placeringen, förskola eller fritidshem
FS, FTH, OPPFTH Startdatum för placeringen (RFC 3339-format, t.ex. "2016-10-15"). Inkluderande.
Barngrupp eller avdelning knutet till denna placering.
Show child attributes
Show child attributes
En lista med identifierare för de personer som äger placeringen. Används primärt för att styra vilka som skall kunna se och lägga schema.
Show child attributes
Show child attributes
Slutdatum för placeringen (RFC 3339-format, t.ex. "2016-10-15"). Inkluderande.
En kod för att beskriva orsak för placeringen.
Omsorgsbehov, Erbjuden tid, Eget behov Anger maximal schematid per vecka för barnets placering.
Show child attributes
Show child attributes