POST api/Receipt
Request Information
URI Parameters
None.
Body Parameters
TransReceipt| Name | Description | Type | Additional information |
|---|---|---|---|
| ReceiptId | decimal number |
None. |
|
| ReceiptNo | string |
None. |
|
| ReceiptDate | date |
None. |
|
| CashierPersonName | string |
None. |
|
| CashierMobileNo1 | string |
None. |
|
| ModeOfReceiptName | string |
None. |
|
| Discount | decimal number |
None. |
|
| ReceiptAmount | decimal number |
None. |
|
| Remarks | string |
None. |
|
| BillId | decimal number |
None. |
|
| BillDate | date |
None. |
|
| BillNo | string |
None. |
|
| BillerPersonName | string |
None. |
|
| BillStatusName | string |
None. |
|
| BillerMobileNo1 | string |
None. |
|
| ClientName | string |
None. |
|
| LinkCode | string |
None. |
|
| WorkshopName | string |
None. |
|
| PersonName | string |
None. |
|
| MobileNo1 | string |
None. |
|
| RegistrationNumber | string |
None. |
|
| StatusName | string |
None. |
|
| GrossAmount | decimal number |
None. |
|
| GSTAmount | decimal number |
None. |
|
| JobCardId | decimal number |
None. |
|
| JobCardDate | date |
None. |
|
| JobCardCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReceiptId": 1.1,
"ReceiptNo": "sample string 2",
"ReceiptDate": "2026-03-07T17:16:26.7016307+00:00",
"CashierPersonName": "sample string 4",
"CashierMobileNo1": "sample string 5",
"ModeOfReceiptName": "sample string 6",
"Discount": 7.1,
"ReceiptAmount": 8.1,
"Remarks": "sample string 9",
"BillId": 10.1,
"BillDate": "2026-03-07T17:16:26.7016307+00:00",
"BillNo": "sample string 12",
"BillerPersonName": "sample string 13",
"BillStatusName": "sample string 14",
"BillerMobileNo1": "sample string 15",
"ClientName": "sample string 16",
"LinkCode": "sample string 17",
"WorkshopName": "sample string 18",
"PersonName": "sample string 19",
"MobileNo1": "sample string 20",
"RegistrationNumber": "sample string 21",
"StatusName": "sample string 22",
"GrossAmount": 23.1,
"GSTAmount": 24.1,
"JobCardId": 25.1,
"JobCardDate": "2026-03-07T17:16:26.7016307+00:00",
"JobCardCode": "sample string 27"
}
application/xml, text/xml
Sample:
<TransReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GMSClass.ClientData.Plain"> <BillDate>2026-03-07T17:16:26.7016307+00:00</BillDate> <BillId>10.1</BillId> <BillNo>sample string 12</BillNo> <BillStatusName>sample string 14</BillStatusName> <BillerMobileNo1>sample string 15</BillerMobileNo1> <BillerPersonName>sample string 13</BillerPersonName> <CashierMobileNo1>sample string 5</CashierMobileNo1> <CashierPersonName>sample string 4</CashierPersonName> <ClientName>sample string 16</ClientName> <Discount>7.1</Discount> <GSTAmount>24.1</GSTAmount> <GrossAmount>23.1</GrossAmount> <JobCardCode>sample string 27</JobCardCode> <JobCardDate>2026-03-07T17:16:26.7016307+00:00</JobCardDate> <JobCardId>25.1</JobCardId> <LinkCode>sample string 17</LinkCode> <MobileNo1>sample string 20</MobileNo1> <ModeOfReceiptName>sample string 6</ModeOfReceiptName> <PersonName>sample string 19</PersonName> <ReceiptAmount>8.1</ReceiptAmount> <ReceiptDate>2026-03-07T17:16:26.7016307+00:00</ReceiptDate> <ReceiptId>1.1</ReceiptId> <ReceiptNo>sample string 2</ReceiptNo> <RegistrationNumber>sample string 21</RegistrationNumber> <Remarks>sample string 9</Remarks> <StatusName>sample string 22</StatusName> <WorkshopName>sample string 18</WorkshopName> </TransReceipt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |