Create a new Unit
Create a new Unit
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.
Body
Request body
The title of the unit
"Norra distriktet"
External is the External-object used on Update and Create operations, since it should only be allowed to set SourceID for the unit, the Source-field is not included.
{ "sourceID": "12345678" }The description of the unit
"Norra grundskole- och förskoleenheten"
null
Response
Response for Unit Create operation - returns the created Unit
The Unit resource represents an organizational unit that schools can belong to.
This resource can be created, updated, listed, retrieved, and searched using the standard resource structure.
Unique identifier for the Unit
"123e4567-e89b-12d3-a456-426614174000"
The title of the unit
"Norra distriktet"
Metadata information for the Unit
{
"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 unit from another system, used for third-party integration tracking.
{
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
}The description of the unit
"Norra grundskole- och förskoleenheten"
null