Get a list of watchlist sanction codes for a given date

get/collection/sanctionCodes/{date}
Internal-Use Only

Returns a watchlist and its corresponding sanction codes for the given date.

Request Samples

1

Response Samples

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}

Path Parameters

NameTypeRequiredDescription
date
string<date>
true

The processing date of the watchlist metadata. The processing date uses 'YYYY-MM-DD' format.

Header Parameters

NameTypeRequiredDescription
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

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestBad request (the request is not well-formed).Schema
404Not FoundThe specified resource was not found.Schema
500Internal Server ErrorThe service encountered an error.Schema