Get a list of watchlist region metadata organized by date
get/collection/regions
Returns a list of watchlist region metadata, where each element of the list identifies the country and a list of regions associated with that country on that date.
1{2 "accept": "application/vnd.sas.watchlist.screening.collection.region",3 "name": "watchlist regions",4 "start": 0,5 "count": 1,6 "limit": 1,7 "version": 2,8 "items": [9 {10 "captureDt": "2024-05-15",11 "watchlist": "EU",12 "data": [13 {14 "country": "us",15 "regions": [16 "west virginia",17 "kentucky",18 "arizona",19 "pennsylvania",20 "new hampshire",21 "louisiana",22 "california",23 "new jersey",24 "minnesota",25 "wyoming",26 "ohio",27 "iowa",28 "florida",29 "wisconsin",30 "district of columbia",31 "alabama",32 "north dakota",33 "vermont",34 "nebraska",35 "hawaii",36 "utah",37 "colorado",38 "north carolina",39 "south carolina",40 "virginia",41 "kansas",42 "rhode island",43 "new mexico",44 "arkansas",45 "tennessee",46 "new york",47 "delaware",48 "illinois",49 "indiana",50 "idaho",51 "maine",52 "nevada",53 "connecticut",54 "texas",55 "alaska",56 "michigan",57 "washington",58 "mississippi",59 "missouri",60 "georgia",61 "oklahoma",62 "montana",63 "maryland",64 "oregon",65 "south dakota",66 "massachusetts"67 ]68 },69 {70 "country": "au",71 "regions": [72 "state of south australia",73 "state of western australia",74 "state of new south wales",75 "australian capital territory",76 "state of queensland",77 "state of tasmania",78 "state of victoria",79 "northern territory"80 ]81 }82 ],83 "links": [84 {85 "href": "/watchlistScreening/collection/regions",86 "itemType": "application/vnd.sas.watchlist.screening.collection.region",87 "method": "GET",88 "rel": "up",89 "type": "application/vnd.sas.collection",90 "uri": "/watchlistScreening/collection/regions"91 },92 {93 "href": "/watchlistScreening/collection/regions/2024-05-15",94 "method": "GET",95 "rel": "self",96 "type": "application/vnd.sas.watchlist.screening.collection.region",97 "uri": "/watchlistScreening/collection/regions/2024-05-15"98 }99 ]100 }101 ],102 "links": [103 {104 "href": "/watchlistScreening/collection/regions",105 "itemType": "application/vnd.sas.watchlist.screening.collection.region",106 "method": "GET",107 "rel": "self",108 "type": "application/vnd.sas.collection",109 "uri": "/watchlistScreening/collection/regions"110 }111 ]112}
Name | Type | Required | Description |
---|---|---|---|
Accept | string | false | The desired representation for the response. Allowed values: application/vnd.sas.collection+jsonapplication/json Default: application/vnd.sas.collection+json |
Accept-Item | string | false | The desired item representation for collections; the default is application/vnd.sas.watchlist.screening.collection.region+json. Allowed values: application/vnd.sas.watchlist.screening.collection.region+jsonapplication/vnd.sas.watchlist.screening.collection.region+json;version=1application/json Default: application/vnd.sas.watchlist.screening.collection.region+json |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
404 | Not Found | The specified resource was not found. | Schema | |
500 | Internal Server Error | The service encountered an error. | Schema |