POST api/ProfessorCategory

Request Information

URI Parameters

None.

Body Parameters

ProfessorCategory
NameDescriptionTypeAdditional information
CategoryName

string

None.

Id

integer

None.

Active

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

UpdatedBy

integer

None.

UpdatedOn

date

None.

UpdateCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryName": "sample string 1",
  "Id": 2,
  "Active": true,
  "CreatedBy": 4,
  "CreatedOn": "2025-12-19T21:57:44.8374075+05:30",
  "UpdatedBy": 6,
  "UpdatedOn": "2025-12-19T21:57:44.8374075+05:30",
  "UpdateCount": 8
}

application/xml, text/xml

Sample:
<ProfessorCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Publisher.Models">
  <Active>true</Active>
  <CreatedBy>4</CreatedBy>
  <CreatedOn>2025-12-19T21:57:44.8374075+05:30</CreatedOn>
  <Id>2</Id>
  <UpdateCount>8</UpdateCount>
  <UpdatedBy>6</UpdatedBy>
  <UpdatedOn>2025-12-19T21:57:44.8374075+05:30</UpdatedOn>
  <CategoryName>sample string 1</CategoryName>
</ProfessorCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.