POST api/ChartOfAccount/UploadDetail?CreatedBy={CreatedBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreatedBy

integer

Required

Body Parameters

Collection of F_ChartOfAccount
NameDescriptionTypeAdditional information
Id

integer

None.

LedgerAC

string

None.

LedgerName

string

None.

GroupId

integer

None.

OpeningBalance

decimal number

None.

CDFlag

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "LedgerAC": "sample string 2",
    "LedgerName": "sample string 3",
    "GroupId": 1,
    "OpeningBalance": 1.0,
    "CDFlag": "sample string 4",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T17:45:45.9578141+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T17:45:45.9578141+00:00"
  },
  {
    "Id": 1,
    "LedgerAC": "sample string 2",
    "LedgerName": "sample string 3",
    "GroupId": 1,
    "OpeningBalance": 1.0,
    "CDFlag": "sample string 4",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T17:45:45.9578141+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T17:45:45.9578141+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfF_ChartOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <F_ChartOfAccount>
    <CDFlag>sample string 4</CDFlag>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T17:45:45.9578141+00:00</CreatedOn>
    <GroupId>1</GroupId>
    <Id>1</Id>
    <LedgerAC>sample string 2</LedgerAC>
    <LedgerName>sample string 3</LedgerName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T17:45:45.9578141+00:00</ModifiedOn>
    <OpeningBalance>1</OpeningBalance>
  </F_ChartOfAccount>
  <F_ChartOfAccount>
    <CDFlag>sample string 4</CDFlag>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T17:45:45.9578141+00:00</CreatedOn>
    <GroupId>1</GroupId>
    <Id>1</Id>
    <LedgerAC>sample string 2</LedgerAC>
    <LedgerName>sample string 3</LedgerName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T17:45:45.9578141+00:00</ModifiedOn>
    <OpeningBalance>1</OpeningBalance>
  </F_ChartOfAccount>
</ArrayOfF_ChartOfAccount>

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

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.