POST UserCourse/EnrollCourse

Request Information

URI Parameters

None.

Body Parameters

EnrollCourseModel
NameDescriptionTypeAdditional information
CourseId

string

None.

UserId

string

None.

EnrollDatetime

date

None.

EnrollType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseId": "sample string 1",
  "UserId": "sample string 2",
  "EnrollDatetime": "2021-10-20T07:42:51.3825122+00:00",
  "EnrollType": 3
}

application/xml, text/xml

Sample:
<EnrollCourseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Solve.Models">
  <CourseId>sample string 1</CourseId>
  <EnrollDatetime>2021-10-20T07:42:51.3825122+00:00</EnrollDatetime>
  <EnrollType>3</EnrollType>
  <UserId>sample string 2</UserId>
</EnrollCourseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.