POST api/Administrator/AddCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryStatus | boolean |
None. |
|
CreateDate | date |
None. |
|
Status | integer |
None. |
|
Message | string |
None. |
|
Domain | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CategoryName": "sample string 2", "CategoryStatus": true, "CreateDate": "2024-11-20T23:52:16.7456247+05:30", "Status": 4, "Message": "sample string 5", "Domain": "sample string 6" }
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels"> <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 6</Domain> <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">4</Status> <CategoryName>sample string 2</CategoryName> <CategoryStatus>true</CategoryStatus> <CreateDate>2024-11-20T23:52:16.7456247+05:30</CreateDate> <ID>1</ID> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.