POST api/AccountVouchers/SaveRecordWHT?IsOpen={IsOpen}&vUserID={vUserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsOpen

boolean

Required

vUserID

integer

Required

Body Parameters

VoucherWHT
NameDescriptionTypeAdditional information
ID

integer

None.

VoucherID

integer

None.

CrVoucherID

integer

None.

VoucherIDSBU

integer

None.

CrVoucherIDSBU

integer

None.

VoucherDate

date

None.

AccountNo

string

None.

Amount

decimal number

None.

WHTRatio

decimal number

None.

WHTAmount

decimal number

None.

ManualNo

string

None.

Narration

string

None.

Remarks

string

None.

IsPlus

boolean

None.

IsPosted

boolean

None.

SBUID

integer

None.

IDSBU

integer

None.

AccountTitle

string

None.

TotalDebit

decimal number

None.

CurrencyId

integer

None.

CropSeasonID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "VoucherID": 2,
  "CrVoucherID": 3,
  "VoucherIDSBU": 4,
  "CrVoucherIDSBU": 5,
  "VoucherDate": "2026-06-24T03:06:03.3026464-07:00",
  "AccountNo": "sample string 7",
  "Amount": 8.0,
  "WHTRatio": 9.0,
  "WHTAmount": 10.0,
  "ManualNo": "sample string 11",
  "Narration": "sample string 12",
  "Remarks": "sample string 13",
  "IsPlus": true,
  "IsPosted": true,
  "SBUID": 16,
  "IDSBU": 17,
  "AccountTitle": "sample string 18",
  "TotalDebit": 19.0,
  "CurrencyId": 20,
  "CropSeasonID": 21
}

application/xml, text/xml

Sample:
<VoucherWHT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Objects">
  <AccountNo>sample string 7</AccountNo>
  <AccountTitle>sample string 18</AccountTitle>
  <Amount>8</Amount>
  <CrVoucherID>3</CrVoucherID>
  <CrVoucherIDSBU>5</CrVoucherIDSBU>
  <CropSeasonID>21</CropSeasonID>
  <CurrencyId>20</CurrencyId>
  <ID>1</ID>
  <IDSBU>17</IDSBU>
  <IsPlus>true</IsPlus>
  <IsPosted>true</IsPosted>
  <ManualNo>sample string 11</ManualNo>
  <Narration>sample string 12</Narration>
  <Remarks>sample string 13</Remarks>
  <SBUID>16</SBUID>
  <TotalDebit>19</TotalDebit>
  <VoucherDate>2026-06-24T03:06:03.3026464-07:00</VoucherDate>
  <VoucherID>2</VoucherID>
  <VoucherIDSBU>4</VoucherIDSBU>
  <WHTAmount>10</WHTAmount>
  <WHTRatio>9</WHTRatio>
</VoucherWHT>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.