hnin | 2022-05-17 01:29:38 UTC | #1
Hello,
I have the following data in the request body.
body = { 'startDate' : "2022-05-10T00:00:00.000Z", 'endDate' : "2022-05-11T00:00:00.000Z", 'userIds': [xxxxxxx"] } apiresponse = apiinstance.postworkforcemanagementadherence_historical(body=body)
The error returned is
HTTP response body: {"message":"Unable to perform the requested action. You must have at least one of the following permissions assigned: [wfm:historicalAdherence:view]","code":"missing.any.permissions","status":403,"contextId":"c7d90a82-372d-4**675-9697-5f49f8f7ff3c","details":[],"errors":[]}
I would like to know where I should set the View permission.Thank you. Regards, Hnin
hnin | 2022-05-17 08:22:23 UTC | #2
Hi, This issue has been resolved. Our PureCloud engagement partner helped to add the required role. Thank you.
Regards, Hnin
John_Carnell | 2022-06-01 14:12:26 UTC | #3
This post was migrated from the old Developer Forum.
ref: 14766