-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTrackingHistory_request.dtd
66 lines (66 loc) · 1.44 KB
/
TrackingHistory_request.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/TrackingHistory_request.dtd",
"title": "Tracking History Request",
"description": "GET parameters for the endpoint https://www.route4me.com/api/track/get_device_location.php",
"type": "object",
"required": [
"api_key",
"route_id"
],
"properties": {
"api_key": {
"type": "string",
"title": "API key",
"description": "API key of en user"
},
"route_id": {
"type": "string",
"title": "Route ID",
"description": "Route ID"
},
"format": {
"type": "string",
"enum": [
"json",
"xml",
"csv",
"txt"
],
"title": "Format",
"description": "Response format. Default - xml"
},
"last_position": {
"type": "boolean",
"title": "Last Position",
"description": "If is true, only last position will be returned from a specified time range"
},
"time_period": {
"type": "string",
"enum": [
"today",
"yesterday",
"thismonth",
"7days",
"14days",
"30days",
"60days",
"90days",
"all_time",
"custom"
],
"title": "Time Period",
"description": "Time period"
},
"start_date": {
"type": "integer",
"title": "Start Date",
"description": "if time_period=custom, start of the time period"
},
"end_date": {
"type": "integer",
"title": "End Date",
"description": "if time_period=custom, end of the time period"
}
}
}