Personal On-call Schedule
POST
/schedule/selfRequest
Body Params application/json
start
integer
Start time
Time automatically aligned to the previous half hour
end
integer
End time
Time automatically aligned to the previous half hour, interval with start should not exceed 30 days
Example
{
"start": 11111111,
"end": 11111111
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
optional
items
array [object {8}]
optional
error
object
optional
code
enum<string>
Error code
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
Error description
Example
{
"data": {
"items": [
{
"schedule_id": 0,
"schedule_name": "string",
"description": "string",
"team_id": 0,
"enabled": true
}
]
},
"error": {}
}
Last modified: 2 个月前