POST api/Category/AddUpdateCategoryReciept
Request Information
URI Parameters
None.
Body Parameters
CategoryRecieptDc| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryRecieptId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| FontId | integer |
None. |
|
| BillRecieptName | string |
None. |
|
| BillRecieptDynamicHtml | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| BillRecieptSampleImage | string |
None. |
|
| RecieptType | string |
None. |
|
| BillRecieptPdfHtml | string |
None. |
|
| IsRecieptLogo | boolean |
None. |
|
| ReceiptWidth | string |
None. |
|
| ReceiptHight | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryRecieptId": 1,
"CategoryId": 2,
"FontId": 3,
"BillRecieptName": "sample string 4",
"BillRecieptDynamicHtml": "sample string 5",
"IsActive": true,
"CreatedDate": "2026-01-11T04:17:21.5813052+00:00",
"BillRecieptSampleImage": "sample string 6",
"RecieptType": "sample string 7",
"BillRecieptPdfHtml": "sample string 8",
"IsRecieptLogo": true,
"ReceiptWidth": "sample string 9",
"ReceiptHight": "sample string 10"
}
text/html
Sample:
{"CategoryRecieptId":1,"CategoryId":2,"FontId":3,"BillRecieptName":"sample string 4","BillRecieptDynamicHtml":"sample string 5","IsActive":true,"CreatedDate":"2026-01-11T04:17:21.5813052+00:00","BillRecieptSampleImage":"sample string 6","RecieptType":"sample string 7","BillRecieptPdfHtml":"sample string 8","IsRecieptLogo":true,"ReceiptWidth":"sample string 9","ReceiptHight":"sample string 10"}
application/xml, text/xml
Sample:
<CategoryRecieptDc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillGeneration.DataContract"> <BillRecieptDynamicHtml>sample string 5</BillRecieptDynamicHtml> <BillRecieptName>sample string 4</BillRecieptName> <BillRecieptPdfHtml>sample string 8</BillRecieptPdfHtml> <BillRecieptSampleImage>sample string 6</BillRecieptSampleImage> <CategoryId>2</CategoryId> <CategoryRecieptId>1</CategoryRecieptId> <CreatedDate>2026-01-11T04:17:21.5813052+00:00</CreatedDate> <FontId>3</FontId> <IsActive>true</IsActive> <IsRecieptLogo>true</IsRecieptLogo> <ReceiptHight>sample string 10</ReceiptHight> <ReceiptWidth>sample string 9</ReceiptWidth> <RecieptType>sample string 7</RecieptType> </CategoryRecieptDc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse 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>