Genesys Cloud - Developer Community!

 View Only

Sign Up

An endpoint in the integration API returns invalid data (wrong data format)

  • 1.  An endpoint in the integration API returns invalid data (wrong data format)

    Posted 5 hours ago

    I am experimenting with CX as code, and during this, I was redirected to look at the API call [GET /api/v2/integrations/credentials/types](https://developer.genesys.cloud/platform/integrations/#get-api-v2-integrations-credentials-types). According to the documentation, this API call should return a typical paged resource (i.e. an object containing a field named "entities" which holds an array of the "real" data).

    Instead I got back a raw array of the data - i.e. not wrapped into such a standard paged resource!

    This looks like a rather evil bug to me.

    Additionally, at least in the Java PSDK, I cannot set the page parameters (page size and current page number) in the request, which looks like a rather unfinished API to me.

    Can anyone give me an information about the status of this API? It is not among the "preview APIs"...

    Regards,

    Wolfgang Liebich


    #PlatformAPI

    ------------------------------
    Wolfgang Liebich
    ------------------------------