The unique identifier of the completed standard order
Vista Digital Platform (V1)
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/completed/{orderId}/survey
- cURL
- JavaScript
- Node.js
curl -i -X GET \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/completed/{orderId}/survey' \
-H 'Connect-Region-Code: string'Success
Gets the survey entity
Gets the list of survey page entities, sorted by survey page Number
Gets the number that can be used to uniquely identify the page within the survey
Gets the list of survey question base entities, sorted by survey question base Number
Represents a rating scale survey question that asks the patron to rate an associated film
Gets the identifier that can be used to uniquely identify the question within the survey
Gets the number that can be used to uniquely identify the question within the survey page
Gets the title text, and its translations
Gets a value indicating whether a response is required
Gets the type
Gets the display type
Gets the range
Gets the title text, and its translations
Gets the translations of the translatable Text in other languages
Gets the list of existing survey question response base entities
Represents the patron's response to a rating scale survey question
Gets the unique identifier of the survey question base
Gets the question type
Gets the related data
Gets the list of survey related film entities
Represents some customer-visible translatable Text in the default language, and a list of translation entities
Gets the translations of the translatable Text in other languages
Represents the external identifiers linked to a film
{ "survey": { "expiresAt": "2019-08-24T14:15:22Z", "pages": [ … ], "title": { … }, "responses": [ … ], "isCompleted": true }, "relatedData": { "films": [ … ] } }
- application/json
- text/json
- application/*+json
- application/json-patch+json
The survey responses to be updated
Gets the list of survey question response base entities
Represents the patron's response to a rating scale survey question
Gets the unique identifier of the survey question base
Gets the question type
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/completed/{orderId}/survey/responses
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X PUT \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/completed/{orderId}/survey/responses' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-d '{
"responses": [
{
"questionId": "string",
"type": "RatingScale",
"response": 0.1
}
],
"isCompleted": true
}'