Skip to content

Fetch Schedule

GET
/api/v1/developer/access_policies/schedules/{id}

Authorizations

bearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"

Responses

Successful response

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": {
  
  
"id": "string",
  
  
"name": "string",
  
  
"is_default": true,
  
  
"type": "string",
  
  
"week_schedule": {
  
  
  
"sunday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"monday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"tuesday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"wednesday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"thursday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"friday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
],
  
  
  
"saturday": [
  
  
  
  
{
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
}
  
  
  
]
  
  
},
  
  
"holiday_schedule": [
  
  
  
{
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
"end_time": "23:59:59"
  
  
  
}
  
  
],
  
  
"holiday_group_id": "string",
  
  
"holiday_group": {
  
  
  
"id": "string",
  
  
  
"name": "string",
  
  
  
"is_default": true,
  
  
  
"description": "string",
  
  
  
"template_name": "string",
  
  
  
"holidays": [
  
  
  
  
{
  
  
  
  
  
"id": "string",
  
  
  
  
  
"name": "string",
  
  
  
  
  
"description": "string",
  
  
  
  
  
"repeat": true,
  
  
  
  
  
"start_time": "string",
  
  
  
  
  
"end_time": "string",
  
  
  
  
  
"is_template": true
  
  
  
  
}
  
  
  
]
  
  
}
  
}
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI