POST | /dbs | Add a DBS Search |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Request | body | AddDbsSearchRequest | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Authentication | header, body | Authentication | Yes | The authentication credentials |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiUserId | header, body | string | Yes | The API User ID provided by us when you signed up to use our API |
ApiUserKey | header, body | string | Yes | The API User Key provided by us when you signed up to use our API |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | The full name of the applicant |
DateOfBirth | form | string | Yes | The date of birth for the applicant (DD/MM/YYYY format) |
form | string | Yes | The email address of the applicant | |
MobileInternational | form | string | Yes | The applicant's mobile phone number in international format (e.g. '+447123456789') |
JobLocation | form | string | Yes | The country where the job is located |
DisclosureLevel | form | string | Yes | The disclosure level of the DBS required |
Reference | form | string | No | Your reference, if any |
SubUserName | form | string | No | If this is specified, the search will be created for the specified sub user, otherwise it will be created in the main user account |
LinkedTo | form | ArrayOfLinkedTo | No | If the search should be linked to other searches, specify the them here |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientId | form | int? | No | |
Id | form | long? | No | |
Type | form | string | No | |
Subtype | form | string | No | |
Status | form | string | No | |
Description | form | string | No | |
IsArchived | form | bool? | No | |
Name | form | string | No | |
Date | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | AddDbsSearchData | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LinkedTo | form | ArrayOfLinkedTo | No | |
Summary | form | DbsSearchSummary | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | The status of the response |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorCode | form | string | No | |
Message | form | string | No | |
StackTrace | form | string | No | |
Errors | form | ArrayOfResponseError | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorCode | form | string | No | |
FieldName | form | string | No | |
Message | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
DateSearched | form | DateTime | No | |
DateUpdated | form | DateTime | No | |
Status | form | string | No | |
DisclosureStatus | form | string | No | |
IsApplicantInfoCompleted | form | bool | No | |
IsIdCheckCompleted | form | bool | No | |
IsApplicationCompleted | form | bool | No | |
IsApplicationSubmitted | form | bool | No | |
IsApplicationDisclosed | form | bool | No | |
DisclosureLevel | form | string | No | |
ApplicantInformation | form | ApplicantInformation | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
DateOfBirth | form | string | No | |
form | string | No | ||
MobileInternational | form | string | No | |
JobLocation | form | string | No | |
Reference | form | string | No |
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
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"}}}}