POST Statistics/GetCustomerYearMonthReport

Request Information

URI Parameters

None.

Body Parameters

CustomerYearMonthReportDTO
NameDescriptionTypeAdditional information
Years

Collection of integer

None.

Month

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Years": [
    1,
    2
  ],
  "Month": 1
}

application/xml, text/xml

Sample:
<CustomerYearMonthReportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <Month>1</Month>
  <Years xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Years>
</CustomerYearMonthReportDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerYearMonthReportResponseDTO
NameDescriptionTypeAdditional information
CustomerTotal

integer

None.

CurrentMonthCustomerTotal

integer

None.

NewAddCustomer

Collection of CustomerYearMonthReportResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerTotal": 1,
  "CurrentMonthCustomerTotal": 2,
  "NewAddCustomer": [
    {
      "Year": 1,
      "NewAddCustomerTotal": 2
    },
    {
      "Year": 1,
      "NewAddCustomerTotal": 2
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerYearMonthReportResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <CurrentMonthCustomerTotal>2</CurrentMonthCustomerTotal>
  <CustomerTotal>1</CustomerTotal>
  <NewAddCustomer>
    <CustomerYearMonthReportResponse>
      <NewAddCustomerTotal>2</NewAddCustomerTotal>
      <Year>1</Year>
    </CustomerYearMonthReportResponse>
    <CustomerYearMonthReportResponse>
      <NewAddCustomerTotal>2</NewAddCustomerTotal>
      <Year>1</Year>
    </CustomerYearMonthReportResponse>
  </NewAddCustomer>
</CustomerYearMonthReportResponseDTO>