Legacy Dev Forum Posts

 View Only

Sign Up

Query related to retrieving Deleted Surveys in Genesys Cloud

  • 1.  Query related to retrieving Deleted Surveys in Genesys Cloud

    Posted 06-05-2025 18:32

    Dileepkaranki | 2024-10-16 15:31:59 UTC | #1

    How can we retrieve the Deleted Surveys deleted in the provided interval. Could you let me know the endpoint and payload to retrieve the deleted surveys.


    Dileepkaranki | 2024-10-17 08:34:42 UTC | #2

    I tried below request body in Query for survey aggregates endpoint but it is also not helpful in my case.

    {
      "interval": "2024-07-01/2024-10-17",
      "granularity": "P1D",
      "groupBy": [
        "surveyId"
      ],
      "flattenMultivaluedDimensions": true,
      "metrics": [
        "nSurveysDeleted",
      ],
      "filter": {
        "type": "or",
        "predicates": [
          {
            "type": "dimension",
            "dimension": "surveyId",
            "operator": "exists"
          },
          {
            "type": "dimension",
            "dimension": "conversationId",
            "operator": "exists"
          }
        ]
      }
    }

    system | 2024-11-17 08:34:57 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 29904