Hello, I was just wondering if anyone has used Data Actions to pull an agent schedule from WEM. I am trying to create an IVR that will allow the agent to hear their schedule when they call in and am having trouble configuring the data action for it.
/api/v2/workforcemanagement/businessunits/{businessunits}/agentschedules/search
{
"type": "object",
"properties": {
"startDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"userIds": {
"type": "string"
}
},
"additionalProperties": true
}
{
"message": "The request could not be understood by the server due to malformed syntax.",
"code": "bad.request",
"status": 400,
"messageParams": {},
"contextId": "af3961e9-2147-4163-a8d8-0da322152918",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": [
{
"message": "Failed due to malformed requestUrlTemplate. Illegal character in path at index 69: https://api.usw2.pure.cloud/api/v2/workforcemanagement/businessunits/{businessunits}/agentschedules/search",
"code": "BAD_REQUEST",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}
#API/Integrations------------------------------
Dietrich Van Horn
America First Credit Union
------------------------------