View Schedule List
POST
/schedule/listRequest
Body Params application/json
query
string
Search match
p
integer
Page number, starts from 1
limit
integer
Items per page, default 10
is_my_team
boolean
My teams only
start
integer
Start time
end
integer
End time
Example
{
"query": "string",
"p": 0,
"limit": 0,
"is_my_team": true,
"start": 0,
"end": 0
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
items
array [object {10}]
required
total
integer
required
error
object
required
code
enum<string>
Error code
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
Error description
Example
{
"data": {
"items": [
{
"schedule_id": 0,
"schedule_name": "string",
"desc": "string",
"group_id": 0,
"endabled": true,
"create_at": 0,
"create_by": 0,
"update_at": 0,
"update_by": 0
}
],
"total": 0
},
"error": {}
}
Last modified: 2 个月前