POST CourseCategory/AddCourseCategory
Request Information
URI Parameters
None.
Body Parameters
CourseCategoryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ParentId | integer |
None. |
|
| CreateId | integer |
None. |
|
| State | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"ParentId": 3,
"CreateId": 4,
"State": 5
}
application/xml, text/xml
Sample:
<CourseCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO"> <CreateId>4</CreateId> <Description>sample string 2</Description> <Name>sample string 1</Name> <ParentId>3</ParentId> <State>5</State> </CourseCategoryDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.