-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
GetStates.json
67 lines (67 loc) · 1.58 KB
/
GetStates.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
{
"parameters": {
"geography": "us",
"api-version": "2.0",
"subscription-key": "[subscription-key]",
"statesetId": "b24bdb73-1305-3212-1909-a428d937b64",
"featureId": "SPC4709"
},
"responses": {
"200": {
"body": {
"states": [
{
"keyName": "s1",
"value": true,
"eventTimestamp": "2019-08-16 13:01"
}
]
}
},
"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."
}
}
}
}
}