GET api/DashboardSales?FinYearId={FinYearId}&BranchId={BranchId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FinYearId

integer

Required

BranchId

integer

Required

Body Parameters

None.

Response Information

Resource Description

DashboardSales
NameDescriptionTypeAdditional information
OrdersTotal

integer

None.

OrdersAmount

decimal number

None.

OrdersAmountApproved

decimal number

None.

DispatchAmount

decimal number

None.

MonthWiseOrders

Collection of ChartData

None.

MonthWiseOrderAmount

Collection of ChartData

None.

SummarySOStatus

Collection of ChartData

None.

SummarySOApprovalStatus

Collection of ChartData

None.

BranchWiseSalesOrderAmount

Collection of ChartData

None.

BranchWiseSalesOrders

Collection of ChartData

None.

Response Formats

application/json, text/json

Sample:
{
  "OrdersTotal": 1,
  "OrdersAmount": 2.1,
  "OrdersAmountApproved": 3.1,
  "DispatchAmount": 4.1,
  "MonthWiseOrders": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ],
  "MonthWiseOrderAmount": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ],
  "SummarySOStatus": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ],
  "SummarySOApprovalStatus": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ],
  "BranchWiseSalesOrderAmount": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ],
  "BranchWiseSalesOrders": [
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    },
    {
      "SlNo": 1,
      "Label": "sample string 2",
      "LabelValue": "sample string 3",
      "Colour": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<DashboardSales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <BranchWiseSalesOrderAmount>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </BranchWiseSalesOrderAmount>
  <BranchWiseSalesOrders>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </BranchWiseSalesOrders>
  <DispatchAmount>4.1</DispatchAmount>
  <MonthWiseOrderAmount>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </MonthWiseOrderAmount>
  <MonthWiseOrders>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </MonthWiseOrders>
  <OrdersAmount>2.1</OrdersAmount>
  <OrdersAmountApproved>3.1</OrdersAmountApproved>
  <OrdersTotal>1</OrdersTotal>
  <SummarySOApprovalStatus>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </SummarySOApprovalStatus>
  <SummarySOStatus>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
    <ChartData>
      <Colour>sample string 4</Colour>
      <Label>sample string 2</Label>
      <LabelValue>sample string 3</LabelValue>
      <SlNo>1</SlNo>
    </ChartData>
  </SummarySOStatus>
</DashboardSales>