Error in updating Schedule

Hi,

I am trying to update an agent schedule and followed the steps as described in this article: https://developer.genesys.cloud/useragentman/workforcemanagement/upload-update-schedule

However, when I am getting an error on the notification when updating after uploading the gzip file.

{
"status": "Error",
"operationId": "cd05d965-fd9a-4759-b917-39cb3025743a",
"eventType": "Update"
}

Correlation Id: bec1f1b5-7535-4b02-9ba2-041c9682e8ef

To give some context, I wanted to update the activity code to a different activity code but everything else should be the same (shift length ,start, etc) This is the json file:

{
"metadata":{
"version":3
},
"agentSchedules":[
{
"userId":"c737a511-1ed5-41ce-8917-812e8521c355",
"shifts":[
{
"id":"0",
"activities":[
{
"startDate":"2024-09-08T23:30:00Z",
"lengthMinutes":15,
"description":"",
"activityCodeId":"0725e60f-47b7-4b5f-93c7-0e60b02827c6",
"paid":true
}
],
"manuallyEdited":true
}
],
"metadata":{
"version":3
}
}
]
}

I can confirm that metadata version from my GET agent schedule request is version 3.

What could possibly be wrong with my request? Can my json file only contain the schedule that I want to update? Any help would be appreciated.

Thank you,
Liezl

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.