Skip to content

People/Director Search Criteria

Request

Returns the set of available People Search parameters/fields for a provided list of countries.

Security
bearerToken
Query
countriesstringrequired

A comma separated list of ISO/Alpha 2 format country codes, or singular country Code. e.g. US,GB will return the common searchable People/Director fields in the United States and Great Britain. Required: a request without it is rejected with 400. Not every country supports People/Director Search. Send the codes with no spaces: GB, US is rejected with 400. Not case sensitive.

Example:countries=US
curl -i -X GET \
  'https://connect.sandbox.creditsafe.com/v1/people/searchcriteria?countries=US' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success. Returns the search fields you can use for the countries requested.

Bodyapplication/json
correlationIdstring

A unique ID assigned to this request.

countriesArray of strings

The countries the criteria apply to.

Example:
[ "GB" ]
criteriaSetsArray of objects

The combinations of search fields you can use. Each entry is one valid combination: send the fields in one entry, and include every field whose required is true. Each field gives its rule (required, minLength, maxLength, validationRegExp and allowedValues). company and address group the company and address fields.

customDataArray of objects(CreditsafeGlobalDataCustomDataEntrySchema)

Additional search parameters that apply to the countries requested.

Response
{ "correlationId": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f", "countries": [ "US" ], "criteriaSets": [ { … }, { … } ] }