POST api/Helper/STATISTICAL_CUSTOMER

Request Information

URI Parameters

None.

Body Parameters

ZStatisticalSearchCustomerRequest
NameDescriptionTypeAdditional information
ShopID

integer

None.

PPCRMCode

string

None.

FromDate

string

None.

ToDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShopID": 1,
  "PPCRMCode": "sample string 2",
  "FromDate": "sample string 3",
  "ToDate": "sample string 4"
}

application/xml, text/xml

Sample:
<ZStatisticalSearchCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <FromDate>sample string 3</FromDate>
  <PPCRMCode>sample string 2</PPCRMCode>
  <ShopID>1</ShopID>
  <ToDate>sample string 4</ToDate>
</ZStatisticalSearchCustomerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ZStatisticalSearchCustomerResponse
NameDescriptionTypeAdditional information
DataTable

Collection of ZStatisticalCustomerDataTable

None.

DataChart

Collection of ZStatisticalCustomerDataChart

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DataTable": [
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "TotalOrderValue": 3,
        "Percentage": 4.1
      },
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "TotalOrderValue": 3,
        "Percentage": 4.1
      }
    ],
    "DataChart": [
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "Percentage": 3.1,
        "BorderColor": "sample string 4",
        "BackgroundColor": "sample string 5"
      },
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "Percentage": 3.1,
        "BorderColor": "sample string 4",
        "BackgroundColor": "sample string 5"
      }
    ]
  },
  {
    "DataTable": [
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "TotalOrderValue": 3,
        "Percentage": 4.1
      },
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "TotalOrderValue": 3,
        "Percentage": 4.1
      }
    ],
    "DataChart": [
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "Percentage": 3.1,
        "BorderColor": "sample string 4",
        "BackgroundColor": "sample string 5"
      },
      {
        "ProvinceName": "sample string 1",
        "TotalOrderProvince": 2,
        "Percentage": 3.1,
        "BorderColor": "sample string 4",
        "BackgroundColor": "sample string 5"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfZStatisticalSearchCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <ZStatisticalSearchCustomerResponse>
    <DataChart>
      <ZStatisticalCustomerDataChart>
        <BackgroundColor>sample string 5</BackgroundColor>
        <BorderColor>sample string 4</BorderColor>
        <Percentage>3.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
      </ZStatisticalCustomerDataChart>
      <ZStatisticalCustomerDataChart>
        <BackgroundColor>sample string 5</BackgroundColor>
        <BorderColor>sample string 4</BorderColor>
        <Percentage>3.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
      </ZStatisticalCustomerDataChart>
    </DataChart>
    <DataTable>
      <ZStatisticalCustomerDataTable>
        <Percentage>4.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
        <TotalOrderValue>3</TotalOrderValue>
      </ZStatisticalCustomerDataTable>
      <ZStatisticalCustomerDataTable>
        <Percentage>4.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
        <TotalOrderValue>3</TotalOrderValue>
      </ZStatisticalCustomerDataTable>
    </DataTable>
  </ZStatisticalSearchCustomerResponse>
  <ZStatisticalSearchCustomerResponse>
    <DataChart>
      <ZStatisticalCustomerDataChart>
        <BackgroundColor>sample string 5</BackgroundColor>
        <BorderColor>sample string 4</BorderColor>
        <Percentage>3.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
      </ZStatisticalCustomerDataChart>
      <ZStatisticalCustomerDataChart>
        <BackgroundColor>sample string 5</BackgroundColor>
        <BorderColor>sample string 4</BorderColor>
        <Percentage>3.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
      </ZStatisticalCustomerDataChart>
    </DataChart>
    <DataTable>
      <ZStatisticalCustomerDataTable>
        <Percentage>4.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
        <TotalOrderValue>3</TotalOrderValue>
      </ZStatisticalCustomerDataTable>
      <ZStatisticalCustomerDataTable>
        <Percentage>4.1</Percentage>
        <ProvinceName>sample string 1</ProvinceName>
        <TotalOrderProvince>2</TotalOrderProvince>
        <TotalOrderValue>3</TotalOrderValue>
      </ZStatisticalCustomerDataTable>
    </DataTable>
  </ZStatisticalSearchCustomerResponse>
</ArrayOfZStatisticalSearchCustomerResponse>