POST api/Category/AddUpdateCategoryMaster

Request Information

URI Parameters

None.

Body Parameters

CategoryMasterDc
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

IsActive

boolean

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CategoryName": "sample string 2",
  "IsActive": true,
  "CreatedDate": "2026-01-11T04:16:01.1960714+00:00"
}

text/html

Sample:
{"CategoryId":1,"CategoryName":"sample string 2","IsActive":true,"CreatedDate":"2026-01-11T04:16:01.1960714+00:00"}

application/xml, text/xml

Sample:
<CategoryMasterDc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillGeneration.DataContract">
  <CategoryId>1</CategoryId>
  <CategoryName>sample string 2</CategoryName>
  <CreatedDate>2026-01-11T04:16:01.1960714+00:00</CreatedDate>
  <IsActive>true</IsActive>
</CategoryMasterDc>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>