schedules

Org Schedules Get

GET
Gets an organization schedule.

Query parameters

idstringRequired
Organization schedule ID.

Response

This endpoint returns an object
org_schedule
object
GET
1curl -G https://api.devrev.ai/org-schedules.get \
2 -H "Authorization: <apiKey>" \
3 -d id=id
200Retrieved
1{
2 "org_schedule": {
3 "id": "id",
4 "status": "archived",
5 "created_date": "2023-01-01T12:00:00Z",
6 "default_weekly_org_schedule": {
7 "default_weekly_org_schedule": {
8 "key": "value"
9 }
10 },
11 "display_id": "display_id",
12 "min_valid_days": 1,
13 "modified_date": "2023-01-01T12:00:00Z",
14 "name": "name",
15 "org_schedule_fragments": [
16 {}
17 ],
18 "timezone": "timezone",
19 "valid_until": "2023-01-01T12:00:00Z",
20 "weekly_org_schedules": [
21 {}
22 ]
23 }
24}