POST api/Receipt/CreateReceipts
Request Information
URI Parameters
None.
Body Parameters
Collection of ReceiptModel| Name | Description | Type | Additional information |
|---|---|---|---|
| receiptId | integer |
None. |
|
| receiptNo | string |
None. |
|
| masterCustomerId | integer |
None. |
|
| masterCustomerName | string |
None. |
|
| amount | decimal number |
None. |
|
| receiptDate | date |
None. |
|
| paymentMode | string |
None. |
|
| chequeNo | string |
None. |
|
| chequeDate | date |
None. |
|
| bankName | string |
None. |
|
| remark | string |
None. |
|
| receiptAcId | integer |
None. |
|
| receiptAcName | string |
None. |
|
| createdBy | integer |
None. |
|
| creationDate | date |
None. |
|
| voucherType | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"receiptId": 1,
"receiptNo": "sample string 2",
"masterCustomerId": 1,
"masterCustomerName": "sample string 3",
"amount": 1.1,
"receiptDate": "2026-05-20T11:45:14.4786564+05:30",
"paymentMode": "sample string 4",
"chequeNo": "sample string 5",
"chequeDate": "2026-05-20T11:45:14.4796714+05:30",
"bankName": "sample string 6",
"remark": "sample string 7",
"receiptAcId": 1,
"receiptAcName": "sample string 8",
"createdBy": 1,
"creationDate": "2026-05-20T11:45:14.4806623+05:30",
"voucherType": "sample string 9"
},
{
"receiptId": 1,
"receiptNo": "sample string 2",
"masterCustomerId": 1,
"masterCustomerName": "sample string 3",
"amount": 1.1,
"receiptDate": "2026-05-20T11:45:14.4786564+05:30",
"paymentMode": "sample string 4",
"chequeNo": "sample string 5",
"chequeDate": "2026-05-20T11:45:14.4796714+05:30",
"bankName": "sample string 6",
"remark": "sample string 7",
"receiptAcId": 1,
"receiptAcName": "sample string 8",
"createdBy": 1,
"creationDate": "2026-05-20T11:45:14.4806623+05:30",
"voucherType": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfReceiptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGWebApi.Models">
<ReceiptModel>
<amount>1.1</amount>
<bankName>sample string 6</bankName>
<chequeDate>2026-05-20T11:45:14.4796714+05:30</chequeDate>
<chequeNo>sample string 5</chequeNo>
<createdBy>1</createdBy>
<creationDate>2026-05-20T11:45:14.4806623+05:30</creationDate>
<masterCustomerId>1</masterCustomerId>
<masterCustomerName>sample string 3</masterCustomerName>
<paymentMode>sample string 4</paymentMode>
<receiptAcId>1</receiptAcId>
<receiptAcName>sample string 8</receiptAcName>
<receiptDate>2026-05-20T11:45:14.4786564+05:30</receiptDate>
<receiptId>1</receiptId>
<receiptNo>sample string 2</receiptNo>
<remark>sample string 7</remark>
<voucherType>sample string 9</voucherType>
</ReceiptModel>
<ReceiptModel>
<amount>1.1</amount>
<bankName>sample string 6</bankName>
<chequeDate>2026-05-20T11:45:14.4796714+05:30</chequeDate>
<chequeNo>sample string 5</chequeNo>
<createdBy>1</createdBy>
<creationDate>2026-05-20T11:45:14.4806623+05:30</creationDate>
<masterCustomerId>1</masterCustomerId>
<masterCustomerName>sample string 3</masterCustomerName>
<paymentMode>sample string 4</paymentMode>
<receiptAcId>1</receiptAcId>
<receiptAcName>sample string 8</receiptAcName>
<receiptDate>2026-05-20T11:45:14.4786564+05:30</receiptDate>
<receiptId>1</receiptId>
<receiptNo>sample string 2</receiptNo>
<remark>sample string 7</remark>
<voucherType>sample string 9</voucherType>
</ReceiptModel>
</ArrayOfReceiptModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.