POST api/Admin/GetSalesDashBoard

Get Sales Dashboard Data

Request Information

Parameters

NameDescriptionAdditional information
beData
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PassKey": "sample string 1",
  "UserId": 2,
  "DateFrom": "2024-11-18T14:24:54.7650369+05:45",
  "DateTo": "2024-11-18T14:24:54.7650369+05:45",
  "NY": 5,
  "NM": 6,
  "ND": 7
}

application/xml, text/xml

Sample:
<SalesDashBoardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity.Admin">
  <DateFrom>2024-11-18T14:24:54.7650369+05:45</DateFrom>
  <DateTo>2024-11-18T14:24:54.7650369+05:45</DateTo>
  <ND>7</ND>
  <NM>6</NM>
  <NY>5</NY>
  <PassKey>sample string 1</PassKey>
  <UserId>2</UserId>
</SalesDashBoardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "LastVoucher": {
      "TranId": 1,
      "VoucherNo": "sample string 2",
      "UserName": "sample string 3",
      "VoucherDate": "2024-11-18T14:24:54.7650369+05:45",
      "LogDateTime": "2024-11-18T14:24:54.7650369+05:45",
      "SystemUser": "sample string 6",
      "MacAddress": "sample string 7",
      "PCName": "sample string 8"
    },
    "TotalSalesAmount": 1.1,
    "NoOfSalesInvoice": 2,
    "MonthlySalesColl": null,
    "TopSalesProductAmountColl": null,
    "TopSalesProductQtyColl": null,
    "TopSalesPartyColl": null,
    "YDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "MDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "TDSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    }
  },
  {
    "LastVoucher": {
      "TranId": 1,
      "VoucherNo": "sample string 2",
      "UserName": "sample string 3",
      "VoucherDate": "2024-11-18T14:24:54.7650369+05:45",
      "LogDateTime": "2024-11-18T14:24:54.7650369+05:45",
      "SystemUser": "sample string 6",
      "MacAddress": "sample string 7",
      "PCName": "sample string 8"
    },
    "TotalSalesAmount": 1.1,
    "NoOfSalesInvoice": 2,
    "MonthlySalesColl": null,
    "TopSalesProductAmountColl": null,
    "TopSalesProductQtyColl": null,
    "TopSalesPartyColl": null,
    "YDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "MDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "TDSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    }
  },
  {
    "LastVoucher": {
      "TranId": 1,
      "VoucherNo": "sample string 2",
      "UserName": "sample string 3",
      "VoucherDate": "2024-11-18T14:24:54.7650369+05:45",
      "LogDateTime": "2024-11-18T14:24:54.7650369+05:45",
      "SystemUser": "sample string 6",
      "MacAddress": "sample string 7",
      "PCName": "sample string 8"
    },
    "TotalSalesAmount": 1.1,
    "NoOfSalesInvoice": 2,
    "MonthlySalesColl": null,
    "TopSalesProductAmountColl": null,
    "TopSalesProductQtyColl": null,
    "TopSalesPartyColl": null,
    "YDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "MDTSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    },
    "TDSales": {
      "Amount": 1.1,
      "Qty1": 2.1,
      "Qty2": 3.1,
      "Qty3": 4.1
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfSales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity.Admin.Sales">
  <Sales>
    <LastVoucher>
      <LogDateTime>2024-11-18T14:24:54.7650369+05:45</LogDateTime>
      <MacAddress>sample string 7</MacAddress>
      <PCName>sample string 8</PCName>
      <SystemUser>sample string 6</SystemUser>
      <TranId>1</TranId>
      <UserName>sample string 3</UserName>
      <VoucherDate>2024-11-18T14:24:54.7650369+05:45</VoucherDate>
      <VoucherNo>sample string 2</VoucherNo>
    </LastVoucher>
    <MDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </MDTSales>
    <MonthlySalesColl i:nil="true" />
    <NoOfSalesInvoice>2</NoOfSalesInvoice>
    <TDSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </TDSales>
    <TopSalesPartyColl i:nil="true" />
    <TopSalesProductAmountColl i:nil="true" />
    <TopSalesProductQtyColl i:nil="true" />
    <TotalSalesAmount>1.1</TotalSalesAmount>
    <YDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </YDTSales>
  </Sales>
  <Sales>
    <LastVoucher>
      <LogDateTime>2024-11-18T14:24:54.7650369+05:45</LogDateTime>
      <MacAddress>sample string 7</MacAddress>
      <PCName>sample string 8</PCName>
      <SystemUser>sample string 6</SystemUser>
      <TranId>1</TranId>
      <UserName>sample string 3</UserName>
      <VoucherDate>2024-11-18T14:24:54.7650369+05:45</VoucherDate>
      <VoucherNo>sample string 2</VoucherNo>
    </LastVoucher>
    <MDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </MDTSales>
    <MonthlySalesColl i:nil="true" />
    <NoOfSalesInvoice>2</NoOfSalesInvoice>
    <TDSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </TDSales>
    <TopSalesPartyColl i:nil="true" />
    <TopSalesProductAmountColl i:nil="true" />
    <TopSalesProductQtyColl i:nil="true" />
    <TotalSalesAmount>1.1</TotalSalesAmount>
    <YDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </YDTSales>
  </Sales>
  <Sales>
    <LastVoucher>
      <LogDateTime>2024-11-18T14:24:54.7650369+05:45</LogDateTime>
      <MacAddress>sample string 7</MacAddress>
      <PCName>sample string 8</PCName>
      <SystemUser>sample string 6</SystemUser>
      <TranId>1</TranId>
      <UserName>sample string 3</UserName>
      <VoucherDate>2024-11-18T14:24:54.7650369+05:45</VoucherDate>
      <VoucherNo>sample string 2</VoucherNo>
    </LastVoucher>
    <MDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </MDTSales>
    <MonthlySalesColl i:nil="true" />
    <NoOfSalesInvoice>2</NoOfSalesInvoice>
    <TDSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </TDSales>
    <TopSalesPartyColl i:nil="true" />
    <TopSalesProductAmountColl i:nil="true" />
    <TopSalesProductQtyColl i:nil="true" />
    <TotalSalesAmount>1.1</TotalSalesAmount>
    <YDTSales>
      <Amount>1.1</Amount>
      <Qty1>2.1</Qty1>
      <Qty2>3.1</Qty2>
      <Qty3>4.1</Qty3>
    </YDTSales>
  </Sales>
</ArrayOfSales>