POST api/Courses/retrieve_user_workshop_session_enrolments?userid={userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of v_facetoface_session_signup
NameDescriptionTypeAdditional information
id

integer

None.

facetoface

integer

None.

capacity

integer

None.

roomid

integer

None.

userid

integer

None.

sessionid

integer

None.

firstname

string

None.

lastname

string

None.

email

string

None.

building

string

None.

address

string

None.

course

integer

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "facetoface": 2,
    "capacity": 3,
    "roomid": 4,
    "userid": 5,
    "sessionid": 6,
    "firstname": "sample string 7",
    "lastname": "sample string 8",
    "email": "sample string 9",
    "building": "sample string 10",
    "address": "sample string 11",
    "course": 12,
    "name": "sample string 13"
  },
  {
    "id": 1,
    "facetoface": 2,
    "capacity": 3,
    "roomid": 4,
    "userid": 5,
    "sessionid": 6,
    "firstname": "sample string 7",
    "lastname": "sample string 8",
    "email": "sample string 9",
    "building": "sample string 10",
    "address": "sample string 11",
    "course": 12,
    "name": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfv_facetoface_session_signup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Totara.WEBAPI">
  <v_facetoface_session_signup>
    <address>sample string 11</address>
    <building>sample string 10</building>
    <capacity>3</capacity>
    <course>12</course>
    <email>sample string 9</email>
    <facetoface>2</facetoface>
    <firstname>sample string 7</firstname>
    <id>1</id>
    <lastname>sample string 8</lastname>
    <name>sample string 13</name>
    <roomid>4</roomid>
    <sessionid>6</sessionid>
    <userid>5</userid>
  </v_facetoface_session_signup>
  <v_facetoface_session_signup>
    <address>sample string 11</address>
    <building>sample string 10</building>
    <capacity>3</capacity>
    <course>12</course>
    <email>sample string 9</email>
    <facetoface>2</facetoface>
    <firstname>sample string 7</firstname>
    <id>1</id>
    <lastname>sample string 8</lastname>
    <name>sample string 13</name>
    <roomid>4</roomid>
    <sessionid>6</sessionid>
    <userid>5</userid>
  </v_facetoface_session_signup>
</ArrayOfv_facetoface_session_signup>