POST api/v1/VoucherSave
Request Information
URI Parameters
None.
Body Parameters
VoucherSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| VoucherType | string |
None. |
|
| VoucherID | integer |
None. |
|
| RefVchID | integer |
None. |
|
| PaymentModeID | integer |
None. |
|
| Narration | string |
None. |
|
| TranType | string |
None. |
|
| LocID | integer |
None. |
|
| MobileNo | string |
None. |
|
| PaidTo | string |
None. |
|
| JsonItem | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"VoucherType": "sample string 2",
"VoucherID": 3,
"RefVchID": 4,
"PaymentModeID": 5,
"Narration": "sample string 6",
"TranType": "sample string 7",
"LocID": 8,
"MobileNo": "sample string 9",
"PaidTo": "sample string 10",
"JsonItem": "sample string 11"
}
application/xml, text/xml
Sample:
<VoucherSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <JsonItem>sample string 11</JsonItem> <LocID>8</LocID> <MobileNo>sample string 9</MobileNo> <Mode>sample string 1</Mode> <Narration>sample string 6</Narration> <PaidTo>sample string 10</PaidTo> <PaymentModeID>5</PaymentModeID> <RefVchID>4</RefVchID> <TranType>sample string 7</TranType> <VoucherID>3</VoucherID> <VoucherType>sample string 2</VoucherType> </VoucherSaveInput>
application/x-www-form-urlencoded
Sample:
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. |