- Open API
- Quick Start
- About Pagination
- Member Management
- Team Management
- Schedule Management
- Information Retrieval
- Preference Settings
- Channel
- Template Management
- Incident Management
- Group View
- Match conditions
- Enable rule
- Disable rule
- Delete rule
- Rule list
- See creation interface for filters explanation
- Create rule
- Rule description
- Update rule
- Channel
- Match conditions
- Match conditions
- Update rule
- Channel
- Rule ID
- Inner conditions
- Enable rule
- Rule list
- Rule details
- Rule name
- Rule description
- Match conditions
- Rule description
- See creation interface for filters explanation
- Disable rule
- Rule description
- Alert Management
- Change Management
- Insights (old)
- Custom Fields
- Service Calendar
- Label Enhancement
- Alert Processing
- Integration Routing
- License Management
- Insights
- Event API
- Webhook
Personal schedule calendar
POST
/schedule/self
Request
Body Params application/json
start
integer
Start time
end
integer
End time
Example
{
"start": 11111111,
"end": 11111111
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/schedule/self' \
--header 'Content-Type: application/json' \
--data-raw '{
"start": 11111111,
"end": 11111111
}'
Responses
🟢200成功
application/json
Body
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,
"layers": [
{
"layer_name": "string",
"mode": 0,
"groups": [
{
"group_name": "string",
"members": [
{
"role_id": 0,
"person_ids": [
0
]
}
]
}
],
"rotation_duration": 3600,
"fair_rotation": true,
"handoff_time": 0,
"layer_start": 0,
"layer_end": 0,
"restrict_mode": 0,
"restrict_periods": [
{
"restrict_start": 0,
"restrict_end": 0
}
],
"day_mask": {
"repeat": [
0
]
}
}
],
"layer_schedules": [
{
"layer_name": "string",
"mode": 0,
"schedules": [
{
"start": 0,
"end": 0,
"hash": "string",
"group": {
"group_name": "string",
"members": [
{
"role_id": 0,
"person_ids": [
0
]
}
]
}
}
]
}
],
"final_schedule": {
"layer_name": "string",
"mode": 0,
"schedules": [
{
"start": 0,
"end": 0,
"hash": "string",
"group": {
"group_name": "string",
"members": [
{
"role_id": 0,
"person_ids": [
0
]
}
]
}
}
]
}
}
]
},
"error": {
"code": "InvalidParameter",
"message": "string"
}
}
Modified at 2025-01-22 10:14:38