using Meitner;
using Meitner.Models.Components;
using System.Collections.Generic;
var sdk = new MeitnerSDK(security: new Security() {
Option1 = new SecurityOption1() {
ClientCredentials = "<YOUR_API_KEY_HERE>",
ClientSecret = "<YOUR_API_KEY_HERE>",
},
});
var res = await sdk.Guardians.UpdateAsync(
id: "123e4567-e89b-12d3-a456-426614174000",
guardianUpdate: new GuardianUpdate() {
External = new GuardianUpdateExternal() {
SourceID = "12345678",
},
IdentityNumber = "20191216-1234",
IdentityTemporary = true,
FirstName = "Lise",
LastName = "Meitner",
Address = new GuardianUpdateAddress() {
PostalAddress = "Dalvägen 14",
PostalCode = "169 56",
PostalCity = "Solna",
CountryCode = "SWE",
MunicipalityCode = "0184",
},
EmailAddress1 = "lise@meitner.se",
EmailAddress2 = "lise@gmail.com",
PhoneNumber1 = "+46701234567",
PhoneNumber2 = "+46701234567",
StudentIDs = new List<string>() {
"123e4567-e89b-12d3-a456-426614174000",
},
}
);
// handle responsefrom 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.guardians.update(id="123e4567-e89b-12d3-a456-426614174000", identity_number="20191216-1234", first_name="Lise", last_name="Meitner", external={
"source_id": "12345678",
}, identity_temporary=True, address={
"postal_address": "Dalvägen 14",
"postal_code": "169 56",
"postal_city": "Solna",
"country_code": "SWE",
"municipality_code": "0184",
}, email_address1="lise@meitner.se", email_address2="lise@gmail.com", phone_number1="+46701234567", phone_number2="+46701234567", student_i_ds=[
"123e4567-e89b-12d3-a456-426614174000",
])
# Handle response
print(res)curl --request PATCH \
--url https://api.meitner.se/directory/v1/guardian/{id} \
--header 'Client-ID: <api-key>' \
--header 'Client-Secret: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"external": {
"sourceID": "12345678"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "lise@meitner.se",
"emailAddress2": "lise@gmail.com",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
'const options = {
method: 'PATCH',
headers: {
'Client-ID': '<api-key>',
'Client-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
external: {sourceID: '12345678'},
identityNumber: '20191216-1234',
identityTemporary: true,
firstName: 'Lise',
lastName: 'Meitner',
address: {
postalAddress: 'Dalvägen 14',
postalCode: '169 56',
postalCity: 'Solna',
countryCode: 'SWE',
municipalityCode: '0184'
},
emailAddress1: 'lise@meitner.se',
emailAddress2: 'lise@gmail.com',
phoneNumber1: '+46701234567',
phoneNumber2: '+46701234567',
studentIDs: ['123e4567-e89b-12d3-a456-426614174000']
})
};
fetch('https://api.meitner.se/directory/v1/guardian/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meitner.se/directory/v1/guardian/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'external' => [
'sourceID' => '12345678'
],
'identityNumber' => '20191216-1234',
'identityTemporary' => true,
'firstName' => 'Lise',
'lastName' => 'Meitner',
'address' => [
'postalAddress' => 'Dalvägen 14',
'postalCode' => '169 56',
'postalCity' => 'Solna',
'countryCode' => 'SWE',
'municipalityCode' => '0184'
],
'emailAddress1' => 'lise@meitner.se',
'emailAddress2' => 'lise@gmail.com',
'phoneNumber1' => '+46701234567',
'phoneNumber2' => '+46701234567',
'studentIDs' => [
'123e4567-e89b-12d3-a456-426614174000'
]
]),
CURLOPT_HTTPHEADER => [
"Client-ID: <api-key>",
"Client-Secret: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meitner.se/directory/v1/guardian/{id}"
payload := strings.NewReader("{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Client-ID", "<api-key>")
req.Header.Add("Client-Secret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.meitner.se/directory/v1/guardian/{id}")
.header("Client-ID", "<api-key>")
.header("Client-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meitner.se/directory/v1/guardian/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Client-ID"] = '<api-key>'
request["Client-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"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"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "lise@meitner.se",
"emailAddress2": "lise@gmail.com",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"error": {
"code": "BadRequest",
"message": "The request contains invalid parameters or malformed data",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Unauthorized",
"message": "Authentication credentials are missing or invalid",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Forbidden",
"message": "You do not have permission to perform this operation",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "NotFound",
"message": "The requested resource could not be found",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Conflict",
"message": "The request conflicts with the current state of the resource",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UnprocessableEntity",
"message": "Validation failed for Guardian Update endpoint",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "RateLimited",
"message": "Too many requests - rate limit exceeded",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Internal",
"message": "An unexpected server error occurred",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}Update a Guardian
Update a Guardian
using Meitner;
using Meitner.Models.Components;
using System.Collections.Generic;
var sdk = new MeitnerSDK(security: new Security() {
Option1 = new SecurityOption1() {
ClientCredentials = "<YOUR_API_KEY_HERE>",
ClientSecret = "<YOUR_API_KEY_HERE>",
},
});
var res = await sdk.Guardians.UpdateAsync(
id: "123e4567-e89b-12d3-a456-426614174000",
guardianUpdate: new GuardianUpdate() {
External = new GuardianUpdateExternal() {
SourceID = "12345678",
},
IdentityNumber = "20191216-1234",
IdentityTemporary = true,
FirstName = "Lise",
LastName = "Meitner",
Address = new GuardianUpdateAddress() {
PostalAddress = "Dalvägen 14",
PostalCode = "169 56",
PostalCity = "Solna",
CountryCode = "SWE",
MunicipalityCode = "0184",
},
EmailAddress1 = "lise@meitner.se",
EmailAddress2 = "lise@gmail.com",
PhoneNumber1 = "+46701234567",
PhoneNumber2 = "+46701234567",
StudentIDs = new List<string>() {
"123e4567-e89b-12d3-a456-426614174000",
},
}
);
// handle responsefrom 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.guardians.update(id="123e4567-e89b-12d3-a456-426614174000", identity_number="20191216-1234", first_name="Lise", last_name="Meitner", external={
"source_id": "12345678",
}, identity_temporary=True, address={
"postal_address": "Dalvägen 14",
"postal_code": "169 56",
"postal_city": "Solna",
"country_code": "SWE",
"municipality_code": "0184",
}, email_address1="lise@meitner.se", email_address2="lise@gmail.com", phone_number1="+46701234567", phone_number2="+46701234567", student_i_ds=[
"123e4567-e89b-12d3-a456-426614174000",
])
# Handle response
print(res)curl --request PATCH \
--url https://api.meitner.se/directory/v1/guardian/{id} \
--header 'Client-ID: <api-key>' \
--header 'Client-Secret: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"external": {
"sourceID": "12345678"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "lise@meitner.se",
"emailAddress2": "lise@gmail.com",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
'const options = {
method: 'PATCH',
headers: {
'Client-ID': '<api-key>',
'Client-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
external: {sourceID: '12345678'},
identityNumber: '20191216-1234',
identityTemporary: true,
firstName: 'Lise',
lastName: 'Meitner',
address: {
postalAddress: 'Dalvägen 14',
postalCode: '169 56',
postalCity: 'Solna',
countryCode: 'SWE',
municipalityCode: '0184'
},
emailAddress1: 'lise@meitner.se',
emailAddress2: 'lise@gmail.com',
phoneNumber1: '+46701234567',
phoneNumber2: '+46701234567',
studentIDs: ['123e4567-e89b-12d3-a456-426614174000']
})
};
fetch('https://api.meitner.se/directory/v1/guardian/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meitner.se/directory/v1/guardian/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'external' => [
'sourceID' => '12345678'
],
'identityNumber' => '20191216-1234',
'identityTemporary' => true,
'firstName' => 'Lise',
'lastName' => 'Meitner',
'address' => [
'postalAddress' => 'Dalvägen 14',
'postalCode' => '169 56',
'postalCity' => 'Solna',
'countryCode' => 'SWE',
'municipalityCode' => '0184'
],
'emailAddress1' => 'lise@meitner.se',
'emailAddress2' => 'lise@gmail.com',
'phoneNumber1' => '+46701234567',
'phoneNumber2' => '+46701234567',
'studentIDs' => [
'123e4567-e89b-12d3-a456-426614174000'
]
]),
CURLOPT_HTTPHEADER => [
"Client-ID: <api-key>",
"Client-Secret: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meitner.se/directory/v1/guardian/{id}"
payload := strings.NewReader("{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Client-ID", "<api-key>")
req.Header.Add("Client-Secret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.meitner.se/directory/v1/guardian/{id}")
.header("Client-ID", "<api-key>")
.header("Client-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meitner.se/directory/v1/guardian/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Client-ID"] = '<api-key>'
request["Client-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"external\": {\n \"sourceID\": \"12345678\"\n },\n \"identityNumber\": \"20191216-1234\",\n \"identityTemporary\": true,\n \"firstName\": \"Lise\",\n \"lastName\": \"Meitner\",\n \"address\": {\n \"postalAddress\": \"Dalvägen 14\",\n \"postalCode\": \"169 56\",\n \"postalCity\": \"Solna\",\n \"countryCode\": \"SWE\",\n \"municipalityCode\": \"0184\"\n },\n \"emailAddress1\": \"lise@meitner.se\",\n \"emailAddress2\": \"lise@gmail.com\",\n \"phoneNumber1\": \"+46701234567\",\n \"phoneNumber2\": \"+46701234567\",\n \"studentIDs\": [\n \"123e4567-e89b-12d3-a456-426614174000\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"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"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "lise@meitner.se",
"emailAddress2": "lise@gmail.com",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"error": {
"code": "BadRequest",
"message": "The request contains invalid parameters or malformed data",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Unauthorized",
"message": "Authentication credentials are missing or invalid",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Forbidden",
"message": "You do not have permission to perform this operation",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "NotFound",
"message": "The requested resource could not be found",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Conflict",
"message": "The request conflicts with the current state of the resource",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UnprocessableEntity",
"message": "Validation failed for Guardian Update endpoint",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "RateLimited",
"message": "Too many requests - rate limit exceeded",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "Internal",
"message": "An unexpected server error occurred",
"requestID": "550e8400-e29b-41d4-a716-446655440000"
}
}Authorizations
Path Parameters
The unique identifier of the Guardian to update
"123e4567-e89b-12d3-a456-426614174000"
Body
Request body
The identity number of the guardian in the format YYYYMMDD-NNNN, must be unique within the organization.
"20191216-1234"
The first name of the guardian
"Lise"
The last name of the guardian
"Meitner"
ExternalRequest is the External-object used on Update and Create operations, since it should only be allowed to set SourceID for the guardian, the Source-field is not included.
Show child attributes
Show child attributes
{ "sourceID": "12345678" }
If the identity number is temporary for the guardian
true
The address of the guardian
Show child attributes
Show child attributes
{ "postalAddress": "Dalvägen 14", "postalCode": "169 56", "postalCity": "Solna", "countryCode": "SWE", "municipalityCode": "0184" }
The email address of the guardian, will be used for communication with the guardian from the system and must be unique within the organization. Can be used to login to the system if password-authentication is enabled for the organization.
"lise@meitner.se"
null
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
"lise@gmail.com"
null
The primary phone number of the guardian, will be used for communication with the guardian from the system.
"+46701234567"
null
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
"+46701234567"
null
The IDs of the students the guardian is responsible for.
["123e4567-e89b-12d3-a456-426614174000"]
Response
Response for Guardian Update operation - returns the updated Guardian
Guardian holds the information about a guardian of a student.
Unique identifier for the Guardian
"123e4567-e89b-12d3-a456-426614174000"
The identity number of the guardian in the format YYYYMMDD-NNNN, must be unique within the organization.
"20191216-1234"
The first name of the guardian
"Lise"
The last name of the guardian
"Meitner"
Metadata information for the Guardian
Show child attributes
Show child attributes
{ "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 guardian from another system, used for third-party integration tracking.
Show child attributes
Show child attributes
{ "sourceID": "12345678", "source": "ExternalIntegrationAPI" }
If the identity number is temporary for the guardian
true
The address of the guardian
Show child attributes
Show child attributes
{ "postalAddress": "Dalvägen 14", "postalCode": "169 56", "postalCity": "Solna", "countryCode": "SWE", "municipalityCode": "0184" }
The email address of the guardian, will be used for communication with the guardian from the system and must be unique within the organization. Can be used to login to the system if password-authentication is enabled for the organization.
"lise@meitner.se"
null
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
"lise@gmail.com"
null
The primary phone number of the guardian, will be used for communication with the guardian from the system.
"+46701234567"
null
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
"+46701234567"
null
The IDs of the students the guardian is responsible for.
["123e4567-e89b-12d3-a456-426614174000"]