POST api/AccountVouchers/SaveRecord?IsOpen={IsOpen}&vUserID={vUserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsOpen | boolean |
Required |
|
| vUserID | integer |
Required |
Body Parameters
VoucherHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherID | integer |
None. |
|
| VoucherType | string |
None. |
|
| VoucherDate | date |
None. |
|
| Narration | string |
None. |
|
| IsPosted | boolean |
None. |
|
| ManualNo | string |
None. |
|
| VoucherTypeName | string |
None. |
|
| SBUID | integer |
None. |
|
| IDSBU | integer |
None. |
|
| IsWHTVoucher | boolean |
None. |
|
| CurrencyId | integer |
None. |
|
| SBUTitle | string |
None. |
|
| TotalDebit | decimal number |
None. |
|
| TotalCredit | decimal number |
None. |
|
| IsSMSQue | boolean |
None. |
|
| IsFingerPrint | boolean |
None. |
|
| IsBrowseFile | boolean |
None. |
|
| IsSign | boolean |
None. |
|
| BytesFinger | Collection of byte |
None. |
|
| BytesDoc | Collection of byte |
None. |
|
| BytesSign | Collection of byte |
None. |
|
| CropSeasonID | integer |
None. |
|
| ListBody | Collection of VoucherBody |
None. |
Request Formats
application/json, text/json
Sample:
{
"VoucherID": 1,
"VoucherType": "sample string 2",
"VoucherDate": "2026-06-24T03:05:53.158006-07:00",
"Narration": "sample string 4",
"IsPosted": true,
"ManualNo": "sample string 6",
"VoucherTypeName": "sample string 7",
"SBUID": 8,
"IDSBU": 9,
"IsWHTVoucher": true,
"CurrencyId": 11,
"SBUTitle": "sample string 12",
"TotalDebit": 13.0,
"TotalCredit": 14.0,
"IsSMSQue": true,
"IsFingerPrint": true,
"IsBrowseFile": true,
"IsSign": true,
"BytesFinger": "QEA=",
"BytesDoc": "QEA=",
"BytesSign": "QEA=",
"CropSeasonID": 19,
"ListBody": [
{
"SerialNo": 1,
"VoucherID": 2,
"VoucherType": "sample string 3",
"AccountNo": "sample string 4",
"AccountName": "sample string 5",
"Remarks": "sample string 6",
"Debit": 7.0,
"Credit": 8.0
},
{
"SerialNo": 1,
"VoucherID": 2,
"VoucherType": "sample string 3",
"AccountNo": "sample string 4",
"AccountName": "sample string 5",
"Remarks": "sample string 6",
"Debit": 7.0,
"Credit": 8.0
}
]
}
application/xml, text/xml
Sample:
<VoucherHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroFlour_API.Models">
<BytesDoc>QEA=</BytesDoc>
<BytesFinger>QEA=</BytesFinger>
<BytesSign>QEA=</BytesSign>
<CropSeasonID>19</CropSeasonID>
<CurrencyId>11</CurrencyId>
<IDSBU>9</IDSBU>
<IsBrowseFile>true</IsBrowseFile>
<IsFingerPrint>true</IsFingerPrint>
<IsPosted>true</IsPosted>
<IsSMSQue>true</IsSMSQue>
<IsSign>true</IsSign>
<IsWHTVoucher>true</IsWHTVoucher>
<ListBody>
<VoucherBody>
<AccountName>sample string 5</AccountName>
<AccountNo>sample string 4</AccountNo>
<Credit>8</Credit>
<Debit>7</Debit>
<Remarks>sample string 6</Remarks>
<SerialNo>1</SerialNo>
<VoucherID>2</VoucherID>
<VoucherType>sample string 3</VoucherType>
</VoucherBody>
<VoucherBody>
<AccountName>sample string 5</AccountName>
<AccountNo>sample string 4</AccountNo>
<Credit>8</Credit>
<Debit>7</Debit>
<Remarks>sample string 6</Remarks>
<SerialNo>1</SerialNo>
<VoucherID>2</VoucherID>
<VoucherType>sample string 3</VoucherType>
</VoucherBody>
</ListBody>
<ManualNo>sample string 6</ManualNo>
<Narration>sample string 4</Narration>
<SBUID>8</SBUID>
<SBUTitle>sample string 12</SBUTitle>
<TotalCredit>14</TotalCredit>
<TotalDebit>13</TotalDebit>
<VoucherDate>2026-06-24T03:05:53.158006-07:00</VoucherDate>
<VoucherID>1</VoucherID>
<VoucherType>sample string 2</VoucherType>
<VoucherTypeName>sample string 7</VoucherTypeName>
</VoucherHeader>
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. |