POST api/account/master/voucher/save
Saves Voucher Data.
Request Information
URI Parameters
None.
Body Parameters
The Voucher Data.
Systemic.Model.Account.Master.mlAccountVoucherMaster+Voucher| Name | description | Type | Additional information |
|---|---|---|---|
| voucher | Systemic.Model.Account.Master.mlAccountVoucherMaster+VoucherInfo |
None. |
|
| PaymodeMaster | Systemic.Model.Common.mlTransactionPaymodeMaster |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"voucher": {
"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
},
"PaymodeMaster": {
"PayModeSysID": 1,
"UnknownPayModeSysID": 2,
"TransctionRefType": "sample string 3",
"TransctionRefTypeSysID": 4,
"PaymodeTypeSysID": 5,
"TransactionNo": "sample string 6",
"TransactionDate": "sample string 7",
"TransactionBankSysID": 64,
"StatusSysID": 9,
"IsIssued": true,
"IssuedTo": "sample string 11",
"StatusName": "sample string 12",
"LedgerSysID": 13,
"ClearedDate": "sample string 14",
"BouncedDate": "sample string 15",
"Amount": 16.0,
"IsDeleted": true,
"CancelledReason": "sample string 18",
"PresentedBy": 19,
"PresentedDate": "sample string 20",
"BouncedBy": 21,
"ClearedBy": "sample string 22"
}
}
text/xml
Sample:
<mlAccountVoucherMaster.Voucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Account.Master">
<PaymodeMaster xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.Model.Common">
<d2p1:Amount>16</d2p1:Amount>
<d2p1:BouncedBy>21</d2p1:BouncedBy>
<d2p1:BouncedDate>sample string 15</d2p1:BouncedDate>
<d2p1:CancelledReason>sample string 18</d2p1:CancelledReason>
<d2p1:ClearedBy>sample string 22</d2p1:ClearedBy>
<d2p1:ClearedDate>sample string 14</d2p1:ClearedDate>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:IsIssued>true</d2p1:IsIssued>
<d2p1:IssuedTo>sample string 11</d2p1:IssuedTo>
<d2p1:LedgerSysID>13</d2p1:LedgerSysID>
<d2p1:PayModeSysID>1</d2p1:PayModeSysID>
<d2p1:PaymodeTypeSysID>5</d2p1:PaymodeTypeSysID>
<d2p1:PresentedBy>19</d2p1:PresentedBy>
<d2p1:PresentedDate>sample string 20</d2p1:PresentedDate>
<d2p1:StatusName>sample string 12</d2p1:StatusName>
<d2p1:StatusSysID>9</d2p1:StatusSysID>
<d2p1:TransactionBankSysID>64</d2p1:TransactionBankSysID>
<d2p1:TransactionDate>sample string 7</d2p1:TransactionDate>
<d2p1:TransactionNo>sample string 6</d2p1:TransactionNo>
<d2p1:TransctionRefType>sample string 3</d2p1:TransctionRefType>
<d2p1:TransctionRefTypeSysID>4</d2p1:TransctionRefTypeSysID>
<d2p1:UnknownPayModeSysID>2</d2p1:UnknownPayModeSysID>
</PaymodeMaster>
<voucher>
<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>
</voucher>
</mlAccountVoucherMaster.Voucher>
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>