POST api/VoucherDetail

Request Information

URI Parameters

None.

Body Parameters

VoucherDetail
NameDescriptionTypeAdditional information
VoucherHeaderId

integer

None.

SrNo

integer

None.

AccountId

integer

None.

Amount

decimal number

None.

DebitorCreditor

integer

None.

Narration

string

None.

Id

integer

None.

Active

boolean

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VoucherHeaderId": 1,
  "SrNo": 2,
  "AccountId": 3,
  "Amount": 4.0,
  "DebitorCreditor": 5,
  "Narration": "sample string 6",
  "Id": 7,
  "Active": true,
  "CreatedBy": "sample string 9"
}

application/xml, text/xml

Sample:
<VoucherDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model">
  <Active>true</Active>
  <CreatedBy>sample string 9</CreatedBy>
  <Id>7</Id>
  <AccountId>3</AccountId>
  <Amount>4</Amount>
  <DebitorCreditor>5</DebitorCreditor>
  <Narration>sample string 6</Narration>
  <SrNo>2</SrNo>
  <VoucherHeaderId>1</VoucherHeaderId>
</VoucherDetail>

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.