Skip to main content
GET
/
placements
/
{id}
Placering baserat på id
curl --request GET \
  --url https://ss12000.staging.meitner.se/api/v1/placements/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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>",
    "securityMarking": "Ingen"
  },
  "schoolType": "FS",
  "startDate": "2023-12-25",
  "group": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "displayName": "<string>"
  },
  "owners": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "displayName": "<string>",
      "securityMarking": "Ingen"
    }
  ],
  "endDate": "2023-12-25",
  "reason": "Omsorgsbehov",
  "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"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

ID för placering som ska hämtas

Query Parameters

expand
enum<string>[]

Beskriver om expanderade data ska hämtas

Available options:
child,
owners
expandReferenceNames
boolean

Returnera displayName för alla refererade objekt.

Response

Anropet lyckades.

id
string<uuid>
required
meta
Meta · object
required
Example:
{
"created": "2000-01-23T04:56:07.000Z",
"modified": "2000-01-23T04:56:07.000Z"
}
placedAt
OrganisationReference · object
required

Skolenhet där barnet är placerat.

child
PersonReference · object
required

Identifierare av person som placeringen avser.

schoolType
enum<string>
required

Skolform för placeringen, förskola eller fritidshem

Available options:
FS,
FTH,
OPPFTH
startDate
string<date>
required

Startdatum för placeringen (RFC 3339-format, t.ex. "2016-10-15"). Inkluderande.

group
GroupReference · object

Barngrupp eller avdelning knutet till denna placering.

owners
PersonReference · object[]

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.

endDate
string<date>

Slutdatum för placeringen (RFC 3339-format, t.ex. "2016-10-15"). Inkluderande.

reason
enum<string>

En kod för att beskriva orsak för placeringen.

Available options:
Omsorgsbehov,
Erbjuden tid,
Eget behov
maxWeeklyScheduleHours
integer

Anger maximal schematid per vecka för barnets placering.

_embedded
object