GET api/RptStyleSale2?companyId={companyId}&userBranchId={userBranchId}&saleBranchs={saleBranchs}&periodId={periodId}&page={page}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

string

Required

userBranchId

string

Required

saleBranchs

string

Required

periodId

integer

Required

page

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

Resource Description

RptStyleSaleResponse
NameDescriptionTypeAdditional information
Data

Collection of RptStyleSaleEnt

None.

PageSize

integer

None.

PageIndex

integer

None.

PageCount

integer

None.

DataCount

integer

None.

StatusCode

integer

None.

IsSuccess

string

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "StyleNo": "sample string 1",
      "StyleName": "sample string 2",
      "Qty": 3,
      "AvgPrice": 4.0,
      "StockQty": 5,
      "NonInQty": 6
    },
    {
      "StyleNo": "sample string 1",
      "StyleName": "sample string 2",
      "Qty": 3,
      "AvgPrice": 4.0,
      "StockQty": 5,
      "NonInQty": 6
    }
  ],
  "PageSize": 1,
  "PageIndex": 2,
  "PageCount": 3,
  "DataCount": 4,
  "StatusCode": 5,
  "IsSuccess": "sample string 6",
  "Msg": "sample string 7"
}

application/xml, text/xml

Sample:
<RptStyleSaleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WxApi.Models">
  <DataCount>4</DataCount>
  <IsSuccess>sample string 6</IsSuccess>
  <Msg>sample string 7</Msg>
  <PageCount>3</PageCount>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <StatusCode>5</StatusCode>
  <Data>
    <RptStyleSaleEnt>
      <AvgPrice>4</AvgPrice>
      <NonInQty>6</NonInQty>
      <Qty>3</Qty>
      <StockQty>5</StockQty>
      <StyleName>sample string 2</StyleName>
      <StyleNo>sample string 1</StyleNo>
    </RptStyleSaleEnt>
    <RptStyleSaleEnt>
      <AvgPrice>4</AvgPrice>
      <NonInQty>6</NonInQty>
      <Qty>3</Qty>
      <StockQty>5</StockQty>
      <StyleName>sample string 2</StyleName>
      <StyleNo>sample string 1</StyleNo>
    </RptStyleSaleEnt>
  </Data>
</RptStyleSaleResponse>