GET Api/Poll/GetPollsByUser?idUser={idUser}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idUser

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PollResponse
NameDescriptionTypeAdditional information
idPollResponse

integer

None.

idUser

integer

None.

idCourse

integer

None.

idQuestion

integer

None.

response

string

None.

regDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "idPollResponse": 1,
    "idUser": 2,
    "idCourse": 3,
    "idQuestion": 4,
    "response": "sample string 5",
    "regDate": "2026-02-14T17:51:26.2917439-06:00"
  },
  {
    "idPollResponse": 1,
    "idUser": 2,
    "idCourse": 3,
    "idQuestion": 4,
    "response": "sample string 5",
    "regDate": "2026-02-14T17:51:26.2917439-06:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPollResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PollResponse>
    <idPollResponse>1</idPollResponse>
    <idUser>2</idUser>
    <idCourse>3</idCourse>
    <idQuestion>4</idQuestion>
    <response>sample string 5</response>
    <regDate>2026-02-14T17:51:26.2917439-06:00</regDate>
  </PollResponse>
  <PollResponse>
    <idPollResponse>1</idPollResponse>
    <idUser>2</idUser>
    <idCourse>3</idCourse>
    <idQuestion>4</idQuestion>
    <response>sample string 5</response>
    <regDate>2026-02-14T17:51:26.2917439-06:00</regDate>
  </PollResponse>
</ArrayOfPollResponse>