POST api/status-category

Request Information

URI Parameters

None.

Body Parameters

CategoryModel
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

IsActive

boolean

None.

createdBy

integer

None.

modifiedBy

integer

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CategoryName": "sample string 1",
  "IsActive": true,
  "createdBy": 1,
  "modifiedBy": 1,
  "Status": true
}

application/xml, text/xml

Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.MasterData">
  <CategoryId>1</CategoryId>
  <CategoryName>sample string 1</CategoryName>
  <IsActive>true</IsActive>
  <Status>true</Status>
  <createdBy>1</createdBy>
  <modifiedBy>1</modifiedBy>
</CategoryModel>

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.