-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathGetDataForBoundingBox.json
105 lines (105 loc) · 2.73 KB
/
GetDataForBoundingBox.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"parameters": {
"format": "json",
"api-version": "1.0",
"bounds": "-121.66853362143818, 46.84646479863713,-121.65853362143818, 46.85646479863713",
"subscription-key": "[subscription-key]",
"rows": 2,
"columns": 3
},
"responses": {
"200": {
"body": {
"data": [
{
"coordinate": {
"latitude": 46.846464798637129,
"longitude": -121.66853362143819
},
"elevationInMeter": 2314.4534201722422
},
{
"coordinate": {
"latitude": 46.846464798637129,
"longitude": -121.66353362143818
},
"elevationInMeter": 2269.6199778812925
},
{
"coordinate": {
"latitude": 46.846464798637129,
"longitude": -121.65853362143818
},
"elevationInMeter": 2146.04531663472
},
{
"coordinate": {
"latitude": 46.856464798637127,
"longitude": -121.66853362143819
},
"elevationInMeter": 2319.0975721859922
},
{
"coordinate": {
"latitude": 46.856464798637127,
"longitude": -121.66353362143818
},
"elevationInMeter": 2109.324863225469
},
{
"coordinate": {
"latitude": 46.856464798637127,
"longitude": -121.65853362143818
},
"elevationInMeter": 1998.6391324692017
}
]
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "400 BadRequest",
"message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive."
}
}
},
"401": {
"headers": {},
"body": {
"error": {
"code": "401 Unauthorized",
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
}
},
"403": {
"headers": {},
"body": {
"error": {
"code": "403 Forbidden",
"message": "Permission, capacity, or authentication issues."
}
}
},
"404": {
"headers": {},
"body": {
"error": {
"code": "404 NotFound",
"message": "Not Found: the requested resource could not be found, but it may be available again in the future."
}
}
},
"500": {
"headers": {},
"body": {
"error": {
"code": "500 InternalServerError",
"message": "An error occurred while processing the request. Please try again later."
}
}
}
}
}