POST api/Category/CreateCategory

Request Information

URI Parameters

None.

Body Parameters

CategoryMasterBindingModel
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

CategorySequence

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CategoryName": "sample string 2",
  "CategorySequence": 1,
  "IsActive": true
}

application/xml, text/xml

Sample:
<CategoryMasterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArchitectQuotationApi.Models">
  <CategoryId>1</CategoryId>
  <CategoryName>sample string 2</CategoryName>
  <CategorySequence>1</CategorySequence>
  <IsActive>true</IsActive>
</CategoryMasterBindingModel>

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.