{"title":"Ask for a rating","category":"default","creationDate":1776961627,"content":"<p>Here we describe how you can use an input request to ask the shopper or your staff to enter a numerical value from 0 to 10. You can use this, for example, to conduct a Net Promoter Score (NPS) survey.<\/p>\n<h2>Requirements<\/h2>\n<p>Before you begin, take into account the following requirement.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">A <a href=\"\/pt\/point-of-sale\/get-started\">Terminal API integration<\/a> with payment terminals.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>How it works<\/h2>\n<p>When you use a <span translate=\"no\"><strong>GetRating<\/strong><\/span> <code>InputRequest<\/code>, the terminal prompts the shopper or your staff for a rating. The terminal continues to show your input request until one of these events occurs:<\/p>\n<ul>\n<li>The user has provided input.<\/li>\n<li>The maximum input time expires. You can set this time in the request.<\/li>\n<li>On the terminal, <strong>Cancel<\/strong> <strong><img alt=\"\" src=\"\/images\/6\/2\/0\/e\/0\/620e0c5c343676dd2b947bbdb1573f7eebc3caf7-cancel2x.png\" \/><\/strong> is selected.<\/li>\n<li>The terminal receives a <a href=\"\/pt\/point-of-sale\/shopper-engagement\/shopper-input\/cancel-input\">request to cancel collecting input<\/a> or any other request from the POS app.<\/li>\n<\/ul>\n<h3>Examples<\/h3>\n<p>The following illustrations show a rating input screen on a portrait and landscape display.<\/p>\n<p><img alt=\"\" src=\"\/images\/8\/b\/5\/c\/2\/8b5c2cf59fb943c44fafd299d4bcabf42b715c8d-screen-engetnpsportrait.png\" \/><\/p>\n<p><img alt=\"\" src=\"\/images\/1\/8\/8\/b\/6\/188b6256f2eba19d8f1e521b8b07dad3d2890b5e-screen-engetnpslandscape.png\" \/><\/p>\n<p>On a small non-android payment terminal portrait display, the information is divided over two screens. The user needs to select <strong>Enter rating<\/strong> before entering a value using the keypad.<\/p>\n<div class=\"sc-columns\" style=\"columns:2 auto;-moz-columns:2 auto;column-gap:normal;-moz-column-gap:normal;\">\n<div style=\"text-align: center;\">\n<p><img style=\"width: 275px;\" alt=\"\" src=\"\/user\/pages\/docs\/03.point-of-sale\/41.shopper-engagement\/03.shopper-input\/12.rating\/screen-EN_GetRatingP56-1.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/p>\n<\/div>\n<div style=\"text-align: center;\">\n<p><img style=\"width: 275px;\" alt=\"\" src=\"\/user\/pages\/docs\/03.point-of-sale\/41.shopper-engagement\/03.shopper-input\/12.rating\/Screen-EN_GetNPSP56-2.svg?decoding=auto&amp;fetchpriority=auto\" \/><\/p>\n<\/div>\n<\/div>\n<p>On a portrait and landscape terminal without keypad, an on-screen keyboard appears.<br \/>\n<img alt=\"\" src=\"\/images\/6\/c\/6\/1\/e\/6c61e3ebaa49fa0a8452f71a9cdb34c93d69e641-screen-engetrating-portrait.png\" \/><\/p>\n<p><img alt=\"\" src=\"\/images\/c\/3\/1\/a\/3\/c31a3237a48adf9d9ebe5d6b51df3f9f14d94bf6-screen-engetrating-landscape.png\" \/><\/p>\n<h2 id=\"rating-input-request\">Make a Rating input request<\/h2>\n<p>To use the payment terminal to ask for a rating from 0 to 10:<\/p>\n<ol>\n<li>\n<p>Make a <a href=\"\/pt\/point-of-sale\/design-your-integration\/terminal-api\">Terminal API<\/a> input request, specifying:<\/p>\n<ul>\n<li>\n<p>The standard <a href=\"\/pt\/point-of-sale\/design-your-integration\/terminal-api#request-message-header\">\n  <code>SaleToPOIRequest.MessageHeader<\/code>\n<\/a> object, with <code>MessageClass<\/code> set to <span translate=\"no\"><strong>Device<\/strong><\/span> and <code>MessageCategory<\/code> set to <span translate=\"no\"><strong>Input<\/strong><\/span>.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>ProtocolVersion<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\"><strong>3.0<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageClass<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Device<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageCategory<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Input<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MessageType<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Request<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>ServiceID<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">Your unique ID for this request, consisting of 1-10 alphanumeric characters. Must be unique within the last 48 hours for the terminal (<code>POIID<\/code>) being used.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>SaleID<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">Your unique ID for the system where you send this request from.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>POIID<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">The unique ID of the terminal to send this request to. Format: <em>[device model]-[serial number]<\/em>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>The  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/input#request-DisplayOutput\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">InputRequest.DisplayOutput<\/a> object to define what is shown on the terminal:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>Device<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>CustomerDisplay<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>InfoQualify<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Display<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>OutputContent.OutputFormat<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Text<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>OutputContent.PredefinedContent.ReferenceID<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>GetRating<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>OutputContent.OutputText<\/code><\/td>\n<td style=\"text-align: left;\">An array of one or two <code>Text<\/code> fields containing your own text to show on the terminal. The first text is shown in bold. Use <code>\\n<\/code> for a new line. Apart from the text you specify, the terminal will show an instruction for how to confirm the input.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>The  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/input#request-InputData\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">InputRequest.InputData<\/a> object to handle the user input:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameter<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>Device<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>CustomerInput<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>InfoQualify<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>Input<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>InputCommand<\/code><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>DigitString<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>MaxInputTime<\/code><\/td>\n<td style=\"text-align: left;\">(Integer) Time-out in seconds. This is the time that the user gets to finish their input.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ul>\n<p>The following example asks the shopper for a rating using the first <code>Text<\/code> field for the core question and the second <code>Text<\/code> field to explain the scoring.<\/p>\n<div data-component-wrapper=\"code-sample\">\n<code-sample :title=\"''\" :id=\"'get_rating'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{\\n    \\\"SaleToPOIRequest\\\":{\\n        \\\"MessageHeader\\\":{\\n            \\\"ProtocolVersion\\\":\\\"3.0\\\",\\n            \\\"MessageClass\\\":\\\"Device\\\",\\n            \\\"MessageCategory\\\":\\\"Input\\\",\\n            \\\"MessageType\\\":\\\"Request\\\",\\n            \\\"ServiceID\\\":\\\"040\\\",\\n            \\\"SaleID\\\":\\\"POSSystemID12345\\\",\\n            \\\"POIID\\\":\\\"V400m-324688179\\\"\\n        },\\n        \\\"InputRequest\\\":{\\n            \\\"DisplayOutput\\\":{\\n                \\\"Device\\\":\\\"CustomerDisplay\\\",\\n                \\\"InfoQualify\\\":\\\"Display\\\",\\n                \\\"OutputContent\\\":{\\n                    \\\"OutputFormat\\\":\\\"Text\\\",\\n                    \\\"PredefinedContent\\\":{\\n                        \\\"ReferenceID\\\":\\\"GetRating\\\"\\n                    },\\n                    \\\"OutputText\\\":[\\n                        {\\n                            \\\"Text\\\":\\\"How was your experience with us?\\\"\\n                        },\\n                        {\\n                            \\\"Text\\\": \\\"Poor: 0-3 \\\\n OK: 4-6 \\\\n Great: 7-9\\\"\\n                        }\\n                    ]\\n                }\\n            },\\n            \\\"InputData\\\":{\\n                \\\"Device\\\":\\\"CustomerInput\\\",\\n                \\\"InfoQualify\\\":\\\"Input\\\",\\n                \\\"InputCommand\\\":\\\"DigitString\\\",\\n                \\\"MaxInputTime\\\":30\\n            }\\n        }\\n    }\\n}\"},{\"language\":\"java\",\"tabTitle\":\"Java\",\"content\":\"SaleToPOIRequest saleToPOIRequest = new SaleToPOIRequest();\\nMessageHeader messageHeader = new MessageHeader();\\nsaleToPOIRequest.setMessageHeader(messageHeader);\\n\\nInputRequest inputRequest = new InputRequest();\\nDisplayOutput displayOutput = new DisplayOutput();\\ndisplayOutput.setDevice( DeviceType.CUSTOMER_DISPLAY );\\ndisplayOutput.setInfoQualify( InfoQualifyType.DISPLAY );\\nOutputContent outputContent = new OutputContent();\\noutputContent.setOutputFormat( OutputFormatType.TEXT );\\nPredefinedContent predefinedContent = new PredefinedContent();\\npredefinedContent.setReferenceID(\\\"GetRating\\\");\\noutputContent.setPredefinedContent(predefinedContent);\\n\\nOutputText questionLine1 = new OutputText();\\nquestionLine1.setText(\\\"How was your experience with us?\\\");\\nOutputText questionLine2 = new OutputText();\\nquestionLine2.setText(\\\"Poor: 0-3 \\\\n OK: 4-6 \\\\n Great: 7-9\\\");\\noutputContent.getOutputText().add(questionLine1);\\noutputContent.getOutputText().add(questionLine2);\\ndisplayOutput.setOutputContent(outputContent);\\ninputRequest.setDisplayOutput(displayOutput);\\n\\nInputData inputData = new InputData();\\ninputData.setDevice( DeviceType.CUSTOMER_INPUT );\\ninputData.setInfoQualify( InfoQualifyType.INPUT );\\ninputData.setInputCommand( InputCommandType.DIGIT_STRING );\\ninputData.setMaxInputTime( BigInteger.valueOf(30) );\\ninputRequest.setInputData(inputData);\\nsaleToPOIRequest.setInputRequest(inputRequest);\\nterminalAPIRequest.setSaleToPOIRequest(saleToPOIRequest);\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<\/li>\n<li>\n<p>Wait for the user to supply the requested input.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>The input is not validated against a format.<\/p>\n<\/div><\/div>\n<p>If input is received from the terminal, the input response includes an  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/input#responses-200-InputResult\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">InputResult<\/a> object with:<\/p>\n<ul>\n<li><code>Input.DigitInput<\/code>: The numeral that the user entered.<\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n<code-sample :title=\"'Example response when the shopper entered a rating of 9'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"SaleToPOIResponse\\\": {\\n        \\\"InputResponse\\\": {\\n            \\\"InputResult\\\": {\\n                \\\"Device\\\": \\\"CustomerInput\\\",\\n                \\\"InfoQualify\\\": \\\"Input\\\",\\n                \\\"Input\\\": {\\n                    \\\"DigitInput\\\": \\\"9\\\",\\n                    \\\"InputCommand\\\": \\\"DigitString\\\"\\n                },\\n                \\\"Response\\\": {\\n                    \\\"AdditionalResponse\\\": \\\"responseData=%7b%20%20%7d\\\",\\n                    \\\"Result\\\": \\\"Success\\\",\\n                }\\n            },\\n            \\\"OutputResult\\\": {\\n                \\\"Device\\\": \\\"CustomerDisplay\\\",\\n                \\\"InfoQualify\\\": \\\"Display\\\",\\n                \\\"Response\\\": {\\n                    \\\"Result\\\": \\\"Success\\\"\\n                }\\n            }\\n        },\\n        \\\"MessageHeader\\\": {...}\\n    }\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<ul>\n<li>\n<p>If the input request times out, the <code>InputResult.Response<\/code> has <code>AdditionalResponse<\/code>: <span translate=\"no\"><strong>message=Screen%20timeout<\/strong><\/span>, <code>Result<\/code>: <span translate=\"no\"><strong>Failure<\/strong><\/span>, and <code>ErrorCondition<\/code>: <span translate=\"no\"><strong>Cancel<\/strong><\/span>,<\/p>\n<\/li>\n<li>\n<p>If you make a payment request while the input request is waiting for input on the terminal, the payment request overrides the input request. The <code>InputResult.Response<\/code> has <code>AdditionalResponse<\/code>: <span translate=\"no\"><strong>message=A%20higher%20priority%20request%20has%20been%20received<\/strong><\/span>, <code>Result<\/code>: <span translate=\"no\"><strong>Failure<\/strong><\/span>, and <code>ErrorCondition<\/code>: <span translate=\"no\"><strong>Busy<\/strong><\/span>.<\/p>\n<\/li>\n<li>\n<p>If the user declined to respond (selected the <strong>Cancel<\/strong> key <strong><img alt=\"\" src=\"\/images\/6\/2\/0\/e\/0\/620e0c5c343676dd2b947bbdb1573f7eebc3caf7-cancel2x.png\" \/><\/strong>), the <code>InputResult.Input.DigitInput<\/code> field is empty. The <code>InputResult.Response<\/code> has <code>Result<\/code>: <span translate=\"no\"><strong>Failure<\/strong><\/span> and <code>ErrorCondition<\/code>: <span translate=\"no\"><strong>Cancel<\/strong><\/span>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Pass the <code>DigitInput<\/code> value to your system for validation and further use.<\/p>\n<\/li>\n<\/ol>\n<h2>See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/point-of-sale\/shopper-engagement\/shopper-input\/cancel-input\"\n                        target=\"_self\"\n                        >\n                    Cancel an input request\n                <\/a><\/li><li><a href=\"\/point-of-sale\/shopper-engagement\/shopper-input\/select-input-request\"\n                        target=\"_self\"\n                        >\n                    Ask for another type of input\n                <\/a><\/li><li><a href=\"\/point-of-sale\/shopper-engagement\/create-session\"\n                        target=\"_self\"\n                        >\n                    Create a session\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/shopper-engagement\/shopper-input\/rating","articleFields":{"description":"Use an input request to ask a shopper for a rating from 0 to 10."},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/shopper-engagement\/shopper-input\/rating","title":"Ask for a rating","content":"Here we describe how you can use an input request to ask the shopper or your staff to enter a numerical value from 0 to 10. You can use this, for example, to conduct a Net Promoter Score (NPS) survey.\nRequirements\nBefore you begin, take into account the following requirement.\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nA Terminal API integration with payment terminals.\n\n\n\nHow it works\nWhen you use a GetRating InputRequest, the terminal prompts the shopper or your staff for a rating. The terminal continues to show your input request until one of these events occurs:\n\nThe user has provided input.\nThe maximum input time expires. You can set this time in the request.\nOn the terminal, Cancel  is selected.\nThe terminal receives a request to cancel collecting input or any other request from the POS app.\n\nExamples\nThe following illustrations show a rating input screen on a portrait and landscape display.\n\n\nOn a small non-android payment terminal portrait display, the information is divided over two screens. The user needs to select Enter rating before entering a value using the keypad.\n\n\n\n\n\n\n\n\nOn a portrait and landscape terminal without keypad, an on-screen keyboard appears.\n\n\nMake a Rating input request\nTo use the payment terminal to ask for a rating from 0 to 10:\n\n\nMake a Terminal API input request, specifying:\n\n\nThe standard \n  SaleToPOIRequest.MessageHeader\n object, with MessageClass set to Device and MessageCategory set to Input.\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\nProtocolVersion\n\n3.0\n\n\nMessageClass\n\nDevice\n\n\nMessageCategory\n\nInput\n\n\nMessageType\n\nRequest\n\n\nServiceID\n\nYour unique ID for this request, consisting of 1-10 alphanumeric characters. Must be unique within the last 48 hours for the terminal (POIID) being used.\n\n\nSaleID\n\nYour unique ID for the system where you send this request from.\n\n\nPOIID\n\nThe unique ID of the terminal to send this request to. Format: [device model]-[serial number].\n\n\n\n\n\n\n\nThe  InputRequest.DisplayOutput object to define what is shown on the terminal:\n\n\n\nParameter\nDescription\n\n\n\n\nDevice\nCustomerDisplay\n\n\nInfoQualify\nDisplay\n\n\nOutputContent.OutputFormat\nText\n\n\nOutputContent.PredefinedContent.ReferenceID\nGetRating\n\n\nOutputContent.OutputText\nAn array of one or two Text fields containing your own text to show on the terminal. The first text is shown in bold. Use \\n for a new line. Apart from the text you specify, the terminal will show an instruction for how to confirm the input.\n\n\n\n\n\nThe  InputRequest.InputData object to handle the user input:\n\n\n\nParameter\nDescription\n\n\n\n\nDevice\nCustomerInput\n\n\nInfoQualify\nInput\n\n\nInputCommand\nDigitString\n\n\nMaxInputTime\n(Integer) Time-out in seconds. This is the time that the user gets to finish their input.\n\n\n\n\n\nThe following example asks the shopper for a rating using the first Text field for the core question and the second Text field to explain the scoring.\n\n\n\n\n\nWait for the user to supply the requested input.\n\nThe input is not validated against a format.\n\nIf input is received from the terminal, the input response includes an  InputResult object with:\n\nInput.DigitInput: The numeral that the user entered.\n\n\n\n\n\n\nIf the input request times out, the InputResult.Response has AdditionalResponse: message=Screen%20timeout, Result: Failure, and ErrorCondition: Cancel,\n\n\nIf you make a payment request while the input request is waiting for input on the terminal, the payment request overrides the input request. The InputResult.Response has AdditionalResponse: message=A%20higher%20priority%20request%20has%20been%20received, Result: Failure, and ErrorCondition: Busy.\n\n\nIf the user declined to respond (selected the Cancel key ), the InputResult.Input.DigitInput field is empty. The InputResult.Response has Result: Failure and ErrorCondition: Cancel.\n\n\n\n\nPass the DigitInput value to your system for validation and further use.\n\n\nSee also\n\n\n                    Cancel an input request\n                \n                    Ask for another type of input\n                \n                    Create a session\n                \n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Shopper engagement","lvl3":"Coletar informa\u00e7\u00f5es","lvl4":"Ask for a rating"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/shopper-engagement","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/shopper-engagement\/shopper-input","lvl4":"\/pt\/point-of-sale\/shopper-engagement\/shopper-input\/rating"},"levels":5,"category":"In-person payments","category_color":"green","tags":["rating"]},"articleFiles":{"screen-EN_GetNPS_landscape.png":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/images\/8\/d\/d\/3\/7\/8dd37e3cb95580d58d08f1b86c1764ce192d817e-screen-engetnpslandscape.png\" \/>","screen-EN_GetNPS_portrait.png":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/images\/5\/c\/1\/5\/5\/5c15539093c134d018ffc925ec3ce7bb1eeade2c-screen-engetnpsportrait.png\" \/>","screen-EN_GetRating-landscape.png":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/images\/0\/d\/3\/b\/d\/0d3bd22a1c08a5fa7186aeb3b5ad466e01cec373-screen-engetrating-landscape.png\" \/>","screen-EN_GetRating-portrait.png":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/images\/6\/5\/6\/7\/a\/6567aa4802cb7eb793fe5442adaafd8ee1a0b8d8-screen-engetrating-portrait.png\" \/>","get_rating.json":"<p alt=\"\">get_rating.json<\/p>","Screen-EN_GetNPSP56-2.svg":"<img style=\"width: 275px;\" alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/03.point-of-sale\/41.shopper-engagement\/03.shopper-input\/12.rating\/Screen-EN_GetNPSP56-2.svg?decoding=auto&amp;fetchpriority=auto\" \/>","screen-EN_GetRatingP56-1.svg":"<img style=\"width: 275px;\" alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/03.point-of-sale\/41.shopper-engagement\/03.shopper-input\/12.rating\/screen-EN_GetRatingP56-1.svg?decoding=auto&amp;fetchpriority=auto\" \/>"}}
