POST api/Category/SearchCategory
Request Information
URI Parameters
None.
Body Parameters
CategorySearchDc| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| IsActive | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryName": "sample string 2",
"IsActive": "sample string 3"
}
text/html
Sample:
{"CategoryId":1,"CategoryName":"sample string 2","IsActive":"sample string 3"}
application/xml, text/xml
Sample:
<CategorySearchDc 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> <IsActive>sample string 3</IsActive> </CategorySearchDc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CategoryMasterDc| Name | Description | Type | Additional 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-03-05T15:11:46.604238+00:00"
},
{
"CategoryId": 1,
"CategoryName": "sample string 2",
"IsActive": true,
"CreatedDate": "2026-03-05T15:11:46.604238+00:00"
}
]
text/html
Sample:
[{"CategoryId":1,"CategoryName":"sample string 2","IsActive":true,"CreatedDate":"2026-03-05T15:11:46.604238+00:00"},{"CategoryId":1,"CategoryName":"sample string 2","IsActive":true,"CreatedDate":"2026-03-05T15:11:46.604238+00:00"}]
application/xml, text/xml
Sample:
<ArrayOfCategoryMasterDc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillGeneration.DataContract">
<CategoryMasterDc>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
<CreatedDate>2026-03-05T15:11:46.604238+00:00</CreatedDate>
<IsActive>true</IsActive>
</CategoryMasterDc>
<CategoryMasterDc>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
<CreatedDate>2026-03-05T15:11:46.604238+00:00</CreatedDate>
<IsActive>true</IsActive>
</CategoryMasterDc>
</ArrayOfCategoryMasterDc>