POST api/v1/VoucherSave

Request Information

URI Parameters

None.

Body Parameters

VoucherSaveInput
NameDescriptionTypeAdditional 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.

CompID

integer

None.

UserID

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,
  "CompID": 9,
  "UserID": 10,
  "MobileNo": "sample string 11",
  "PaidTo": "sample string 12",
  "JsonItem": "sample string 13"
}

application/xml, text/xml

Sample:
<VoucherSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>9</CompID>
  <JsonItem>sample string 13</JsonItem>
  <LocID>8</LocID>
  <MobileNo>sample string 11</MobileNo>
  <Mode>sample string 1</Mode>
  <Narration>sample string 6</Narration>
  <PaidTo>sample string 12</PaidTo>
  <PaymentModeID>5</PaymentModeID>
  <RefVchID>4</RefVchID>
  <TranType>sample string 7</TranType>
  <UserID>10</UserID>
  <VoucherID>3</VoucherID>
  <VoucherType>sample string 2</VoucherType>
</VoucherSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VoucherSaveInput'.

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.