POST api/Course/AddCourse

Request Information

URI Parameters

None.

Body Parameters

Course
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

CourseType

string

None.

Fees

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

UpdatedBy

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CourseType": "sample string 4",
  "Fees": "sample string 5",
  "CreatedBy": "sample string 6",
  "CreatedDate": "sample string 7",
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "sample string 9"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Name":"sample string 2","Description":"sample string 3","CourseType":"sample string 4","Fees":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"sample string 7","UpdatedBy":"sample string 8","UpdatedDate":"sample string 9"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.