POST api/LedgerMaster

Request Information

URI Parameters

None.

Body Parameters

Collection of F_LedgerTransferForYearEnd
NameDescriptionTypeAdditional information
Id

integer

None.

LedgerCode

string

None.

FYear

integer

None.

OppositeLedger

string

None.

BranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "LedgerCode": "sample string 2",
    "FYear": 3,
    "OppositeLedger": "sample string 4",
    "BranchCode": 5
  },
  {
    "Id": 1,
    "LedgerCode": "sample string 2",
    "FYear": 3,
    "OppositeLedger": "sample string 4",
    "BranchCode": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfF_LedgerTransferForYearEnd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <F_LedgerTransferForYearEnd>
    <BranchCode>5</BranchCode>
    <FYear>3</FYear>
    <Id>1</Id>
    <LedgerCode>sample string 2</LedgerCode>
    <OppositeLedger>sample string 4</OppositeLedger>
  </F_LedgerTransferForYearEnd>
  <F_LedgerTransferForYearEnd>
    <BranchCode>5</BranchCode>
    <FYear>3</FYear>
    <Id>1</Id>
    <LedgerCode>sample string 2</LedgerCode>
    <OppositeLedger>sample string 4</OppositeLedger>
  </F_LedgerTransferForYearEnd>
</ArrayOfF_LedgerTransferForYearEnd>

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 'F_LedgerTransferForYearEnd[]'.

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.