GET api/NoqoodyUser/GetDashboardChartDataold

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DashboardDataRequest
NameDescriptionTypeAdditional information
DashboardData

Collection of DashboardDataChartModel

None.

MonthlyData

Collection of DashboardMonthlyDataChartModel

None.

WeeklyData

Collection of DashboardWeeklyDataChartModel

None.

success

boolean

None.

code

string

None.

message

string

None.

errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "DashboardData": [
    {
      "Day": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    },
    {
      "Day": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    }
  ],
  "MonthlyData": [
    {
      "Month": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    },
    {
      "Month": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    }
  ],
  "WeeklyData": [
    {
      "Week": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    },
    {
      "Week": "sample string 1",
      "Amount": 2.0,
      "ServiceList": [
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        },
        {
          "ServiceID": 1,
          "ServiceName": "sample string 2",
          "Amount": 3.0
        }
      ]
    }
  ],
  "success": true,
  "code": "sample string 2",
  "message": "sample string 3",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<NoqoodyUserModels.DashboardDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
  <code>sample string 2</code>
  <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </errors>
  <message>sample string 3</message>
  <success>true</success>
  <DashboardData>
    <NoqoodyUserModels.DashboardDataChartModel>
      <Amount>2</Amount>
      <Day>sample string 1</Day>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
    </NoqoodyUserModels.DashboardDataChartModel>
    <NoqoodyUserModels.DashboardDataChartModel>
      <Amount>2</Amount>
      <Day>sample string 1</Day>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
    </NoqoodyUserModels.DashboardDataChartModel>
  </DashboardData>
  <MonthlyData>
    <NoqoodyUserModels.DashboardMonthlyDataChartModel>
      <Amount>2</Amount>
      <Month>sample string 1</Month>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
    </NoqoodyUserModels.DashboardMonthlyDataChartModel>
    <NoqoodyUserModels.DashboardMonthlyDataChartModel>
      <Amount>2</Amount>
      <Month>sample string 1</Month>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
    </NoqoodyUserModels.DashboardMonthlyDataChartModel>
  </MonthlyData>
  <WeeklyData>
    <NoqoodyUserModels.DashboardWeeklyDataChartModel>
      <Amount>2</Amount>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
      <Week>sample string 1</Week>
    </NoqoodyUserModels.DashboardWeeklyDataChartModel>
    <NoqoodyUserModels.DashboardWeeklyDataChartModel>
      <Amount>2</Amount>
      <ServiceList>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
        <NoqoodyUserModels.ServiceListModel>
          <Amount>3</Amount>
          <ServiceID>1</ServiceID>
          <ServiceName>sample string 2</ServiceName>
        </NoqoodyUserModels.ServiceListModel>
      </ServiceList>
      <Week>sample string 1</Week>
    </NoqoodyUserModels.DashboardWeeklyDataChartModel>
  </WeeklyData>
</NoqoodyUserModels.DashboardDataRequest>