Get a list of watchlist sanction code metadata organized by date
get/collection/sanctionCodes
Returns a list of watchlist sanction code metadata, where each element of the list identifies the sanction codes for the watchlist on that date.
1{2 "version": 2,3 "accept": "application/vnd.sas.watchlist.screening.collection.sanction.codes",4 "count": 2,5 "start": 0,6 "limit": 2,7 "name": "watchlist sanction codes",8 "items": [9 {10 "watchlist": "ofac",11 "captureDt": "2023-12-15",12 "data": [13 {14 "code": "OFACSD",15 "labels": [16 "OFAC - Specially Designated Nationals"17 ],18 "listId": "OFAC",19 "country": "us"20 }21 ],22 "links": [23 {24 "href": "/watchlistScreening/collection/sanctionCodes",25 "method": "GET",26 "rel": "up",27 "type": "application/vnd.sas.collection",28 "itemType": "application/vnd.sas.watchlist.screening.collection.sanction.codes",29 "uri": "/watchlistScreening/collection/sanctionCodes"30 },31 {32 "href": "/watchlistScreening/collection/sanctionCodes/2023-12-15",33 "method": "GET",34 "rel": "self",35 "type": "application/vnd.sas.watchlist.screening.collection.sanction.codes",36 "uri": "/watchlistScreening/collection/sanctionCodes/2023-12-15"37 }38 ]39 },40 {41 "watchlist": "ofac",42 "captureDt": "2023-12-14",43 "data": [44 {45 "code": "OFACSD",46 "labels": [47 "OFAC - Specially Designated Nationals"48 ],49 "listId": "OFAC",50 "country": "us"51 }52 ],53 "links": [54 {55 "href": "/watchlistScreening/collection/sanctionCodes",56 "method": "GET",57 "rel": "up",58 "type": "application/vnd.sas.collection",59 "itemType": "application/vnd.sas.watchlist.screening.collection.sanction.codes",60 "uri": "/watchlistScreening/collection/sanctionCodes"61 },62 {63 "href": "/watchlistScreening/collection/sanctionCodes/2023-12-14",64 "method": "GET",65 "rel": "self",66 "type": "application/vnd.sas.watchlist.screening.collection.sanction.codes",67 "uri": "/watchlistScreening/collection/sanctionCodes/2023-12-14"68 }69 ]70 }71 ],72 "links": [73 {74 "href": "/watchlistScreening/collection/sanctionCodes",75 "method": "GET",76 "rel": "self",77 "type": "application/vnd.sas.collection",78 "uri": "/watchlistScreening/collection/sanctionCodes",79 "itemType": "application/vnd.sas.watchlist.screening.collection.sanction.codes"80 }81 ]82}
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.sanction.codes+json. Allowed values: application/vnd.sas.watchlist.screening.collection.sanction.codes+jsonapplication/json Default: application/vnd.sas.watchlist.screening.collection.sanction.codes+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 |