POST api/services/weshop/getcommissionreport

Request Information

URI Parameters

None.

Body Parameters

GetCommissionReportRequest
NameDescriptionTypeAdditional information
CustomerID

integer

None.

PeriodType

integer

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "PeriodType": 1,
  "StartDate": "2026-11-16T12:37:12.8566013-06:00",
  "EndDate": "2026-11-16T12:37:12.8566013-06:00"
}

application/xml, text/xml

Sample:
<GetCommissionReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO">
  <CustomerID>1</CustomerID>
  <EndDate>2026-11-16T12:37:12.8566013-06:00</EndDate>
  <PeriodType>1</PeriodType>
  <StartDate>2026-11-16T12:37:12.8566013-06:00</StartDate>
</GetCommissionReportRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WeShopCommissionReportResponse
NameDescriptionTypeAdditional information
Commissions

Collection of WeShopCommissionReportLine

None.

CustomerID

integer

None.

IsSuccess

boolean

None.

Message

string

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "code": 1,
      "message": "sample string 2"
    },
    {
      "code": 1,
      "message": "sample string 2"
    }
  ],
  "Commissions": [
    {
      "FromCustomerID": 1,
      "OrderID": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "MobilePhone": "sample string 4",
      "Phone": "sample string 5",
      "Level": 1,
      "PaidLevel": 1,
      "CommissionAmount": 6.0,
      "BonusDescription": "sample string 7",
      "AcceptedDate": "2026-11-16T12:37:12.8616427-06:00"
    },
    {
      "FromCustomerID": 1,
      "OrderID": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "MobilePhone": "sample string 4",
      "Phone": "sample string 5",
      "Level": 1,
      "PaidLevel": 1,
      "CommissionAmount": 6.0,
      "BonusDescription": "sample string 7",
      "AcceptedDate": "2026-11-16T12:37:12.8616427-06:00"
    }
  ],
  "CustomerID": 1,
  "IsSuccess": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<WeShopCommissionReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO">
  <CustomerID>1</CustomerID>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <Messages>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
  </Messages>
  <Commissions>
    <WeShopCommissionReportLine>
      <AcceptedDate>2026-11-16T12:37:12.8616427-06:00</AcceptedDate>
      <BonusDescription>sample string 7</BonusDescription>
      <CommissionAmount>6</CommissionAmount>
      <FirstName>sample string 2</FirstName>
      <FromCustomerID>1</FromCustomerID>
      <LastName>sample string 3</LastName>
      <Level>1</Level>
      <MobilePhone>sample string 4</MobilePhone>
      <OrderID>1</OrderID>
      <PaidLevel>1</PaidLevel>
      <Phone>sample string 5</Phone>
    </WeShopCommissionReportLine>
    <WeShopCommissionReportLine>
      <AcceptedDate>2026-11-16T12:37:12.8616427-06:00</AcceptedDate>
      <BonusDescription>sample string 7</BonusDescription>
      <CommissionAmount>6</CommissionAmount>
      <FirstName>sample string 2</FirstName>
      <FromCustomerID>1</FromCustomerID>
      <LastName>sample string 3</LastName>
      <Level>1</Level>
      <MobilePhone>sample string 4</MobilePhone>
      <OrderID>1</OrderID>
      <PaidLevel>1</PaidLevel>
      <Phone>sample string 5</Phone>
    </WeShopCommissionReportLine>
  </Commissions>
</WeShopCommissionReportResponse>