GET api/Category/GetCategoryById?CategoryId={CategoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CategoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CategoryMasterDc
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

IsActive

boolean

None.

CreatedDate

date

None.

Response Formats

application/json, text/json

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

text/html

Sample:
{"CategoryId":1,"CategoryName":"sample string 2","IsActive":true,"CreatedDate":"2026-01-11T04:18:54.6044966+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:18:54.6044966+00:00</CreatedDate>
  <IsActive>true</IsActive>
</CategoryMasterDc>