| GET | /Distribution/MobileUsers/Customers/Turnover | ||
|---|---|---|---|
| GET | /Distribution/MobileUsers/{UserId}/Customers/Turnover |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | path | int | No | |
| D1 | query | DateTime | No | |
| D2 | query | DateTime | No | |
| Group | query | bool? | No | |
| PresalerId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<MobileUserCustomerTurnover> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchId | form | int | No | |
| Name | form | string | No | |
| StartAmount | form | decimal? | No | |
| DBAmount | form | decimal? | No | |
| CRAmount | form | decimal? | No | |
| EndAmount | form | decimal? | No | |
| PresalerId | form | int? | No | |
| PresalerName | form | string | No | |
| SaleAmount | form | decimal? | No | |
| PayCachAmount | form | decimal? | No | |
| PayNonCashAmount | form | decimal? | No | |
| ReturnedAmount | form | decimal? | No | |
| OtherAmount | form | decimal? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Distribution/MobileUsers/Customers/Turnover HTTP/1.1 Host: 10.10.0.107 Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"BranchId":0,"Name":"String","StartAmount":0,"DBAmount":0,"CRAmount":0,"EndAmount":0,"PresalerId":0,"PresalerName":"String","SaleAmount":0,"PayCachAmount":0,"PayNonCashAmount":0,"ReturnedAmount":0,"OtherAmount":0}]}