POST api/Accounts/InsertVoucherPostingVouchersPosting?fromDate={fromDate}&toDate={toDate}&isCheck1Visible={isCheck1Visible}&isCheck2Visible={isCheck2Visible}&isCheck3Visible={isCheck3Visible}&isCheck4Visible={isCheck4Visible}&officeId={officeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDate

string

Required

toDate

string

Required

isCheck1Visible

boolean

Required

isCheck2Visible

boolean

Required

isCheck3Visible

boolean

Required

isCheck4Visible

boolean

Required

officeId

integer

Default value is 0

Body Parameters

Collection of VoucherModel
NameDescriptionTypeAdditional information
VoucherNo

integer

None.

vVoucherNo

string

None.

VoucherType

string

None.

VoucherDate

date

None.

IsPosted1

boolean

None.

IsPosted2

boolean

None.

IsPosted3

boolean

None.

IsPosted4

boolean

None.

KeyName

string

None.

TableName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "VoucherNo": 1,
    "vVoucherNo": "sample string 2",
    "VoucherType": "sample string 3",
    "VoucherDate": "2025-07-04T19:29:18.4552947+05:00",
    "IsPosted1": true,
    "IsPosted2": true,
    "IsPosted3": true,
    "IsPosted4": true,
    "KeyName": "sample string 9",
    "TableName": "sample string 10"
  },
  {
    "VoucherNo": 1,
    "vVoucherNo": "sample string 2",
    "VoucherType": "sample string 3",
    "VoucherDate": "2025-07-04T19:29:18.4552947+05:00",
    "IsPosted1": true,
    "IsPosted2": true,
    "IsPosted3": true,
    "IsPosted4": true,
    "KeyName": "sample string 9",
    "TableName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVoucherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models">
  <VoucherModel>
    <IsPosted1>true</IsPosted1>
    <IsPosted2>true</IsPosted2>
    <IsPosted3>true</IsPosted3>
    <IsPosted4>true</IsPosted4>
    <KeyName>sample string 9</KeyName>
    <TableName>sample string 10</TableName>
    <VoucherDate>2025-07-04T19:29:18.4552947+05:00</VoucherDate>
    <VoucherNo>1</VoucherNo>
    <VoucherType>sample string 3</VoucherType>
    <vVoucherNo>sample string 2</vVoucherNo>
  </VoucherModel>
  <VoucherModel>
    <IsPosted1>true</IsPosted1>
    <IsPosted2>true</IsPosted2>
    <IsPosted3>true</IsPosted3>
    <IsPosted4>true</IsPosted4>
    <KeyName>sample string 9</KeyName>
    <TableName>sample string 10</TableName>
    <VoucherDate>2025-07-04T19:29:18.4552947+05:00</VoucherDate>
    <VoucherNo>1</VoucherNo>
    <VoucherType>sample string 3</VoucherType>
    <vVoucherNo>sample string 2</vVoucherNo>
  </VoucherModel>
</ArrayOfVoucherModel>

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.