POST api/ReportLineChart

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "StartDate": "sample string 2",
  "EndDate": "sample string 3",
  "GroupBy": "sample string 4",
  "FilterBy": "sample string 5",
  "State": "sample string 6"
}

application/xml, text/xml

Sample:
<ReportLineChartBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InsuranceAPI.Models">
  <EndDate>sample string 3</EndDate>
  <FilterBy>sample string 5</FilterBy>
  <GroupBy>sample string 4</GroupBy>
  <ID>1</ID>
  <StartDate>sample string 2</StartDate>
  <State>sample string 6</State>
</ReportLineChartBindingModel>

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 'ReportLineChartBindingModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "labels": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "datasets": [
    {
      "label": "sample string 1",
      "data": [
        1,
        2,
        3
      ],
      "fill": true,
      "lineTension": 3.1,
      "backgroundColor": "sample string 4",
      "borderColor": "sample string 5",
      "borderCapStyle": "sample string 6",
      "borderDash": [
        1,
        2,
        3
      ],
      "borderDashOffset": 7.1,
      "borderJoinStyle": "sample string 8",
      "pointBorderColor": "sample string 9",
      "pointBackgroundColor": "sample string 10",
      "pointBorderWidth": 11,
      "pointHoverRadius": 12,
      "pointHoverBackgroundColor": "sample string 13",
      "pointHoverBorderColor": "sample string 14",
      "pointHoverBorderWidth": 15,
      "pointRadius": 16,
      "pointHitRadius": 17,
      "spanGaps": true
    },
    {
      "label": "sample string 1",
      "data": [
        1,
        2,
        3
      ],
      "fill": true,
      "lineTension": 3.1,
      "backgroundColor": "sample string 4",
      "borderColor": "sample string 5",
      "borderCapStyle": "sample string 6",
      "borderDash": [
        1,
        2,
        3
      ],
      "borderDashOffset": 7.1,
      "borderJoinStyle": "sample string 8",
      "pointBorderColor": "sample string 9",
      "pointBackgroundColor": "sample string 10",
      "pointBorderWidth": 11,
      "pointHoverRadius": 12,
      "pointHoverBackgroundColor": "sample string 13",
      "pointHoverBorderColor": "sample string 14",
      "pointHoverBorderWidth": 15,
      "pointRadius": 16,
      "pointHitRadius": 17,
      "spanGaps": true
    },
    {
      "label": "sample string 1",
      "data": [
        1,
        2,
        3
      ],
      "fill": true,
      "lineTension": 3.1,
      "backgroundColor": "sample string 4",
      "borderColor": "sample string 5",
      "borderCapStyle": "sample string 6",
      "borderDash": [
        1,
        2,
        3
      ],
      "borderDashOffset": 7.1,
      "borderJoinStyle": "sample string 8",
      "pointBorderColor": "sample string 9",
      "pointBackgroundColor": "sample string 10",
      "pointBorderWidth": 11,
      "pointHoverRadius": 12,
      "pointHoverBackgroundColor": "sample string 13",
      "pointHoverBorderColor": "sample string 14",
      "pointHoverBorderWidth": 15,
      "pointRadius": 16,
      "pointHitRadius": 17,
      "spanGaps": true
    }
  ]
}

application/xml, text/xml

Sample:
<ReportLineChartViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InsuranceAPI.Models">
  <datasets>
    <ReportLineChartViewModel.Dataset>
      <backgroundColor>sample string 4</backgroundColor>
      <borderCapStyle>sample string 6</borderCapStyle>
      <borderColor>sample string 5</borderColor>
      <borderDash xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </borderDash>
      <borderDashOffset>7.1</borderDashOffset>
      <borderJoinStyle>sample string 8</borderJoinStyle>
      <data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </data>
      <fill>true</fill>
      <label>sample string 1</label>
      <lineTension>3.1</lineTension>
      <pointBackgroundColor>sample string 10</pointBackgroundColor>
      <pointBorderColor>sample string 9</pointBorderColor>
      <pointBorderWidth>11</pointBorderWidth>
      <pointHitRadius>17</pointHitRadius>
      <pointHoverBackgroundColor>sample string 13</pointHoverBackgroundColor>
      <pointHoverBorderColor>sample string 14</pointHoverBorderColor>
      <pointHoverBorderWidth>15</pointHoverBorderWidth>
      <pointHoverRadius>12</pointHoverRadius>
      <pointRadius>16</pointRadius>
      <spanGaps>true</spanGaps>
    </ReportLineChartViewModel.Dataset>
    <ReportLineChartViewModel.Dataset>
      <backgroundColor>sample string 4</backgroundColor>
      <borderCapStyle>sample string 6</borderCapStyle>
      <borderColor>sample string 5</borderColor>
      <borderDash xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </borderDash>
      <borderDashOffset>7.1</borderDashOffset>
      <borderJoinStyle>sample string 8</borderJoinStyle>
      <data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </data>
      <fill>true</fill>
      <label>sample string 1</label>
      <lineTension>3.1</lineTension>
      <pointBackgroundColor>sample string 10</pointBackgroundColor>
      <pointBorderColor>sample string 9</pointBorderColor>
      <pointBorderWidth>11</pointBorderWidth>
      <pointHitRadius>17</pointHitRadius>
      <pointHoverBackgroundColor>sample string 13</pointHoverBackgroundColor>
      <pointHoverBorderColor>sample string 14</pointHoverBorderColor>
      <pointHoverBorderWidth>15</pointHoverBorderWidth>
      <pointHoverRadius>12</pointHoverRadius>
      <pointRadius>16</pointRadius>
      <spanGaps>true</spanGaps>
    </ReportLineChartViewModel.Dataset>
    <ReportLineChartViewModel.Dataset>
      <backgroundColor>sample string 4</backgroundColor>
      <borderCapStyle>sample string 6</borderCapStyle>
      <borderColor>sample string 5</borderColor>
      <borderDash xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </borderDash>
      <borderDashOffset>7.1</borderDashOffset>
      <borderJoinStyle>sample string 8</borderJoinStyle>
      <data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </data>
      <fill>true</fill>
      <label>sample string 1</label>
      <lineTension>3.1</lineTension>
      <pointBackgroundColor>sample string 10</pointBackgroundColor>
      <pointBorderColor>sample string 9</pointBorderColor>
      <pointBorderWidth>11</pointBorderWidth>
      <pointHitRadius>17</pointHitRadius>
      <pointHoverBackgroundColor>sample string 13</pointHoverBackgroundColor>
      <pointHoverBorderColor>sample string 14</pointHoverBorderColor>
      <pointHoverBorderWidth>15</pointHoverBorderWidth>
      <pointHoverRadius>12</pointHoverRadius>
      <pointRadius>16</pointRadius>
      <spanGaps>true</spanGaps>
    </ReportLineChartViewModel.Dataset>
  </datasets>
  <labels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </labels>
</ReportLineChartViewModel>