Survey API

apirest.survey_serializers.SurveySerializer

Read:

CURL Usage:

curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/sealed-survey/

    or

curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/sealed-survey/%sealed_survey_id%/

Response:

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "http://HOSTNAME_IP/rest-api/sealed-survey/1/",
            "name": "Sample survey campaign",
            "description": "ok",
            "created_date": "2016-01-13T12:42:18.148",
            "updated_date": "2016-01-13T12:42:31.527",
            "user": "http://HOSTNAME_IP/rest-api/users/1/"
        }
    ]
}