POST api/v{version}/LecturePlanning/loadBatches

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

LoadBatch
NameDescriptionTypeAdditional information
CourseId

string

None.

SlotID

string

None.

Date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseId": "sample string 1",
  "SlotID": "sample string 2",
  "Date": "sample string 3"
}

application/xml, text/xml

Sample:
<LoadBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <CourseId>sample string 1</CourseId>
  <Date>sample string 3</Date>
  <SlotID>sample string 2</SlotID>
</LoadBatch>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoadBatch'.

Response Information

Resource Description

LoadLocation
NameDescriptionTypeAdditional information
SlotID

string

None.

Date

string

None.

TeacherId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SlotID": "sample string 1",
  "Date": "sample string 2",
  "TeacherId": "sample string 3"
}

application/xml, text/xml

Sample:
<LoadLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Date>sample string 2</Date>
  <SlotID>sample string 1</SlotID>
  <TeacherId>sample string 3</TeacherId>
</LoadLocation>