-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathactivity.json
56 lines (56 loc) · 1.48 KB
/
activity.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
{
"version": 1,
"request": {
"url": "https://test.api.amadeus.com/v1/shopping/activities",
"method": "GET",
"authorization": {
"type": "OAuth2",
"grantType": "ClientCredentials",
"tokenServerUrl": "https://test.api.amadeus.com/v1/security/oauth2/token"
},
"params": {
"latitude": true,
"longitude": true,
"radius": false
}
},
"examples": {
"latitude": "41.397158",
"longitude": "2.160873"
},
"response": {
"ctype": "application/json",
"tablePath": "$.data[*]",
"schema": {
"name": {
"target": "$.name",
"type": "string"
},
"short description": {
"target": "$.shortDescription",
"type": "string"
},
"rating": {
"target": "$.rating",
"type": "string"
},
"price": {
"target": "$.price.amount",
"type": "string"
},
"currency": {
"target": "$.price.currencyCode",
"type": "string"
},
"url": {
"target": "$.self.href",
"type": "string"
},
"booking link": {
"target": "$.bookingLink",
"type": "string"
}
},
"orient": "records"
}
}