Sanctions Search API: v2

<back to all web services

AddDbsSearch

DBS
The following routes are available for this service:
POST/dbsAdd a DBS Search
AddDbsSearch Parameters:
NameParameterData TypeRequiredDescription
RequestbodyAddDbsSearchRequestNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
Authenticationheader, bodyAuthenticationYesThe authentication credentials
Authentication Parameters:
NameParameterData TypeRequiredDescription
ApiUserIdheader, bodystringYesThe API User ID provided by us when you signed up to use our API
ApiUserKeyheader, bodystringYesThe API User Key provided by us when you signed up to use our API
AddDbsSearchRequest Parameters:
NameParameterData TypeRequiredDescription
NameformstringYesThe full name of the applicant
DateOfBirthformstringYesThe date of birth for the applicant (DD/MM/YYYY format)
EmailformstringYesThe email address of the applicant
MobileInternationalformstringYesThe applicant's mobile phone number in international format (e.g. '+447123456789')
JobLocationformstringYesThe country where the job is located
DisclosureLevelformstringYesThe disclosure level of the DBS required
ReferenceformstringNoYour reference, if any
SubUserNameformstringNoIf this is specified, the search will be created for the specified sub user, otherwise it will be created in the main user account
LinkedToformArrayOfLinkedToNoIf the search should be linked to other searches, specify the them here
LinkedTo Parameters:
NameParameterData TypeRequiredDescription
ClientIdformint?No
Idformlong?No
TypeformstringNo
SubtypeformstringNo
StatusformstringNo
DescriptionformstringNo
IsArchivedformbool?No
NameformstringNo
DateformDateTime?No
AddDbsSearchResponse Parameters:
NameParameterData TypeRequiredDescription
DataformAddDbsSearchDataNo
AddDbsSearchData Parameters:
NameParameterData TypeRequiredDescription
LinkedToformArrayOfLinkedToNo
SummaryformDbsSearchSummaryNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNoThe status of the response
ResponseStatus Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StackTraceformstringNo
ErrorsformArrayOfResponseErrorNo
MetaformDictionary<string, string>No
ResponseError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
FieldNameformstringNo
MessageformstringNo
MetaformDictionary<string, string>No
DbsSearchSummary Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DateSearchedformDateTimeNo
DateUpdatedformDateTimeNo
StatusformstringNo
DisclosureStatusformstringNo
IsApplicantInfoCompletedformboolNo
IsIdCheckCompletedformboolNo
IsApplicationCompletedformboolNo
IsApplicationSubmittedformboolNo
IsApplicationDisclosedformboolNo
DisclosureLevelformstringNo
ApplicantInformationformApplicantInformationNo
ApplicantInformation Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DateOfBirthformstringNo
EmailformstringNo
MobileInternationalformstringNo
JobLocationformstringNo
ReferenceformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /dbs HTTP/1.1 
Host: api.sanctionssearch.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"request":{"name":"String","dateOfBirth":"String","email":"String","mobileInternational":"String","jobLocation":"String","disclosureLevel":"String","reference":"String","subUserName":"String","linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}]},"authentication":{"apiUserId":"String","apiUserKey":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"data":{"linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}],"summary":{"id":0,"dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","status":"String","disclosureStatus":"String","isApplicantInfoCompleted":false,"isIdCheckCompleted":false,"isApplicationCompleted":false,"isApplicationSubmitted":false,"isApplicationDisclosed":false,"disclosureLevel":"String","applicantInformation":{"name":"String","dateOfBirth":"String","email":"String","mobileInternational":"String","jobLocation":"String","reference":"String"}},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}