GET api/GetAdminDashboard

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetDashboard
NameDescriptionTypeAdditional information
TotalLead

integer

None.

TotalOpen

integer

None.

TotalClosed

integer

None.

TotalCurrentLead

integer

None.

TotalCurrentOpen

integer

None.

TotalCurrentClosed

integer

None.

ProjectLeadDashboard

Collection of GetProjectLeadDashboard

None.

SourceLeadDashboard

Collection of GetSourceLeadDashboard

None.

PotentialLeadDashboard

Collection of GetLeadPotentialDashboard

None.

StageLeadDashboard

Collection of GetLeadStageDashboard

None.

SalesmenLeads

Collection of GetSalesmenDashboard

None.

SalesmenStageDashBoards

Collection of GetSalesmenStageDashBoard

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalLead": 1,
  "TotalOpen": 2,
  "TotalClosed": 3,
  "TotalCurrentLead": 4,
  "TotalCurrentOpen": 5,
  "TotalCurrentClosed": 6,
  "ProjectLeadDashboard": [
    {
      "ProjectId": 1,
      "ProjectName": "sample string 1"
    },
    {
      "ProjectId": 1,
      "ProjectName": "sample string 1"
    }
  ],
  "SourceLeadDashboard": [
    {
      "SourceName": "sample string 1"
    },
    {
      "SourceName": "sample string 1"
    }
  ],
  "PotentialLeadDashboard": [
    {
      "PotentialName": "sample string 1"
    },
    {
      "PotentialName": "sample string 1"
    }
  ],
  "StageLeadDashboard": [
    {
      "StageName": "sample string 1"
    },
    {
      "StageName": "sample string 1"
    }
  ],
  "SalesmenLeads": [
    {
      "UserId": 1,
      "Username": "sample string 1"
    },
    {
      "UserId": 1,
      "Username": "sample string 1"
    }
  ],
  "SalesmenStageDashBoards": [
    {
      "UserId": 1,
      "Username": "sample string 1",
      "LeadStageDashboards": [
        {
          "StageName": "sample string 1"
        },
        {
          "StageName": "sample string 1"
        }
      ]
    },
    {
      "UserId": 1,
      "Username": "sample string 1",
      "LeadStageDashboards": [
        {
          "StageName": "sample string 1"
        },
        {
          "StageName": "sample string 1"
        }
      ]
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'BrokerServer.Services.User.GetLeadPotentialDashboard' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'BrokerServer.Services.User.GetLeadPotentialDashboard' contains cycles and cannot be serialized if reference tracking is disabled.