GET

Get all surveys in company.

URL : /v1.0/Survey?companyId={companyId}

Method : GET

Auth required : YES

Example

GET /v1.0/survey?companyId={companyId} HTTP/1.1
Host: <API_ENDPOINT>
Authorization: Bearer <API_TOKEN_HERE>
Cache-Control: no-cache

Success Response

Code: 200 OK

[
    {
        "companyId": "integer",
        "end": "DateTime",
        "id": "integer",
        "name": "string",
        "start": "DateTime",
        "state": "integer",
        "surveyDefinitionId": "integer"
    }    
]

Error Response

Code: 401 Unauthorized

{
  "Message": "Authorization has been denied for this request."
}