ApiResponseShiftTemplateResponse
data object
breakMinutesinteger<int32>required
endTimestringrequired
namestringrequired
roleKeystringnullable
startTimestringrequired
storeIdstring<uuid>required
templateIdstring<uuid>required
versioninteger<int64>required
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
currentVersionstringnullable
datesstring<date>[]required
occurrenceRefsstring[]required
requestIdsstring<uuid>[]required
totalinteger<int32>required
truncatedbooleanrequired
fieldErrors objectnullable
property name*stringnullable
gatewayErrorCodestringnullable
messagestring
retryableboolean
meta object
limitinteger<int32>
nextCursorstring
pageinteger<int32>
scheduleVersionstringnullable
totalinteger<int64>
totalPagesinteger<int32>
successbooleanrequired
ApiResponseShiftTemplateResponse
{
"data": {
"breakMinutes": 0,
"endTime": "string",
"name": "string",
"roleKey": "string",
"startTime": "string",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"templateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": 0
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}