Search for a Candidate🔗︎
HTTP Verb | Path |
---|---|
POST | /v10/matchv2/candidates/search |
Search for a candidate based on the query provided.
Info
- You can try this endpoint out at our Swagger page ( US Data Center | EU Data Center)
Request Body🔗︎
Options 🔗︎ object
required
Options🔗︎
This object allows the user to filter match results. See Options
Response Body🔗︎
Info 🔗︎ object
Info🔗︎
Information explaining the outcome of the transaction.
Info properties
Code 🔗︎ string
Code🔗︎
Code | Description |
---|---|
Success |
Successful transaction |
MissingParameter |
A required parameter wasn't provided |
ConstraintError |
A conditionally required parameter wasn't provided |
InvalidParameter |
A parameter was incorrectly specified |
AuthenticationError |
An error occurred with the credentials provided |
Unauthorized |
Your account doesn't have permission to perform this operation |
DataNotFound |
Couldn't find the requested asset |
Message 🔗︎ string
Message🔗︎
This message further describes the code providing additional detail.
TransactionId 🔗︎ string
TransactionId🔗︎
The (GUID) id for a specific API transaction. Use this when contacting support@textkernel.com about issues.
EngineVersion 🔗︎ string
EngineVersion🔗︎
The version of the parsing/matching engine running under-the-hood.
TotalElapsedMilliseconds 🔗︎ integer
TotalElapsedMilliseconds🔗︎
How long the transaction took on Textkernel's server, in milliseconds. If the transaction takes longer to complete on the client side, that extra duration is solely network latency.
CustomerDetails 🔗︎ object
CustomerDetails🔗︎
Information about the customer who made the API call.
CustomerDetails properties
CreditsRemaining 🔗︎ decimal
CreditsRemaining🔗︎
The number of credits remaining to be used by the account.
Sample JSON
{
"Info": {
"Code": "string",
"Message": "string",
"TransactionId": "string",
"EngineVersion": "string",
"ApiVersion": "string",
"TotalElapsedMilliseconds": 0,
"TransactionCost": 0,
"CustomerDetails": {
"AccountId": "string",
"Name": "string",
"IPAddress": "string",
"Region": "string",
"CreditsRemaining": 0,
"CreditsUsed": 0,
"ExpirationDate": "2021-12-31",
"MaximumConcurrentRequests": 0
}
},
"Value": {
"MatchSize": 1,
"HasMoreResults": true,
"ResultItems": [
{
"DocID": "",
"FieldValues": [
{
"Key": "",
"Value": [
{
"Value": ""
}
]
}
],
"Score": 0.1,
"QueryPartScores": [1]
}
],
"QueryParts": [
{
"Field": "name",
"Condition": "REQUIRED",
"ConditionSpecified": true,
"Weight": 1.0,
"WeightSpecified": true,
"Items": [
{
"Value": "",
"Label": ""
}
],
"FieldLabel": "Name"
}
],
"NewQueryParts": [
{
"Field": "name",
"Condition": "REQUIRED",
"ConditionSpecified": true,
"Weight": 1.0,
"WeightSpecified": true,
"Items": [
{
"Value": "",
"Label": ""
}
],
"FieldLabel": "Name"
}
],
"IsOrCombined": false,
"SearchEngine": "candidates_api",
"Synonyms": [],
"QueryContext": {},
"SearchAfter": [""],
"EsTimeMsSpecified": false
}
}