POST api/DimensionVoucherDetail

Request Information

URI Parameters

None.

Body Parameters

Collection of F_DimensionVoucherDetail
NameDescriptionTypeAdditional information
Id

integer

None.

VoucherNo

string

None.

VoucherLineNo

integer

None.

CrDrFlag

string

None.

LedgerCode

string

None.

Amt

decimal number

None.

DimensionId

integer

None.

BranchCode

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

HeaderBranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "VoucherNo": "sample string 2",
    "VoucherLineNo": 1,
    "CrDrFlag": "sample string 3",
    "LedgerCode": "sample string 4",
    "Amt": 1.0,
    "DimensionId": 1,
    "BranchCode": 5,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T15:13:03.707339+00:00",
    "HeaderBranchCode": 6
  },
  {
    "Id": 1,
    "VoucherNo": "sample string 2",
    "VoucherLineNo": 1,
    "CrDrFlag": "sample string 3",
    "LedgerCode": "sample string 4",
    "Amt": 1.0,
    "DimensionId": 1,
    "BranchCode": 5,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T15:13:03.707339+00:00",
    "HeaderBranchCode": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfF_DimensionVoucherDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <F_DimensionVoucherDetail>
    <Amt>1</Amt>
    <BranchCode>5</BranchCode>
    <CrDrFlag>sample string 3</CrDrFlag>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T15:13:03.707339+00:00</CreatedOn>
    <DimensionId>1</DimensionId>
    <HeaderBranchCode>6</HeaderBranchCode>
    <Id>1</Id>
    <LedgerCode>sample string 4</LedgerCode>
    <VoucherLineNo>1</VoucherLineNo>
    <VoucherNo>sample string 2</VoucherNo>
  </F_DimensionVoucherDetail>
  <F_DimensionVoucherDetail>
    <Amt>1</Amt>
    <BranchCode>5</BranchCode>
    <CrDrFlag>sample string 3</CrDrFlag>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T15:13:03.707339+00:00</CreatedOn>
    <DimensionId>1</DimensionId>
    <HeaderBranchCode>6</HeaderBranchCode>
    <Id>1</Id>
    <LedgerCode>sample string 4</LedgerCode>
    <VoucherLineNo>1</VoucherLineNo>
    <VoucherNo>sample string 2</VoucherNo>
  </F_DimensionVoucherDetail>
</ArrayOfF_DimensionVoucherDetail>

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 'IEnumerable`1'.

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.