API REFERENCE
Batch Order Query
Query transaction order information by date range. This API exports a csv file directly.
| Parameter | Type | Description | Required |
|---|---|---|---|
| user | String | UID of the cashier or super administrator account | Required |
| sign | String | Signature | Required |
| method | String | v3.BatchQuery | Required |
| time | Long | Timestamp | Required |
- Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| start_time | String | Start time | Required |
| end_time | String | End time | Required |
Signature example:
Sorted parameters concatenated into a URL-style query string
"end_time=1573523141&method=v3.BatchQuery&start_time=1569894340&time=1546588959&user=YOUR_CASHIER_UID"
Use stringA and secret_key to get stringSign
Get Signature:
"YOUR_SIGNATURE"
Request example:
{
"user": "YOUR_CASHIER_UID",
"sign": "YOUR_SIGNATURE",
"method": "v3.BatchQuery",
"time": 1546588959,
"data": {
"start_time" : "1569894340",
"end_time" : "1573523141"
}
}
