{
"schedule": {
"organizer": "userid1",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"start_time": 1571274600,
"end_time": 1571320210,
"attendees": [
{
"userid": "userid2"
}
],
"summary": "test_summary",
"description": "test_description",
"reminders": {
"is_remind": 1,
"remind_before_event_secs": 3600,
"is_repeat": 1,
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [
3,
7
],
"repeat_day_of_month": [
10,
21
],
"timezone": 8
},
"location": "test_place"
}
}
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/oa/schedule/update?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"schedule": {
"organizer": "userid1",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"start_time": 1571274600,
"end_time": 1571320210,
"attendees": [
{
"userid": "userid2"
}
],
"summary": "test_summary",
"description": "test_description",
"reminders": {
"is_remind": 1,
"remind_before_event_secs": 3600,
"is_repeat": 1,
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [
3,
7
],
"repeat_day_of_month": [
10,
21
],
"timezone": 8
},
"location": "test_place"
}
}'
{
"errcode": 0,
"errmsg": "string"
}