from meitner import Meitner, models
from meitner.utils import parse_datetime
import os
with Meitner(
security=models.Security(
client_credentials=os.getenv("MEITNER_CLIENT_CREDENTIALS", ""),
client_secret=os.getenv("MEITNER_CLIENT_SECRET", ""),
),
) as m_client:
res = m_client.guardians.search(filter_={
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"identity_temporary": True,
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
"student_i_ds": "123e4567-e89b-12d3-a456-426614174000",
},
"not_equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"identity_temporary": True,
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
"student_i_ds": "123e4567-e89b-12d3-a456-426614174000",
},
"greater_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"smaller_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"greater_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"smaller_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"identity_number": [
"example",
],
"identity_temporary": [
True,
],
"first_name": [
"example",
],
"last_name": [
"example",
],
"address": {
"postal_address": [
"example",
],
"postal_code": [
"example",
],
"postal_city": [
"example",
],
"country_code": [
"example",
],
"municipality_code": [
"example",
],
},
"email_address1": [
"example",
],
"email_address2": [
"example",
],
"phone_number1": [
"example",
],
"phone_number2": [
"example",
],
"student_i_ds": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"not_contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"identity_number": [
"example",
],
"identity_temporary": [
True,
],
"first_name": [
"example",
],
"last_name": [
"example",
],
"address": {
"postal_address": [
"example",
],
"postal_code": [
"example",
],
"postal_city": [
"example",
],
"country_code": [
"example",
],
"municipality_code": [
"example",
],
},
"email_address1": [
"example",
],
"email_address2": [
"example",
],
"phone_number1": [
"example",
],
"phone_number2": [
"example",
],
"student_i_ds": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"like": {
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
},
"not_like": {
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
},
"null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"address": {
"postal_address": True,
"postal_code": True,
"postal_city": True,
"country_code": True,
"municipality_code": True,
},
"email_address1": True,
"email_address2": True,
"phone_number1": True,
"phone_number2": True,
"student_i_ds": True,
},
"not_null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"address": {
"postal_address": True,
"postal_code": True,
"postal_city": True,
"country_code": True,
"municipality_code": True,
},
"email_address1": True,
"email_address2": True,
"phone_number1": True,
"phone_number2": True,
"student_i_ds": True,
},
"or_condition": True,
}, 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"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "[email protected]",
"emailAddress2": "[email protected]",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"pagination": {
"offset": 0,
"limit": 1,
"total": 100
}
}Search for Guardians with filtering capabilities.
from meitner import Meitner, models
from meitner.utils import parse_datetime
import os
with Meitner(
security=models.Security(
client_credentials=os.getenv("MEITNER_CLIENT_CREDENTIALS", ""),
client_secret=os.getenv("MEITNER_CLIENT_SECRET", ""),
),
) as m_client:
res = m_client.guardians.search(filter_={
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"identity_temporary": True,
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
"student_i_ds": "123e4567-e89b-12d3-a456-426614174000",
},
"not_equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
},
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"identity_temporary": True,
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
"student_i_ds": "123e4567-e89b-12d3-a456-426614174000",
},
"greater_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"smaller_than": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"greater_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"smaller_or_equal": {
"meta": {
"created_at": parse_datetime("2024-01-15T10:30:00Z"),
"updated_at": parse_datetime("2024-01-15T10:30:00Z"),
},
},
"contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"identity_number": [
"example",
],
"identity_temporary": [
True,
],
"first_name": [
"example",
],
"last_name": [
"example",
],
"address": {
"postal_address": [
"example",
],
"postal_code": [
"example",
],
"postal_city": [
"example",
],
"country_code": [
"example",
],
"municipality_code": [
"example",
],
},
"email_address1": [
"example",
],
"email_address2": [
"example",
],
"phone_number1": [
"example",
],
"phone_number2": [
"example",
],
"student_i_ds": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"not_contains": {
"id": [
"123e4567-e89b-12d3-a456-426614174000",
],
"meta": {
"created_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
"updated_by": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"external": {
"source_id": [
"example",
],
"source": [
"example",
],
},
"identity_number": [
"example",
],
"identity_temporary": [
True,
],
"first_name": [
"example",
],
"last_name": [
"example",
],
"address": {
"postal_address": [
"example",
],
"postal_code": [
"example",
],
"postal_city": [
"example",
],
"country_code": [
"example",
],
"municipality_code": [
"example",
],
},
"email_address1": [
"example",
],
"email_address2": [
"example",
],
"phone_number1": [
"example",
],
"phone_number2": [
"example",
],
"student_i_ds": [
"123e4567-e89b-12d3-a456-426614174000",
],
},
"like": {
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
},
"not_like": {
"external": {
"source_id": "example",
"source": "example",
},
"identity_number": "example",
"first_name": "example",
"last_name": "example",
"address": {
"postal_address": "example",
"postal_code": "example",
"postal_city": "example",
"country_code": "example",
"municipality_code": "example",
},
"email_address1": "example",
"email_address2": "example",
"phone_number1": "example",
"phone_number2": "example",
},
"null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"address": {
"postal_address": True,
"postal_code": True,
"postal_city": True,
"country_code": True,
"municipality_code": True,
},
"email_address1": True,
"email_address2": True,
"phone_number1": True,
"phone_number2": True,
"student_i_ds": True,
},
"not_null": {
"meta": {
"created_by": True,
"updated_at": True,
"updated_by": True,
},
"external": {
"source_id": True,
"source": True,
},
"address": {
"postal_address": True,
"postal_code": True,
"postal_city": True,
"country_code": True,
"municipality_code": True,
},
"email_address1": True,
"email_address2": True,
"phone_number1": True,
"phone_number2": True,
"student_i_ds": True,
},
"or_condition": True,
}, 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"
},
"identityNumber": "20191216-1234",
"identityTemporary": true,
"firstName": "Lise",
"lastName": "Meitner",
"address": {
"postalAddress": "Dalvägen 14",
"postalCode": "169 56",
"postalCity": "Solna",
"countryCode": "SWE",
"municipalityCode": "0184"
},
"emailAddress1": "[email protected]",
"emailAddress2": "[email protected]",
"phoneNumber1": "+46701234567",
"phoneNumber2": "+46701234567",
"studentIDs": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"pagination": {
"offset": 0,
"limit": 1,
"total": 100
}
}The maximum number of Guardians to return (default: 50) when searching Guardians
The number of Guardians to skip before starting to return results (default: 0) when searching Guardians
Request body
Filter criteria to search for specific records
Show child attributes
OrCondition decides if this filter is within an OR-condition or AND-condition
Equality filters for Guardian
Show child attributes
Unique identifier for the Guardian
Metadata information for the Guardian
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
}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.
{
"sourceID": "example",
"source": "example"
}The identity number of the guardian, must be unique within the organization.
If the identity number is temporary for the guardian
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"identityTemporary": true,
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example",
"studentIDs": "123e4567-e89b-12d3-a456-426614174000"
}Inequality filters for Guardian
Show child attributes
Unique identifier for the Guardian
Metadata information for the Guardian
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
}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.
{
"sourceID": "example",
"source": "example"
}The identity number of the guardian, must be unique within the organization.
If the identity number is temporary for the guardian
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"identityTemporary": true,
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example",
"studentIDs": "123e4567-e89b-12d3-a456-426614174000"
}Greater than filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}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.
The address of the guardian
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}Smaller than filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}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.
The address of the guardian
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}Greater than or equal filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}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.
The address of the guardian
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}Smaller than or equal filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}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.
The address of the guardian
{
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}Contains filters for Guardian
Show child attributes
Unique identifier for the Guardian
Metadata information for the Guardian
{
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
}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.
{
"sourceID": ["example"],
"source": ["example"]
}The identity number of the guardian, must be unique within the organization.
If the identity number is temporary for the guardian
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"identityNumber": ["example"],
"identityTemporary": [true],
"firstName": ["example"],
"lastName": ["example"],
"address": {
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
},
"emailAddress1": ["example"],
"emailAddress2": ["example"],
"phoneNumber1": ["example"],
"phoneNumber2": ["example"],
"studentIDs": ["123e4567-e89b-12d3-a456-426614174000"]
}Not contains filters for Guardian
Show child attributes
Unique identifier for the Guardian
Metadata information for the Guardian
{
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
}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.
{
"sourceID": ["example"],
"source": ["example"]
}The identity number of the guardian, must be unique within the organization.
If the identity number is temporary for the guardian
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"identityNumber": ["example"],
"identityTemporary": [true],
"firstName": ["example"],
"lastName": ["example"],
"address": {
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
},
"emailAddress1": ["example"],
"emailAddress2": ["example"],
"phoneNumber1": ["example"],
"phoneNumber2": ["example"],
"studentIDs": ["123e4567-e89b-12d3-a456-426614174000"]
}LIKE filters for Guardian
Show child attributes
Metadata information for the Guardian
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.
{
"sourceID": "example",
"source": "example"
}The identity number of the guardian, must be unique within the organization.
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
{
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example"
}NOT LIKE filters for Guardian
Show child attributes
Metadata information for the Guardian
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.
{
"sourceID": "example",
"source": "example"
}The identity number of the guardian, must be unique within the organization.
The first name of the guardian
The last name of the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
{
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example"
}Null filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdBy": true,
"updatedAt": true,
"updatedBy": true
}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.
{ "sourceID": true, "source": true }The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"address": {
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
},
"emailAddress1": true,
"emailAddress2": true,
"phoneNumber1": true,
"phoneNumber2": true,
"studentIDs": true
}Not null filters for Guardian
Show child attributes
Metadata information for the Guardian
{
"createdBy": true,
"updatedAt": true,
"updatedBy": true
}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.
{ "sourceID": true, "source": true }The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
}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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
{
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"address": {
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
},
"emailAddress1": true,
"emailAddress2": true,
"phoneNumber1": true,
"phoneNumber2": true,
"studentIDs": true
}NestedFilters of the Guardian, useful for more complex filters
{
"equals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"identityTemporary": true,
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example",
"studentIDs": "123e4567-e89b-12d3-a456-426614174000"
},
"notEquals": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2024-01-15T10:30:00Z",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000"
},
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"identityTemporary": true,
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example",
"studentIDs": "123e4567-e89b-12d3-a456-426614174000"
},
"greaterThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
},
"smallerThan": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
},
"greaterOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
},
"smallerOrEqual": {
"meta": {
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
},
"contains": {
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"identityNumber": ["example"],
"identityTemporary": [true],
"firstName": ["example"],
"lastName": ["example"],
"address": {
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
},
"emailAddress1": ["example"],
"emailAddress2": ["example"],
"phoneNumber1": ["example"],
"phoneNumber2": ["example"],
"studentIDs": ["123e4567-e89b-12d3-a456-426614174000"]
},
"notContains": {
"id": ["123e4567-e89b-12d3-a456-426614174000"],
"meta": {
"createdBy": ["123e4567-e89b-12d3-a456-426614174000"],
"updatedBy": ["123e4567-e89b-12d3-a456-426614174000"]
},
"external": {
"sourceID": ["example"],
"source": ["example"]
},
"identityNumber": ["example"],
"identityTemporary": [true],
"firstName": ["example"],
"lastName": ["example"],
"address": {
"postalAddress": ["example"],
"postalCode": ["example"],
"postalCity": ["example"],
"countryCode": ["example"],
"municipalityCode": ["example"]
},
"emailAddress1": ["example"],
"emailAddress2": ["example"],
"phoneNumber1": ["example"],
"phoneNumber2": ["example"],
"studentIDs": ["123e4567-e89b-12d3-a456-426614174000"]
},
"like": {
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example"
},
"notLike": {
"external": {
"sourceID": "example",
"source": "example"
},
"identityNumber": "example",
"firstName": "example",
"lastName": "example",
"address": {
"postalAddress": "example",
"postalCode": "example",
"postalCity": "example",
"countryCode": "example",
"municipalityCode": "example"
},
"emailAddress1": "example",
"emailAddress2": "example",
"phoneNumber1": "example",
"phoneNumber2": "example"
},
"null": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"address": {
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
},
"emailAddress1": true,
"emailAddress2": true,
"phoneNumber1": true,
"phoneNumber2": true,
"studentIDs": true
},
"notNull": {
"meta": {
"createdBy": true,
"updatedAt": true,
"updatedBy": true
},
"external": { "sourceID": true, "source": true },
"address": {
"postalAddress": true,
"postalCode": true,
"postalCity": true,
"countryCode": true,
"municipalityCode": true
},
"emailAddress1": true,
"emailAddress2": true,
"phoneNumber1": true,
"phoneNumber2": true,
"studentIDs": true
},
"orCondition": true
}Response for Guardian Search operation - returns filtered Guardian results
Array of Guardian objects
Show child attributes
Unique identifier for the Guardian
The identity number of the guardian, must be unique within the organization.
The first name of the guardian
The last name of the guardian
Metadata information for the Guardian
Show child attributes
Timestamp when the resource was created
User who created the resource
Timestamp when the resource was last updated
User who last updated the resource
{
"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.
{
"sourceID": "12345678",
"source": "ExternalIntegrationAPI"
}If the identity number is temporary for the guardian
The address of the guardian
Show child attributes
The postal address of the address
The postal code of the address
The city of the address
The country code of the address
The municipality code of the address
{
"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.
The secondary email address of the guardian, will not be used within the system, but will be displayed for contact information.
The primary phone number of the guardian, will be used for communication with the guardian from the system.
The secondary phone number of the guardian, will not be used within the system, but will be displayed for contact information.
The IDs of the students the guardian is responsible for.
Pagination information
{ "offset": 0, "limit": 1, "total": 100 }