Get a list of watchlist categories for a given date
get/collection/categories/{date}
Returns a watchlist and its corresponding categories for the given date.
1{2 "watchlist": "un",3 "captureDt": "2023-12-14",4 "data": [5 {6 "listId": "UN",7 "category": "Al-Qaida"8 },9 {10 "listId": "UN",11 "category": "CAR"12 },13 {14 "listId": "UN",15 "category": "DPRK"16 },17 {18 "listId": "UN",19 "category": "DRC"20 },21 {22 "listId": "UN",23 "category": "GB"24 },25 {26 "listId": "UN",27 "category": "Haiti"28 },29 {30 "listId": "UN",31 "category": "Iraq"32 },33 {34 "listId": "UN",35 "category": "Libya"36 },37 {38 "listId": "UN",39 "category": "Somalia"40 },41 {42 "listId": "UN",43 "category": "SouthSudan"44 },45 {46 "listId": "UN",47 "category": "Sudan"48 },49 {50 "listId": "UN",51 "category": "Taliban"52 },53 {54 "listId": "UN",55 "category": "Yemen"56 }57 ],58 "links": [59 {60 "href": "/watchlistScreening/collection/categories",61 "method": "GET",62 "rel": "up",63 "type": "application/vnd.sas.collection",64 "itemType": "application/vnd.sas.watchlist.screening.collection.categories",65 "uri": "/watchlistScreening/collection/categories"66 },67 {68 "href": "/watchlistScreening/collection/categories/2023-12-14",69 "method": "GET",70 "rel": "self",71 "type": "application/vnd.sas.watchlist.screening.collection.categories",72 "uri": "/watchlistScreening/collection/categories/2023-12-14"73 }74 ]75}
Name | Type | Required | Description |
---|---|---|---|
date | string<date> | true | The processing date of the watchlist metadata. The processing date uses 'YYYY-MM-DD' format. |
Name | Type | Required | Description |
---|---|---|---|
Accept | string | false | The desired representation for the response. Allowed values: application/vnd.sas.watchlist.screening.collection.categories+jsonapplication/vnd.sas.watchlist.screening.collection.categories+json;version=1application/json Default: application/vnd.sas.watchlist.screening.collection.categories+json |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | Bad request (the request is not well-formed). | Schema | |
404 | Not Found | The specified resource was not found. | Schema | |
500 | Internal Server Error | The service encountered an error. | Schema |