GET api/controlPanel/GetStatistics

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StatisticsViewModel
NameDescriptionTypeAdditional information
numberOfDoneDreams

integer

None.

numberOfActiveDreams

integer

None.

PurchasesBalance

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "numberOfDoneDreams": 1,
  "numberOfActiveDreams": 2,
  "PurchasesBalance": 3.1
}

application/xml, text/xml

Sample:
<StatisticsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.ViewModels">
  <PurchasesBalance>3.1</PurchasesBalance>
  <numberOfActiveDreams>2</numberOfActiveDreams>
  <numberOfDoneDreams>1</numberOfDoneDreams>
</StatisticsViewModel>