A request to create a new BreakType
.
CreateBreakTypeRequest
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 . |
{
"break_type": {
"break_name": "Lunch Break",
"expected_duration": "PT30M",
"is_paid": true,
"location_id": "CGJN03P1D08GF"
},
"idempotency_key": "PAD3NG5KSN2GL"
}