Thanks a lot @charlie.conneely , It actually did, could you help me in understand more why you did what you did? This will help me expand on this knowledge on future codes as well.
Also as small request, can we improve the documentation and provide proper examples , for example below is the python code provided in the developer center, and its nowehere near to what the final code looks like:-
import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
Configure OAuth2 access token for authorization: PureCloud OAuth
The wrap up code class does not accept a map parameter to set all request body values at once. I will investigate further to see if there is a helper function in the python SDK to allow for that. In the meantime, you could pass the whole request body to the post function like this:
Are you referring to the example here on the API explorer? As far as I can see, all that is missing are the lines demonstrating how to set the fields for the wrapup code object (i.e. body.name = 'the name'). I will raise this internally to see if more lines can be added to futher help the end user.