POST api/Administrator/AddSubCategory

Request Information

URI Parameters

None.

Body Parameters

SubCategoryModel
NameDescriptionTypeAdditional information
ID

integer

None.

SubCategoryName

string

None.

CreateDate

date

None.

SubCategoryStatus

boolean

None.

EntryBy

string

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SubCategoryName": "sample string 2",
  "CreateDate": "2024-12-02T15:53:17.8127831+05:30",
  "SubCategoryStatus": true,
  "EntryBy": "sample string 3",
  "Status": 4,
  "Message": "sample string 5",
  "Domain": "sample string 6"
}

application/xml, text/xml

Sample:
<SubCategoryModel 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>
  <CreateDate>2024-12-02T15:53:17.8127831+05:30</CreateDate>
  <EntryBy>sample string 3</EntryBy>
  <ID>1</ID>
  <SubCategoryName>sample string 2</SubCategoryName>
  <SubCategoryStatus>true</SubCategoryStatus>
</SubCategoryModel>

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.