POST api/Course
Request Information
URI Parameters
None.
Body Parameters
CourseName | Description | Type | Additional information |
---|---|---|---|
CourseID | integer |
None. |
|
CourseName | string |
None. |
|
QCode | string |
None. |
|
StartDate | string |
None. |
|
EndDate | string |
None. |
|
CreatedBy | string |
None. |
|
UpdatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CourseID": 1, "CourseName": "sample string 2", "QCode": "sample string 3", "StartDate": "sample string 4", "EndDate": "sample string 5", "CreatedBy": "sample string 6", "UpdatedBy": "sample string 7", "CreatedDate": "sample string 8", "UpdatedDate": "sample string 9" }
text/html
Sample:
{"CourseID":1,"CourseName":"sample string 2","QCode":"sample string 3","StartDate":"sample string 4","EndDate":"sample string 5","CreatedBy":"sample string 6","UpdatedBy":"sample string 7","CreatedDate":"sample string 8","UpdatedDate":"sample string 9"}
application/xml, text/xml
Sample:
<Course xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects"> <CourseID>1</CourseID> <CourseName>sample string 2</CourseName> <CreatedBy>sample string 6</CreatedBy> <CreatedDate>sample string 8</CreatedDate> <EndDate>sample string 5</EndDate> <QCode>sample string 3</QCode> <StartDate>sample string 4</StartDate> <UpdatedBy>sample string 7</UpdatedBy> <UpdatedDate>sample string 9</UpdatedDate> </Course>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>