GET api/Programs/Sessions/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SessionsScheduleModel
NameDescriptionTypeAdditional information
session_no

integer

None.

trait

string

None.

sched_date

date

None.

completed

boolean

None.

my_session_id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "session_no": 1,
    "trait": "sample string 2",
    "sched_date": "2021-06-18T21:24:26.1262262-07:00",
    "completed": true,
    "my_session_id": 5
  },
  {
    "session_no": 1,
    "trait": "sample string 2",
    "sched_date": "2021-06-18T21:24:26.1262262-07:00",
    "completed": true,
    "my_session_id": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfSessionsScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Programs">
  <SessionsScheduleModel>
    <completed>true</completed>
    <my_session_id>5</my_session_id>
    <sched_date>2021-06-18T21:24:26.1262262-07:00</sched_date>
    <session_no>1</session_no>
    <trait>sample string 2</trait>
  </SessionsScheduleModel>
  <SessionsScheduleModel>
    <completed>true</completed>
    <my_session_id>5</my_session_id>
    <sched_date>2021-06-18T21:24:26.1262262-07:00</sched_date>
    <session_no>1</session_no>
    <trait>sample string 2</trait>
  </SessionsScheduleModel>
</ArrayOfSessionsScheduleModel>