GET api/PeriodicalSalesProfit?ChartType={ChartType}&DisciplineID={DisciplineID}

Web Method for Periodical sales and profit Chart

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChartType

integer

Required

DisciplineID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

SalesProfit Chart

PeriodicalDashboard
NameDescriptionTypeAdditional information
Data

Collection of ChartPeriodical

None.

LabManagement

LabManagement

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "DisplayNumber": 1,
      "Category": {
        "ID": 1,
        "CategoryName": "sample string 2",
        "GraphType": "sample string 3",
        "ItemCode": "sample string 4"
      },
      "Data": [
        {
          "Diff": 1.0,
          "Trend": "sample string 1",
          "Date": "2017-12-15T14:07:20.5174465-06:00",
          "Value": 1.0,
          "Status": "sample string 3",
          "DisplayUnit": "sample string 4"
        },
        {
          "Diff": 1.0,
          "Trend": "sample string 1",
          "Date": "2017-12-15T14:07:20.5174465-06:00",
          "Value": 1.0,
          "Status": "sample string 3",
          "DisplayUnit": "sample string 4"
        }
      ]
    },
    {
      "DisplayNumber": 1,
      "Category": {
        "ID": 1,
        "CategoryName": "sample string 2",
        "GraphType": "sample string 3",
        "ItemCode": "sample string 4"
      },
      "Data": [
        {
          "Diff": 1.0,
          "Trend": "sample string 1",
          "Date": "2017-12-15T14:07:20.5174465-06:00",
          "Value": 1.0,
          "Status": "sample string 3",
          "DisplayUnit": "sample string 4"
        },
        {
          "Diff": 1.0,
          "Trend": "sample string 1",
          "Date": "2017-12-15T14:07:20.5174465-06:00",
          "Value": 1.0,
          "Status": "sample string 3",
          "DisplayUnit": "sample string 4"
        }
      ]
    }
  ],
  "LabManagement": {
    "Status": "sample string 1",
    "Trend": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<PeriodicalDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models">
  <Data>
    <ChartPeriodical>
      <Category>
        <CategoryName>sample string 2</CategoryName>
        <GraphType>sample string 3</GraphType>
        <ID>1</ID>
        <ItemCode>sample string 4</ItemCode>
      </Category>
      <Data>
        <ChartDataPeriodical>
          <Date>2017-12-15T14:07:20.5174465-06:00</Date>
          <DisplayUnit>sample string 4</DisplayUnit>
          <Status>sample string 3</Status>
          <Value>1</Value>
          <Diff>1</Diff>
          <Trend>sample string 1</Trend>
        </ChartDataPeriodical>
        <ChartDataPeriodical>
          <Date>2017-12-15T14:07:20.5174465-06:00</Date>
          <DisplayUnit>sample string 4</DisplayUnit>
          <Status>sample string 3</Status>
          <Value>1</Value>
          <Diff>1</Diff>
          <Trend>sample string 1</Trend>
        </ChartDataPeriodical>
      </Data>
      <DisplayNumber>1</DisplayNumber>
    </ChartPeriodical>
    <ChartPeriodical>
      <Category>
        <CategoryName>sample string 2</CategoryName>
        <GraphType>sample string 3</GraphType>
        <ID>1</ID>
        <ItemCode>sample string 4</ItemCode>
      </Category>
      <Data>
        <ChartDataPeriodical>
          <Date>2017-12-15T14:07:20.5174465-06:00</Date>
          <DisplayUnit>sample string 4</DisplayUnit>
          <Status>sample string 3</Status>
          <Value>1</Value>
          <Diff>1</Diff>
          <Trend>sample string 1</Trend>
        </ChartDataPeriodical>
        <ChartDataPeriodical>
          <Date>2017-12-15T14:07:20.5174465-06:00</Date>
          <DisplayUnit>sample string 4</DisplayUnit>
          <Status>sample string 3</Status>
          <Value>1</Value>
          <Diff>1</Diff>
          <Trend>sample string 1</Trend>
        </ChartDataPeriodical>
      </Data>
      <DisplayNumber>1</DisplayNumber>
    </ChartPeriodical>
  </Data>
  <LabManagement>
    <Status>sample string 1</Status>
    <Trend>sample string 2</Trend>
  </LabManagement>
</PeriodicalDashboard>