| GET | /clients/{Id} | Get a client |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | Yes |
| 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. Can be provided in the request body, or as a header parameter (X-Api-User) |
| ApiUserKey | header, body | string | Yes | The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) |
| UserId | header, body | string | No | The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | GetClientData | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LinkedTo | form | ArrayOfLinkedTo | No | |
| Client | form | Client | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| Id | form | int | No | |
| DateCreated | form | DateTime | No | |
| Name | form | string | No | |
| form | string | No | ||
| Reference | form | string | No | |
| State | form | ClientState | No | |
| MobileInternational | form | string | No | |
| PostCode | form | string | No | |
| IsValidateMe | form | bool | No | |
| Face | form | Face | No | |
| Video | form | Video | No | |
| Location | form | Location | No | |
| NumOfDocuments | form | int | No | |
| NumOfVideos | form | int | No | |
| Passports | form | ArrayOfPassports | No | |
| DrivingLicences | form | ArrayOfDrivingLicences | No | |
| OtherDocuments | form | ArrayOfOtherDocuments | No | |
| ProofOfDocumentCategories | form | ArrayOfProofOfDocumentCategories | No |
| Undefined | |
| PendingCompletion | |
| PendingOcr | |
| PendingVerification | |
| Verified |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Age | form | double? | No | |
| Gender | form | string | No | |
| Emotion | form | string | No | |
| Smile | form | double? | No | |
| HairColour | form | string | No | |
| FacialHair | form | string | No | |
| Makeup | form | string | No | |
| Glasses | form | string | No | |
| Accessories | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| VideoUrl | form | string | No | |
| ImageUrl | form | string | No | |
| VideoTimestamps | form | List<VideoTimestamp> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TagName | form | string | No | |
| Milli | form | int? | No | |
| ImageUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Latitude | form | double | No | |
| Longitude | form | double | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientFileId | form | int | No | |
| FirstName | form | string | No | |
| MiddleName | form | string | No | |
| LastName | form | string | No | |
| DateOfBirth | form | string | No | |
| Gender | form | string | No | |
| MrzLineOne | form | string | No | |
| MrzLineTwo1 | form | string | No | |
| MrzLineTwo2 | form | string | No | |
| MrzLineTwo3 | form | string | No | |
| MrzLineTwo4 | form | string | No | |
| MrzLineTwo5 | form | string | No | |
| MrzLineTwo6 | form | string | No | |
| MrzLineTwo7 | form | string | No | |
| MrzLineTwo8 | form | string | No | |
| Images | form | ArrayOfImages | No | |
| IsVerified | form | bool | No | |
| IsFaceMatch | form | bool? | No | |
| FaceMatchConfidence | form | decimal? | No | |
| HasPcvSearch | form | bool | No | |
| HasDfaSearch | form | bool | No | |
| IsPassportChipVerified | form | bool? | No | |
| PassportChipData | form | PassportChipData | No | |
| IsEligibleForPcv | form | bool | No | |
| IsEligibleForDfa | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| OcrId | form | int? | No | |
| Url | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsIssuerVerified | form | bool | No | |
| IssuerCommonName | form | string | No | |
| IssuerOrganisationName | form | string | No | |
| IssuerCountry | form | string | No | |
| MRZLine1 | form | string | No | |
| MRZLine2 | form | string | No | |
| IsMrzLine1Verified | form | bool | No | |
| IsMrzLine2Verified | form | bool | No | |
| DataGroupsVerified | form | int[] | No | |
| DataGroupsFailed | form | int[] | No | |
| IsFaceMatch | form | bool | No | |
| FaceMatchConfidence | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientFileId | form | int | No | |
| FirstName | form | string | No | |
| MiddleName | form | string | No | |
| LastName | form | string | No | |
| DateOfBirth | form | string | No | |
| Address | form | string | No | |
| DrivingLicenceNumber | form | string | No | |
| ExpiryDate | form | string | No | |
| Images | form | ArrayOfImages | No | |
| IsVerified | form | bool | No | |
| IsFaceMatch | form | bool? | No | |
| FaceMatchConfidence | form | decimal? | No | |
| HasDfaSearch | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientFileId | form | int | No | |
| Type | form | string | No | |
| TypeOther | form | string | No | |
| Description | form | string | No | |
| OriginalImageUrl | form | string | No | |
| CroppedImageUrl | form | string | No | |
| IsVerified | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | Yes | The ID of the ProofOfDocumentCategory |
| ProofOf | form | string | Yes | The category or subject that requires proof (e.g., 'Name', 'Address', 'Right to work') |
| ProofOfDocuments | form | ArrayOfProofOfDocuments | Yes | The documents that can be used to provide proof for the specified category. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | Yes | The ID of the ProofOfDocument |
| Name | form | string | Yes | The name of the ProofOfDocument |
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.
GET /clients/{Id} HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/json
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)\/"}],"client":{"id":0,"dateCreated":"\/Date(-62135596800000-0000)\/","name":"String","email":"String","reference":"String","state":"Undefined","mobileInternational":"String","postCode":"String","isValidateMe":false,"face":{"age":0,"gender":"String","emotion":"String","smile":0,"hairColour":"String","facialHair":"String","makeup":"String","glasses":"String","accessories":"String"},"video":{"id":0,"videoUrl":"String","imageUrl":"String","videoTimestamps":[{"tagName":"String","milli":0,"imageUrl":"String"}]},"location":{"latitude":0,"longitude":0},"numOfDocuments":0,"numOfVideos":0,"passports":[{"clientFileId":0,"firstName":"String","middleName":"String","lastName":"String","dateOfBirth":"String","gender":"String","mrzLineOne":"String","mrzLineTwo1":"String","mrzLineTwo2":"String","mrzLineTwo3":"String","mrzLineTwo4":"String","mrzLineTwo5":"String","mrzLineTwo6":"String","mrzLineTwo7":"String","mrzLineTwo8":"String","images":[{"id":0,"name":"String","ocrId":0,"url":"String"}],"isVerified":false,"isFaceMatch":false,"faceMatchConfidence":0,"hasPcvSearch":false,"hasDfaSearch":false,"isPassportChipVerified":false,"passportChipData":{"isIssuerVerified":false,"issuerCommonName":"String","issuerOrganisationName":"String","issuerCountry":"String","mrzLine1":"String","mrzLine2":"String","isMrzLine1Verified":false,"isMrzLine2Verified":false,"dataGroupsVerified":[0],"dataGroupsFailed":[0],"isFaceMatch":false,"faceMatchConfidence":0},"isEligibleForPcv":false,"isEligibleForDfa":false}],"drivingLicences":[{"clientFileId":0,"firstName":"String","middleName":"String","lastName":"String","dateOfBirth":"String","address":"String","drivingLicenceNumber":"String","expiryDate":"String","images":[{"id":0,"name":"String","ocrId":0,"url":"String"}],"isVerified":false,"isFaceMatch":false,"faceMatchConfidence":0,"hasDfaSearch":false}],"otherDocuments":[{"clientFileId":0,"type":"String","typeOther":"String","description":"String","originalImageUrl":"String","croppedImageUrl":"String","isVerified":false}],"proofOfDocumentCategories":[{"id":0,"proofOf":"String","proofOfDocuments":[{"id":0,"name":"String"}]}]},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}