Returns selfselect reasons details.


Resource Information

Response formatsJSON (default), XML
HTTP methodGET
Response familyreasons
Header
Authorization: api_key XXXXX


Resource URL

Europe Production Server:

https://api.eu.customergauge.com/v4.1/reasons.json


Parameters

show_for
optional
Promoter or Detractor&Neutral
Example Values: Promoter


Example Requests


GET (json)https://api.eu.customergauge.com/v4.1/reasons.json&show_for=Promoter


GET (xml)https://api.eu.customergauge.com/v4.1/reasons.xml&show_for=Promoter


Example Result


Message reported on successful operation:




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23




{"Data":[
       {
          "reason_code":"11060",
          "numeration":"1.6",
          "position":"6",
          "show_for":"Detractor&Neutral",
          "good_bad":"neg",
          "category_main":"Customer Support",
          "level":"2",
          "label":"Other (Please tell us more in the box below)"
       },
       {
          "reason_code":"1144",
          "numeration":"0",
          "position":"1",
          "show_for":"Detractor&Neutral",
          "good_bad":"neg",
          "category_main":"",
          "level":"0",
          "label":""
       }
      ]
}




Message reported on failed operation:




1




{"Error":{"Message":"Required field ‘reason_code’ not supplied":400601}}




 

Notes:

  • Reason Code – Each self-select reason has its unique reason code.
  • Position refers to the position/order that particular self-select reason appears at with respect to all the self-select options.
  • good_bad refers to if a particular reason is shown for promoter or detractor. Options that will be returned are pos for promoter and neg for detractor and passive.
  • category_main is the category under which this level falls under.
  • level – refers to whether this issue is a level 1 or 2. The options that will be returned are 1 for Level 1 Self-Select Issue and 2 for Level 2 Self-Select Issue.
  • label – Refers to the label name shown on the survey for the self-select reasons.