Skip to content

Boarding Stages

List of valid attributes:

AttributeDescriptionSpecifics
boarding_type’onboarding’ or ‘offboarding’Must be set on creation, cannot be changed later
account_idID of the account the boarding stage belongs toCannot be set
discarded_atNull or timestamp of removalCannot be set
nameName of the on- or offboarding stageMust be set
positionPosition of the on- or offboarding stageMust be set, must be integer >= 0

Meta data: Permissions

GroupDescription
actionsContains permissions to edit or delete an on- or offboarding stage

Create

Example request:

{
"data": {
"type": "boarding_stage",
"attributes": {
"name": "Boarding Stage"
}
}
}

Example response:

{
"data": {
"id": "459e0b1e-caa0-4960-be61-dad0dbcd969e",
"type": "boarding_stage",
"attributes": {
...
}
}
}

This endpoint creates an on- or offboarding stage.

HTTP Request

POST /api/v1/boarding_stages

Update

Example request:

{
"data": {
"type": "boarding_stage",
"attributes": {
"name": "Updated Boarding Stage"
}
}
}

Example response:

{
"data": {
"id": "3f4e90bf-ec8c-439b-83f5-89e753213859",
"type": "boarding_stage",
"attributes": {
...
}
}
}

This endpoint updates an on- or offboarding stage.

HTTP Request

PUT /api/v1/boarding_stages/:boarding_stage_id

URL Parameters

ParameterDescription
onbarding_stage_id ID of the on- or offboarding stage to be updated

Show

Example response:

{
"data": {
"id": "3aab0a84-8ed3-4ddf-8572-f1799bb60e0a",
"type": "boarding_stage",
"attributes": {
...
}
}
}

This endpoint returns an on- or offboarding stage.

HTTP Request

GET /api/v1/boarding_stages/:boarding_stage_id

URL Parameters

ParameterDescription
boarding_stage_idThe ID of the on- or offboarding_stage to return

List

Example response:

{
"data": [
{
"id": "bdfdc766-f48b-470d-966b-8b6f1873da7f",
"type": "boarding_stage",
"attributes": {
...
}
},
{
...
}
]
}

This endpoint returns all boarding stages.

HTTP Request

GET /api/v1/boarding_stages

Delete

Example response:

{
"data": {
"id": "2ce7ed10-90d4-45da-b284-67966f488e2d",
"type": "boarding_stage",
"attributes": {
...
}
}
}

This endpoint deletes an on- or offboarding stage.

HTTP Request

DELETE /api/v1/boarding_stages/:boarding_stage_id

URL Parameters

ParameterDescription
boarding_stage_idThe ID of the on- or offboarding_stage to delete