POST api/AcccountVoucher
POST it will return the voucher detail, unique id is get from the listing above, func = [Active][Used][Expired][ById], VoucherId is required when using [ById]
Request Information
URI Parameters
None.
Body Parameters
TVoucher| Name | Description | Type | Additional information |
|---|---|---|---|
| AcctNo | integer |
None. |
|
| Func | string |
None. |
|
| VoucherId | integer |
None. |
|
| Lang | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AcctNo": 1,
"Func": "sample string 2",
"VoucherId": 3,
"Lang": "sample string 4"
}
application/xml, text/xml
Sample:
<SQLFunction.TVoucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTapi20.AppsDAL"> <AcctNo>1</AcctNo> <Func>sample string 2</Func> <Lang>sample string 4</Lang> <VoucherId>3</VoucherId> </SQLFunction.TVoucher>
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. |