GET api/MaintenanceHeads/GetMaintenanceTotalByProc/{year}/{month}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

month

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of tblMaintenanceTotals
NameDescriptionTypeAdditional information
Id

integer

None.

totalmaintenance

decimal number

None.

remainingAmount

decimal number

None.

totalPaid

decimal number

None.

totalExpenses

decimal number

None.

monthId

integer

None.

fyear

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "totalmaintenance": 2.0,
    "remainingAmount": 3.0,
    "totalPaid": 4.0,
    "totalExpenses": 5.0,
    "monthId": 6,
    "fyear": 7
  },
  {
    "Id": 1,
    "totalmaintenance": 2.0,
    "remainingAmount": 3.0,
    "totalPaid": 4.0,
    "totalExpenses": 5.0,
    "monthId": 6,
    "fyear": 7
  }
]

text/xml

Sample:
<ArrayOftblMaintenanceTotals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjWebApiMaint.Models">
  <tblMaintenanceTotals>
    <Id>1</Id>
    <fyear>7</fyear>
    <monthId>6</monthId>
    <remainingAmount>3</remainingAmount>
    <totalExpenses>5</totalExpenses>
    <totalPaid>4</totalPaid>
    <totalmaintenance>2</totalmaintenance>
  </tblMaintenanceTotals>
  <tblMaintenanceTotals>
    <Id>1</Id>
    <fyear>7</fyear>
    <monthId>6</monthId>
    <remainingAmount>3</remainingAmount>
    <totalExpenses>5</totalExpenses>
    <totalPaid>4</totalPaid>
    <totalmaintenance>2</totalmaintenance>
  </tblMaintenanceTotals>
</ArrayOftblMaintenanceTotals>