POST api/Enrollment

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
resource
Documentation for 'resource'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "roleid": "sample string 1",
  "userid": "sample string 2",
  "courseid": "sample string 3",
  "timestart": 4,
  "timeend": 5,
  "suspend": 6
}

application/xml, text/xml

Sample:
<EnrollmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AVA_API.Models">
  <courseid>sample string 3</courseid>
  <roleid>sample string 1</roleid>
  <suspend>6</suspend>
  <timeend>5</timeend>
  <timestart>4</timestart>
  <userid>sample string 2</userid>
</EnrollmentDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.