POST api/CustomerCEI/GetALLGraphDataFromFilter

Request Information

URI Parameters

None.

Body Parameters

GraphFilterDetails
NameDescriptionTypeAdditional information
ServiceStartDate

string

None.

ServiceEndDate

string

None.

SalesStartDate

string

None.

SalesEndDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceStartDate": "sample string 1",
  "ServiceEndDate": "sample string 2",
  "SalesStartDate": "sample string 3",
  "SalesEndDate": "sample string 4"
}

application/xml, text/xml

Sample:
<GraphFilterDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <SalesEndDate>sample string 4</SalesEndDate>
  <SalesStartDate>sample string 3</SalesStartDate>
  <ServiceEndDate>sample string 2</ServiceEndDate>
  <ServiceStartDate>sample string 1</ServiceStartDate>
</GraphFilterDetails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GraphFilterDetails'.

Response Information

Resource Description

GraphModel
NameDescriptionTypeAdditional information
DataYear

integer

None.

DataMonth

integer

None.

AllIndiaCurrentMonthCEI

decimal number

None.

AllIndiaPreviousMonthCEI

decimal number

None.

AllIndiaPreviousYearCEI

decimal number

None.

AllIndiaTop10CEI

decimal number

None.

AllIndiaTop40CEI

decimal number

None.

AllIndiaTop100CEI

decimal number

None.

AllIndiaOtherCityCEI

decimal number

None.

NexaCEI

decimal number

None.

MassCEI

decimal number

None.

ArenaCEI

decimal number

None.

zonesCEI

Collection of ZonesCEI

None.

Response Formats

application/json, text/json

Sample:
{
  "DataYear": 1,
  "DataMonth": 2,
  "AllIndiaCurrentMonthCEI": 3.0,
  "AllIndiaPreviousMonthCEI": 4.0,
  "AllIndiaPreviousYearCEI": 5.0,
  "AllIndiaTop10CEI": 6.0,
  "AllIndiaTop40CEI": 7.0,
  "AllIndiaTop100CEI": 8.0,
  "AllIndiaOtherCityCEI": 9.0,
  "NexaCEI": 10.0,
  "MassCEI": 11.0,
  "ArenaCEI": 12.0,
  "zonesCEI": [
    {
      "ZoneName": "sample string 1",
      "ZoneCEI": 2.0,
      "ZoneTop10CEI": 3.0,
      "ZoneTop40CEI": 4.0,
      "ZoneTop100CEI": 5.0,
      "ZoneOtherCityCEI": 6.0
    },
    {
      "ZoneName": "sample string 1",
      "ZoneCEI": 2.0,
      "ZoneTop10CEI": 3.0,
      "ZoneTop40CEI": 4.0,
      "ZoneTop100CEI": 5.0,
      "ZoneOtherCityCEI": 6.0
    }
  ]
}

application/xml, text/xml

Sample:
<GraphModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <AllIndiaCurrentMonthCEI>3</AllIndiaCurrentMonthCEI>
  <AllIndiaOtherCityCEI>9</AllIndiaOtherCityCEI>
  <AllIndiaPreviousMonthCEI>4</AllIndiaPreviousMonthCEI>
  <AllIndiaPreviousYearCEI>5</AllIndiaPreviousYearCEI>
  <AllIndiaTop100CEI>8</AllIndiaTop100CEI>
  <AllIndiaTop10CEI>6</AllIndiaTop10CEI>
  <AllIndiaTop40CEI>7</AllIndiaTop40CEI>
  <ArenaCEI>12</ArenaCEI>
  <DataMonth>2</DataMonth>
  <DataYear>1</DataYear>
  <MassCEI>11</MassCEI>
  <NexaCEI>10</NexaCEI>
  <zonesCEI>
    <ZonesCEI>
      <ZoneCEI>2</ZoneCEI>
      <ZoneName>sample string 1</ZoneName>
      <ZoneOtherCityCEI>6</ZoneOtherCityCEI>
      <ZoneTop100CEI>5</ZoneTop100CEI>
      <ZoneTop10CEI>3</ZoneTop10CEI>
      <ZoneTop40CEI>4</ZoneTop40CEI>
    </ZonesCEI>
    <ZonesCEI>
      <ZoneCEI>2</ZoneCEI>
      <ZoneName>sample string 1</ZoneName>
      <ZoneOtherCityCEI>6</ZoneOtherCityCEI>
      <ZoneTop100CEI>5</ZoneTop100CEI>
      <ZoneTop10CEI>3</ZoneTop10CEI>
      <ZoneTop40CEI>4</ZoneTop40CEI>
    </ZonesCEI>
  </zonesCEI>
</GraphModel>