GET api/PR_EmployeeLoanSchedule?DB={DB}&EmployeeLoanID={EmployeeLoanID}&CompanyID={CompanyID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DB

string

Required

EmployeeLoanID

integer

Required

CompanyID

integer

Required

Body Parameters

None.

Response Information

Resource Description

PR_LoanSchedule
NameDescriptionTypeAdditional information
Instalment

decimal number

None.

FlatInterest

decimal number

None.

TotalInterest

decimal number

None.

TotalRepayable

decimal number

None.

Lines

Collection of LoanScheduleLine

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Instalment": 1.0,
  "FlatInterest": 2.0,
  "TotalInterest": 3.0,
  "TotalRepayable": 4.0,
  "Lines": [
    {
      "No": 1,
      "Period": 2,
      "Year": 3,
      "Opening": 4.0,
      "Interest": 5.0,
      "Payment": 6.0,
      "Closing": 7.0,
      "Paused": true
    },
    {
      "No": 1,
      "Period": 2,
      "Year": 3,
      "Opening": 4.0,
      "Interest": 5.0,
      "Payment": 6.0,
      "Closing": 7.0,
      "Paused": true
    }
  ],
  "ErrorMessage": "sample string 5"
}

application/xml, text/xml

Sample:
<PR_LoanSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
  <ErrorMessage>sample string 5</ErrorMessage>
  <FlatInterest>2</FlatInterest>
  <Instalment>1</Instalment>
  <Lines>
    <PayrollLoans.LoanScheduleLine>
      <Closing>7</Closing>
      <Interest>5</Interest>
      <No>1</No>
      <Opening>4</Opening>
      <Paused>true</Paused>
      <Payment>6</Payment>
      <Period>2</Period>
      <Year>3</Year>
    </PayrollLoans.LoanScheduleLine>
    <PayrollLoans.LoanScheduleLine>
      <Closing>7</Closing>
      <Interest>5</Interest>
      <No>1</No>
      <Opening>4</Opening>
      <Paused>true</Paused>
      <Payment>6</Payment>
      <Period>2</Period>
      <Year>3</Year>
    </PayrollLoans.LoanScheduleLine>
  </Lines>
  <TotalInterest>3</TotalInterest>
  <TotalRepayable>4</TotalRepayable>
</PR_LoanSchedule>