{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dixa Agents Ratings API",
    "version": "beta"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Ratings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create conversation rating result",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.dixa.io/beta/conversations/:conversationId/ratings/:ratingId/submit",
            "params": [
              {
                "name": "conversationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "ratingId",
                "value": "",
                "type": "path",
                "description": "The ratingId parameter has to be the ID of the offer created via invoking the /conversations/{conversationId}/ratings/offer endpoint."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a rating result for a specific conversation."
        },
        {
          "info": {
            "name": "Create conversation rating offer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.dixa.io/beta/conversations/:conversationId/ratings/offer",
            "params": [
              {
                "name": "conversationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a rating offer for a specific conversation."
        },
        {
          "info": {
            "name": "List rating",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/conversations/:conversationId/rating",
            "params": [
              {
                "name": "conversationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deprecated rating endpoint. Use '/ratings'."
        },
        {
          "info": {
            "name": "List ratings for a conversation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/conversations/:conversationId/ratings",
            "params": [
              {
                "name": "conversationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists latest ratings statuses for a particular conversation by providing the conversation ID. For surveys with multiple questions, rating status will be reported for each individual question of the survey. For example, a response for a 3 question survey that was answered will be 3 elements with status \"Rated\". Additionally, a multiple question survey can be partially answered, therefore a response of such case will be a mix of \"Offered\" and \"Rated\" statuses. Note that the IDs of multiple questio"
        }
      ]
    }
  ],
  "bundled": true
}