POST api/Account/GetLedger

Request Information

URI Parameters

None.

Body Parameters

LedgerRequestModel
NameDescriptionTypeAdditional information
childid

string

None.

isvoided

string

None.

filterterm

string

None.

sortindex

string

None.

sortdirection

string

None.

startrownum

string

None.

endrowmum

string

None.

filtertype

string

None.

adultid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "childid": "sample string 1",
  "isvoided": "sample string 2",
  "filterterm": "sample string 3",
  "sortindex": "sample string 4",
  "sortdirection": "sample string 5",
  "startrownum": "sample string 6",
  "endrowmum": "sample string 7",
  "filtertype": "sample string 8",
  "adultid": "sample string 9"
}

application/xml, text/xml

Sample:
<LedgerRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <adultid>sample string 9</adultid>
  <childid>sample string 1</childid>
  <endrowmum>sample string 7</endrowmum>
  <filterterm>sample string 3</filterterm>
  <filtertype>sample string 8</filtertype>
  <isvoided>sample string 2</isvoided>
  <sortdirection>sample string 5</sortdirection>
  <sortindex>sample string 4</sortindex>
  <startrownum>sample string 6</startrownum>
</LedgerRequestModel>

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 'LedgerRequestModel'.

Response Information

Resource Description

Collection of AccountLedger
NameDescriptionTypeAdditional information
DATE

string

None.

ChildName

string

None.

PayerName

string

None.

typeofactivity

string

None.

Type

string

None.

Charges

string

None.

Payments

string

None.

Balance

string

None.

RL_ID

integer

None.

GL_Transaction_Id

integer

None.

AccountName

string

None.

ByWhom

string

None.

SiteName

string

None.

Transdate

string

None.

showMore

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DATE": "sample string 1",
    "ChildName": "sample string 2",
    "PayerName": "sample string 3",
    "typeofactivity": "sample string 4",
    "Type": "sample string 5",
    "Charges": "sample string 6",
    "Payments": "sample string 7",
    "Balance": "sample string 8",
    "RL_ID": 9,
    "GL_Transaction_Id": 10,
    "AccountName": "sample string 11",
    "ByWhom": "sample string 12",
    "SiteName": "sample string 13",
    "Transdate": "sample string 14",
    "showMore": true
  },
  {
    "DATE": "sample string 1",
    "ChildName": "sample string 2",
    "PayerName": "sample string 3",
    "typeofactivity": "sample string 4",
    "Type": "sample string 5",
    "Charges": "sample string 6",
    "Payments": "sample string 7",
    "Balance": "sample string 8",
    "RL_ID": 9,
    "GL_Transaction_Id": 10,
    "AccountName": "sample string 11",
    "ByWhom": "sample string 12",
    "SiteName": "sample string 13",
    "Transdate": "sample string 14",
    "showMore": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountLedger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <AccountLedger>
    <AccountName>sample string 11</AccountName>
    <Balance>sample string 8</Balance>
    <ByWhom>sample string 12</ByWhom>
    <Charges>sample string 6</Charges>
    <ChildName>sample string 2</ChildName>
    <DATE>sample string 1</DATE>
    <GL_Transaction_Id>10</GL_Transaction_Id>
    <PayerName>sample string 3</PayerName>
    <Payments>sample string 7</Payments>
    <RL_ID>9</RL_ID>
    <SiteName>sample string 13</SiteName>
    <Transdate>sample string 14</Transdate>
    <Type>sample string 5</Type>
    <showMore>true</showMore>
    <typeofactivity>sample string 4</typeofactivity>
  </AccountLedger>
  <AccountLedger>
    <AccountName>sample string 11</AccountName>
    <Balance>sample string 8</Balance>
    <ByWhom>sample string 12</ByWhom>
    <Charges>sample string 6</Charges>
    <ChildName>sample string 2</ChildName>
    <DATE>sample string 1</DATE>
    <GL_Transaction_Id>10</GL_Transaction_Id>
    <PayerName>sample string 3</PayerName>
    <Payments>sample string 7</Payments>
    <RL_ID>9</RL_ID>
    <SiteName>sample string 13</SiteName>
    <Transdate>sample string 14</Transdate>
    <Type>sample string 5</Type>
    <showMore>true</showMore>
    <typeofactivity>sample string 4</typeofactivity>
  </AccountLedger>
</ArrayOfAccountLedger>