| GET | /Distribution/MobileVisits/{VisitRemoteId}/Totals | ||
|---|---|---|---|
| GET | /Distribution/MobileVisits/Totals |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date | query | DateTime | No | |
| VisitRemoteId | path | Guid? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<MobileVisitTotals> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RemoteId | form | Guid | No | |
| TotalPayments | form | decimal | No | |
| TotalOrders | form | decimal | No | |
| TotalReturns | form | decimal | No | |
| Details | form | List<MobileVisitDetTotals> | No | |
| Status | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RemoteId | form | Guid | No | |
| TotalAmount | form | decimal | No | |
| Status | form | int | No | |
| DetType | form | int | No | |
| Meta | form | Dictionary<string, string> | 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/MobileVisits/{VisitRemoteId}/Totals 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":[{"RemoteId":"00000000000000000000000000000000","TotalPayments":0,"TotalOrders":0,"TotalReturns":0,"Details":[{"RemoteId":"00000000000000000000000000000000","TotalAmount":0,"Status":0,"DetType":0,"Meta":{"String":"String"}}],"Status":0}]}