GET api/Budget/{budgetId}/BudgetLines?orgUnitType={orgUnitType}&orgUnitId={orgUnitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
budgetId

integer

Required

orgUnitType

integer

None.

orgUnitId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BudgetLine
NameDescriptionTypeAdditional information
budgetId

integer

None.

lineNo

integer

None.

year

integer

None.

period

integer

None.

ledgerAccountNo

integer

None.

debitAmountIncurred

decimal number

None.

creditAmountInvoiced

decimal number

None.

dimentions

BudgetDimentions

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "budgetId": 1,
    "lineNo": 1,
    "year": 1,
    "period": 1,
    "ledgerAccountNo": 1,
    "debitAmountIncurred": 1.0,
    "creditAmountInvoiced": 1.0,
    "dimentions": {
      "employeeNo": 1,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1
    }
  },
  {
    "budgetId": 1,
    "lineNo": 1,
    "year": 1,
    "period": 1,
    "ledgerAccountNo": 1,
    "debitAmountIncurred": 1.0,
    "creditAmountInvoiced": 1.0,
    "dimentions": {
      "employeeNo": 1,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfBudgetLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BudgetLine>
    <budgetId>1</budgetId>
    <lineNo>1</lineNo>
    <year>1</year>
    <period>1</period>
    <ledgerAccountNo>1</ledgerAccountNo>
    <debitAmountIncurred>1</debitAmountIncurred>
    <creditAmountInvoiced>1</creditAmountInvoiced>
    <dimentions>
      <employeeNo>1</employeeNo>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
    </dimentions>
  </BudgetLine>
  <BudgetLine>
    <budgetId>1</budgetId>
    <lineNo>1</lineNo>
    <year>1</year>
    <period>1</period>
    <ledgerAccountNo>1</ledgerAccountNo>
    <debitAmountIncurred>1</debitAmountIncurred>
    <creditAmountInvoiced>1</creditAmountInvoiced>
    <dimentions>
      <employeeNo>1</employeeNo>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
    </dimentions>
  </BudgetLine>
</ArrayOfBudgetLine>