GET api/Statistical/GetStoreSale?StartDate={StartDate}&EndDate={EndDate}&ProType={ProType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StartDate

string

Required

EndDate

string

Required

ProType

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

MessageModelOfStoreSaleMod
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Msg

string

None.

Response

StoreSaleMod

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Success": true,
  "Msg": "sample string 3",
  "Response": {
    "SaleCount": 1,
    "SaleAmount": 1.0,
    "StoreSaleBySectionList": [
      {
        "FSectionId": 1,
        "FSectionName": "sample string 1",
        "SaleCount": 1,
        "SaleAmount": 1.0,
        "StoreGoodsList": [
          {
            "FGoodsNo": "sample string 1",
            "FGoodsName": "sample string 2",
            "SaleCount": 1,
            "SaleAmount": 1.0
          },
          {
            "FGoodsNo": "sample string 1",
            "FGoodsName": "sample string 2",
            "SaleCount": 1,
            "SaleAmount": 1.0
          }
        ]
      },
      {
        "FSectionId": 1,
        "FSectionName": "sample string 1",
        "SaleCount": 1,
        "SaleAmount": 1.0,
        "StoreGoodsList": [
          {
            "FGoodsNo": "sample string 1",
            "FGoodsName": "sample string 2",
            "SaleCount": 1,
            "SaleAmount": 1.0
          },
          {
            "FGoodsNo": "sample string 1",
            "FGoodsName": "sample string 2",
            "SaleCount": 1,
            "SaleAmount": 1.0
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<MessageModelOfStoreSaleModKI6_SDWR9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
  <Msg>sample string 3</Msg>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
    <d2p1:SaleAmount>1</d2p1:SaleAmount>
    <d2p1:SaleCount>1</d2p1:SaleCount>
    <d2p1:StoreSaleBySectionList>
      <d2p1:StoreSaleBySectionMod>
        <d2p1:FSectionId>1</d2p1:FSectionId>
        <d2p1:FSectionName>sample string 1</d2p1:FSectionName>
        <d2p1:SaleAmount>1</d2p1:SaleAmount>
        <d2p1:SaleCount>1</d2p1:SaleCount>
        <d2p1:StoreGoodsList>
          <d2p1:StoreSaleByGoodsMod>
            <d2p1:FGoodsName>sample string 2</d2p1:FGoodsName>
            <d2p1:FGoodsNo>sample string 1</d2p1:FGoodsNo>
            <d2p1:SaleAmount>1</d2p1:SaleAmount>
            <d2p1:SaleCount>1</d2p1:SaleCount>
          </d2p1:StoreSaleByGoodsMod>
          <d2p1:StoreSaleByGoodsMod>
            <d2p1:FGoodsName>sample string 2</d2p1:FGoodsName>
            <d2p1:FGoodsNo>sample string 1</d2p1:FGoodsNo>
            <d2p1:SaleAmount>1</d2p1:SaleAmount>
            <d2p1:SaleCount>1</d2p1:SaleCount>
          </d2p1:StoreSaleByGoodsMod>
        </d2p1:StoreGoodsList>
      </d2p1:StoreSaleBySectionMod>
      <d2p1:StoreSaleBySectionMod>
        <d2p1:FSectionId>1</d2p1:FSectionId>
        <d2p1:FSectionName>sample string 1</d2p1:FSectionName>
        <d2p1:SaleAmount>1</d2p1:SaleAmount>
        <d2p1:SaleCount>1</d2p1:SaleCount>
        <d2p1:StoreGoodsList>
          <d2p1:StoreSaleByGoodsMod>
            <d2p1:FGoodsName>sample string 2</d2p1:FGoodsName>
            <d2p1:FGoodsNo>sample string 1</d2p1:FGoodsNo>
            <d2p1:SaleAmount>1</d2p1:SaleAmount>
            <d2p1:SaleCount>1</d2p1:SaleCount>
          </d2p1:StoreSaleByGoodsMod>
          <d2p1:StoreSaleByGoodsMod>
            <d2p1:FGoodsName>sample string 2</d2p1:FGoodsName>
            <d2p1:FGoodsNo>sample string 1</d2p1:FGoodsNo>
            <d2p1:SaleAmount>1</d2p1:SaleAmount>
            <d2p1:SaleCount>1</d2p1:SaleCount>
          </d2p1:StoreSaleByGoodsMod>
        </d2p1:StoreGoodsList>
      </d2p1:StoreSaleBySectionMod>
    </d2p1:StoreSaleBySectionList>
  </Response>
  <Status>200</Status>
  <Success>true</Success>
</MessageModelOfStoreSaleModKI6_SDWR9>