A response to a request to update a BreakType
. The response contains
the requested BreakType
objects and might contain a set of Error
objects if
the request resulted in errors.
UpdateBreakTypeResponse
Name | Type | Tags | Description |
---|---|---|---|
breakType |
BreakType | undefined |
Optional | A defined break template that sets an expectation for possible Break instances on a Shift . |
errors |
Error[] | undefined |
Optional | Any errors that occurred during the request. |
{
"break_type": {
"break_name": "Lunch",
"created_at": "2018-06-12T20:19:12Z",
"expected_duration": "PT50M",
"id": "Q6JSJS6D4DBCH",
"is_paid": true,
"location_id": "26M7H24AZ9N6R",
"updated_at": "2019-02-26T23:12:59Z",
"version": 2
},
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
}
]
}