POST api/account/master/voucher/voucher_cancel
Cancel Voucher Data.
Request Information
URI Parameters
None.
Body Parameters
The Voucher Data.
Systemic.Model.Account.Master.mlAccountVoucherMaster+VoucherInfo| Name | description | Type | Additional information |
|---|---|---|---|
| VoucherSysID | integer |
None. |
|
| VoucherNo | string |
None. |
|
| VoucherType | string |
None. |
|
| TransactionType | string |
None. |
|
| VoucherDate | string |
None. |
|
| Narration | string |
None. |
|
| LedgerSysID | integer |
None. |
|
| Amount | decimal number |
None. |
|
| ContactName | string |
None. |
|
| ContactMobile | string |
None. |
|
| Tax | decimal number |
None. |
|
| AccountSysID | integer |
None. |
|
| AccountName | string |
None. |
|
| AcademicYearSysID | integer |
None. |
|
| AccountYearSysID | integer |
None. |
|
| BranchSysID | integer |
None. |
|
| IsCancelled | boolean |
None. |
|
| CancelledBy | string |
None. |
|
| CancelledDate | string |
None. |
|
| CancelledReason | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| Paymode | string |
None. |
|
| PayModeSysID | integer |
None. |
|
| PaymentStatus | string |
None. |
|
| VerifiedAmount | decimal number |
None. |
|
| VerifiedReason | string |
None. |
|
| IsVerified | boolean |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"VoucherSysID": 1,
"VoucherNo": "sample string 2",
"VoucherType": "sample string 3",
"TransactionType": "sample string 4",
"VoucherDate": "sample string 5",
"Narration": "sample string 6",
"LedgerSysID": 7,
"Amount": 8.0,
"ContactName": "sample string 9",
"ContactMobile": "sample string 10",
"Tax": 11.0,
"AccountSysID": 12,
"AccountName": "sample string 13",
"AcademicYearSysID": 14,
"AccountYearSysID": 15,
"BranchSysID": 16,
"IsCancelled": true,
"CancelledBy": "sample string 18",
"CancelledDate": "sample string 19",
"CancelledReason": "sample string 20",
"IsDeleted": true,
"Paymode": "sample string 22",
"PayModeSysID": 23,
"PaymentStatus": "sample string 24",
"VerifiedAmount": 25.0,
"VerifiedReason": "sample string 26",
"IsVerified": true
}
text/xml
Sample:
<mlAccountVoucherMaster.VoucherInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Account.Master"> <AcademicYearSysID>14</AcademicYearSysID> <AccountName>sample string 13</AccountName> <AccountSysID>12</AccountSysID> <AccountYearSysID>15</AccountYearSysID> <Amount>8</Amount> <BranchSysID>16</BranchSysID> <CancelledBy>sample string 18</CancelledBy> <CancelledDate>sample string 19</CancelledDate> <CancelledReason>sample string 20</CancelledReason> <ContactMobile>sample string 10</ContactMobile> <ContactName>sample string 9</ContactName> <IsCancelled>true</IsCancelled> <IsDeleted>true</IsDeleted> <IsVerified>true</IsVerified> <LedgerSysID>7</LedgerSysID> <Narration>sample string 6</Narration> <PayModeSysID>23</PayModeSysID> <PaymentStatus>sample string 24</PaymentStatus> <Paymode>sample string 22</Paymode> <Tax>11</Tax> <TransactionType>sample string 4</TransactionType> <VerifiedAmount>25</VerifiedAmount> <VerifiedReason>sample string 26</VerifiedReason> <VoucherDate>sample string 5</VoucherDate> <VoucherNo>sample string 2</VoucherNo> <VoucherSysID>1</VoucherSysID> <VoucherType>sample string 3</VoucherType> </mlAccountVoucherMaster.VoucherInfo>
response Information
Resource description
ServerResponse.
Api.Server.ServerResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
None. |
|
| success | Api.Server.MlSuccess |
None. |
|
| failure | Api.Server.MlError |
None. |
response Formats
application/json, text/json, text/html
Sample:
{
"response": "sample string 1",
"success": null,
"failure": null
}
text/xml
Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server"> <failure i:nil="true" /> <response>sample string 1</response> <success i:nil="true" /> </ServerResponse>