POST api/OnlineClass/generateLinks

Request Information

URI Parameters

None.

Body Parameters

GenerateLinksRequest
NameDescriptionTypeAdditional information
SelectedCells

Collection of CellSelection

None.

EarlyMinutes

integer

None.

SelectedDateStr

string

None.

UserId

integer

None.

InstituteYearId

integer

None.

IsPrincipal

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SelectedCells": [
    {
      "ClassName": "sample string 1",
      "SectionName": "sample string 2",
      "SecId": "sample string 3"
    },
    {
      "ClassName": "sample string 1",
      "SectionName": "sample string 2",
      "SecId": "sample string 3"
    }
  ],
  "EarlyMinutes": 1,
  "SelectedDateStr": "sample string 2",
  "UserId": 3,
  "InstituteYearId": 4,
  "IsPrincipal": true
}

text/html

Sample:
{"SelectedCells":[{"ClassName":"sample string 1","SectionName":"sample string 2","SecId":"sample string 3"},{"ClassName":"sample string 1","SectionName":"sample string 2","SecId":"sample string 3"}],"EarlyMinutes":1,"SelectedDateStr":"sample string 2","UserId":3,"InstituteYearId":4,"IsPrincipal":true}

application/xml, text/xml

Sample:
<OnlineClassController.GenerateLinksRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Controllers">
  <EarlyMinutes>1</EarlyMinutes>
  <InstituteYearId>4</InstituteYearId>
  <IsPrincipal>true</IsPrincipal>
  <SelectedCells>
    <OnlineClassController.CellSelection>
      <ClassName>sample string 1</ClassName>
      <SecId>sample string 3</SecId>
      <SectionName>sample string 2</SectionName>
    </OnlineClassController.CellSelection>
    <OnlineClassController.CellSelection>
      <ClassName>sample string 1</ClassName>
      <SecId>sample string 3</SecId>
      <SectionName>sample string 2</SectionName>
    </OnlineClassController.CellSelection>
  </SelectedCells>
  <SelectedDateStr>sample string 2</SelectedDateStr>
  <UserId>3</UserId>
</OnlineClassController.GenerateLinksRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />