Hello,
- Regarding your first question/problem - the deserialization error - it appears to be a problem in the API Endpoint contract.
See my response to Zlotan in this other post: https://community.genesys.com/discussion/conflict-between-platform-sdk-and-api
No need to create a ticket if Zlotan shares his existing Customer Care ticket number (so I can reach out to engineering and communicate it to them).
- Regarding your second question: pageNumber and pageSize declared as string
This is defined this way in the API Endpoint contract (and as explained in the other post, the SDKs are automatically generated out of the Platform API Open API v2.0/Swagger definition). And you are right, it should be defined as an integer to be consistent with other endpoints.
Could you please open a ticket with Customer Care to report this issue? And share the ticket number here.
Once I have it, I'll reach out to engineering to let them know about the issue. (you can reference this post/my answer, in your exchange with Customer Care).
Thank you.
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------