GET api/Attendee/GetAttendeeListAndCoursesBySession?sessionID={sessionID}&userid={userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

integer

Required

userid

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LmsSession
NameDescriptionTypeAdditional information
objectId

string

None.

completionDate

string

None.

facilitatorUserId

integer

None.

durationHours

integer

None.

durationMinutes

integer

None.

userObservations

Collection of userObservations

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "objectId": "sample string 1",
    "completionDate": "sample string 2",
    "facilitatorUserId": 3,
    "durationHours": 4,
    "durationMinutes": 5,
    "userObservations": [
      {
        "userId": 1,
        "status": "sample string 2",
        "comment": "sample string 3"
      },
      {
        "userId": 1,
        "status": "sample string 2",
        "comment": "sample string 3"
      }
    ]
  },
  {
    "objectId": "sample string 1",
    "completionDate": "sample string 2",
    "facilitatorUserId": 3,
    "durationHours": 4,
    "durationMinutes": 5,
    "userObservations": [
      {
        "userId": 1,
        "status": "sample string 2",
        "comment": "sample string 3"
      },
      {
        "userId": 1,
        "status": "sample string 2",
        "comment": "sample string 3"
      }
    ]
  }
]

text/html

Sample:
[{"objectId":"sample string 1","completionDate":"sample string 2","facilitatorUserId":3,"durationHours":4,"durationMinutes":5,"userObservations":[{"userId":1,"status":"sample string 2","comment":"sample string 3"},{"userId":1,"status":"sample string 2","comment":"sample string 3"}]},{"objectId":"sample string 1","completionDate":"sample string 2","facilitatorUserId":3,"durationHours":4,"durationMinutes":5,"userObservations":[{"userId":1,"status":"sample string 2","comment":"sample string 3"},{"userId":1,"status":"sample string 2","comment":"sample string 3"}]}]

application/xml, text/xml

Sample:
<ArrayOfLmsSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects">
  <LmsSession>
    <completionDate>sample string 2</completionDate>
    <durationHours>4</durationHours>
    <durationMinutes>5</durationMinutes>
    <facilitatorUserId>3</facilitatorUserId>
    <objectId>sample string 1</objectId>
    <userObservations>
      <userObservations>
        <comment>sample string 3</comment>
        <status>sample string 2</status>
        <userId>1</userId>
      </userObservations>
      <userObservations>
        <comment>sample string 3</comment>
        <status>sample string 2</status>
        <userId>1</userId>
      </userObservations>
    </userObservations>
  </LmsSession>
  <LmsSession>
    <completionDate>sample string 2</completionDate>
    <durationHours>4</durationHours>
    <durationMinutes>5</durationMinutes>
    <facilitatorUserId>3</facilitatorUserId>
    <objectId>sample string 1</objectId>
    <userObservations>
      <userObservations>
        <comment>sample string 3</comment>
        <status>sample string 2</status>
        <userId>1</userId>
      </userObservations>
      <userObservations>
        <comment>sample string 3</comment>
        <status>sample string 2</status>
        <userId>1</userId>
      </userObservations>
    </userObservations>
  </LmsSession>
</ArrayOfLmsSession>