POST api/VoucherHeader
Request Information
URI Parameters
None.
Body Parameters
VoucherHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherTypeId | integer |
None. |
|
| VoucherNo | integer |
None. |
|
| VoucherDate | date |
None. |
|
| Narration | string |
None. |
|
| Id | integer |
None. |
|
| Active | boolean |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VoucherTypeId": 1,
"VoucherNo": 2,
"VoucherDate": "2025-12-16T07:50:00.6001592+05:30",
"Narration": "sample string 4",
"Id": 5,
"Active": true,
"CreatedBy": "sample string 7"
}
application/xml, text/xml
Sample:
<VoucherHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model"> <Active>true</Active> <CreatedBy>sample string 7</CreatedBy> <Id>5</Id> <Narration>sample string 4</Narration> <VoucherDate>2025-12-16T07:50:00.6001592+05:30</VoucherDate> <VoucherNo>2</VoucherNo> <VoucherTypeId>1</VoucherTypeId> </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. |