GET api/surveys/ended

Gives you a list of your ended surveys

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of surveys

Collection of SurveyDTO
NameDescriptionTypeAdditional information
ID

Survey ID

integer

None.

Keyword

Survey keyword

string

Matching regular expression pattern: ^\S+$

String length: inclusive between 0 and 15

Created

Timestamp for survey creation

date

None.

Modified

Timestamp for last modification of survey

date

None.

Ended

Whether the survey has ended or is closed

boolean

None.

Name

Survey name

string

Required

String length: inclusive between 0 and 150

Ends

Timestamp for survey end, or null if not set

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Keyword": "sample string 2",
    "Created": "2019-10-23T22:28:51.7135788+00:00",
    "Modified": "2019-10-23T22:28:51.7135788+00:00",
    "Ended": true,
    "Name": "sample string 4",
    "Ends": "2019-10-23T22:28:51.7135788+00:00"
  },
  {
    "ID": 1,
    "Keyword": "sample string 2",
    "Created": "2019-10-23T22:28:51.7135788+00:00",
    "Modified": "2019-10-23T22:28:51.7135788+00:00",
    "Ended": true,
    "Name": "sample string 4",
    "Ends": "2019-10-23T22:28:51.7135788+00:00"
  }
]