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"]
}
api_response = api_instance.post_workforcemanagement_adherence_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