Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 751 Bytes

create-break-type-request.md

File metadata and controls

30 lines (21 loc) · 751 Bytes

Create Break Type Request

A request to create a new BreakType.

Structure

CreateBreakTypeRequest

Fields

Name Type Tags Description
idempotencyKey string | undefined Optional A unique string value to ensure the idempotency of the operation.
Constraints: Maximum Length: 128
breakType BreakType Required A defined break template that sets an expectation for possible Break
instances on a Shift.

Example (as JSON)

{
  "break_type": {
    "break_name": "Lunch Break",
    "expected_duration": "PT30M",
    "is_paid": true,
    "location_id": "CGJN03P1D08GF"
  },
  "idempotency_key": "PAD3NG5KSN2GL"
}