Get a list of watchlist sanction codes for a given date
get/collection/sanctionCodes/{date}
Returns a watchlist and its corresponding sanction codes for the given date.
1{2 "watchlist": "ofac",3 "captureDt": "2023-12-14",4 "data": [5 {6 "code": "OFACSD",7 "labels": [8 "OFAC - Specially Designated Nationals"9 ],10 "listId": "OFAC",11 "country": "us"12 }13 ],14 "links": [15 {16 "href": "/watchlistScreening/collection/sanctionCodes",17 "method": "GET",18 "rel": "up",19 "type": "application/vnd.sas.collection",20 "itemType": "application/vnd.sas.watchlist.screening.collection.sanction.codes",21 "uri": "/watchlistScreening/collection/sanctionCodes"22 },23 {24 "href": "/watchlistScreening/collection/sanctionCodes/2023-12-14",25 "method": "GET",26 "rel": "self",27 "type": "application/vnd.sas.watchlist.screening.collection.sanction.codes",28 "uri": "/watchlistScreening/collection/sanctionCodes/2023-12-14"29 }30 ]31}
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.sanction.codes+jsonapplication/vnd.sas.watchlist.screening.collection.sanction.codes+json;version=1application/json Default: application/vnd.sas.watchlist.screening.collection.sanction.codes+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 |