Voice of the Customer

Surveys

The API returns customer's surveys in JSON format

In order to use the API you must have the valid environment-specific username and password.

Endpoints

  • https://meo.sn4mobile.com/api/prod/voc/v1/surveys - production environment
  • https://meo.sn4mobile.com/api/test/voc/v1/surveys - test environment

Request and response example

curl 'https://meo.sn4mobile.com/api/test/voc/v1/surveys' -u ABCDEF:123456

Successful API request returns results in JSON format.

 

{
    "customerId": 3188,
    "customerName": "Esimerkki Yritys Oy",
    "surveys": [
        {
            "surveyType": "1",
            "surveyStatus": "active",
            "surveyCreatedDate": "2018-01-01T00:00:00.000Z",
            "surveyId": 3880,
            "surveyName": "Asiakaskokemuksen yhteisraportti",
            "surveyShortNumber": "SN4",
            "surveyDescription": "Asiakaskokemuksen yhteisraportti",
            "surveySmsIdentifier": "EYOYMAIN"
        },
        {
            "surveyType": "2",
            "surveyStatus": "active",
            "surveyCreatedDate": "2015-11-23T11:44:58.665Z",
            "surveyId": 3340,
            "surveyName": "Asiakaspalvelun laadunseuranta",
            "surveyShortNumber": "SN4",
            "surveyDescription": "Asiakaspalvelun laadunseuranta",
            "surveySmsIdentifier": "EYOY"
        },
        {
            "surveyType": "2",
            "surveyStatus": "active",
            "surveyCreatedDate": "2016-05-31T17:01:28.671Z",
            "surveyId": 3502,
            "surveyName": "Asiakaspalvelu outbound laadunseuranta",
            "surveyShortNumber": "SN4",
            "surveyDescription": "Asiakaspalvelu outbound laadunseuranta",
            "surveySmsIdentifier": "EYOY"
        }
    ]
}