Create attendance marking type

Creates a new attendance marking type with category, color, and optional note/permitted flags.

Authentication

AuthorizationBearer

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Request

This endpoint expects an object.
namestringRequired
Must not be greater than 255 characters.
categoryenumRequired
category value.
Allowed values:
colorstringRequired
Must not be greater than 7 characters.
descriptionstring or nullOptional
description value.
ask_for_permissionbooleanOptional
ask for permission value.
allow_notebooleanOptional
allow note value.
require_notebooleanOptional
require note value.
iconstring or nullOptional
Must not be greater than 255 characters.

Response

Successful POST response for /api/v1/attendance/marking-type/create.

statusenum
Allowed values:
messagestring
dataobject