POST api/receipt/insert
Request Information
URI Parameters
None.
Body Parameters
ReceiptBO| Name | Description | Type | Additional information |
|---|---|---|---|
| PartyName | string |
Required String length: inclusive between 0 and 200 |
|
| ReceiptNo | string |
Required String length: inclusive between 0 and 50 |
|
| DepositType | string |
Required Matching regular expression pattern: ^\s*(?i:SD|EMD)\s*$ |
|
| ReceiptDate | string |
Required Matching regular expression pattern: ^\d{4}-\d{2}-\d{2}$ |
|
| DepartmentCode | string |
Required String length: inclusive between 0 and 200 |
|
| BudgetHeadCode | string |
Required String length: inclusive between 0 and 100 |
|
| BankAccount | string |
Required Matching regular expression pattern: ^\d{5,18}$ |
|
| Amount | decimal number |
Required Range: inclusive between 0.01 and 999999999999.99 |
|
| PaymentMode | string |
Required String length: inclusive between 0 and 50 |
|
| ChequeDDDate | string |
Matching regular expression pattern: ^\d{4}-\d{2}-\d{2}$ |
|
| CollectionCenter | string |
Required String length: inclusive between 0 and 200 |
|
| Address | string |
String length: inclusive between 0 and 500 |
|
| MobileNo | string |
Matching regular expression pattern: ^[6-9]\d{9}$ |
|
| CGST | decimal number |
Range: inclusive between 0 and 999999999999.99 |
|
| SGST | decimal number |
Range: inclusive between 0 and 999999999999.99 |
|
| IGST | decimal number |
Range: inclusive between 0 and 999999999999.99 |
|
| ReceiptDateValue | date |
None. |
|
| ChequeDDDateValue | date |
None. |
Request Formats
application/json, text/json
{
"PartyName": "sample string 1",
"ReceiptNo": "sample string 2",
"DepositType": "sample string 3",
"ReceiptDate": "sample string 4",
"DepartmentCode": "sample string 5",
"BudgetHeadCode": "sample string 6",
"BankAccount": "sample string 7",
"Amount": 1.0,
"PaymentMode": "sample string 8",
"ChequeDDDate": "sample string 9",
"CollectionCenter": "sample string 10",
"Address": "sample string 11",
"MobileNo": "sample string 12",
"CGST": 1.0,
"SGST": 1.0,
"IGST": 1.0,
"ReceiptDateValue": null,
"ChequeDDDateValue": null
}
application/xml, text/xml
<ReceiptBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.BudgetBO"> <Address>sample string 11</Address> <Amount>1</Amount> <BankAccount>sample string 7</BankAccount> <BudgetHeadCode>sample string 6</BudgetHeadCode> <CGST>1</CGST> <ChequeDDDate>sample string 9</ChequeDDDate> <CollectionCenter>sample string 10</CollectionCenter> <DepartmentCode>sample string 5</DepartmentCode> <DepositType>sample string 3</DepositType> <IGST>1</IGST> <MobileNo>sample string 12</MobileNo> <PartyName>sample string 1</PartyName> <PaymentMode>sample string 8</PaymentMode> <ReceiptDate>sample string 4</ReceiptDate> <ReceiptNo>sample string 2</ReceiptNo> <SGST>1</SGST> </ReceiptBO>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.