How to Run Multiple Services Concurrently
It is possible to run multiple screening services on the same set of data.
Get Available Services for Your Account
The first thing you should do is make sure you know the IDs for the services you want to be run. The following request returns the services that are available for particular access token.
Request:
GET /api/Customer/services
curl -X GET "https://screening.idware.net/api/Customer/services" -H "Content-Type: application/json" -H "Authorization: Bearer {token}"
Response:
[
{
"requestQuantity": 10,
"requestUsed": 0,
"id": "211b428e-b8b5-4eb9-973d-106f013c371f",
"friendlyName": "IdentiFraud",
"description": "Authenticate a consumer by personal data",
"billingType": 1,
"status": "10 requests left",
"isAvailable": true
},
{
"requestQuantity": 10,
"requestUsed": 0,
"id": "3accf2a9-2e52-4675-b546-7c3676897c3c",
"friendlyName": "Sex offender",
"description": "Sex offender",
"billingType": 1,
"status": "10 requests left ",
"isAvailable": true
}
]
Check with Multiple Services
Using the id fields in the previous response we can use them in the "services" parameter of the check request.
Note
If this parameter is missed, the check will be performed on all services that are enabled for your account.
Request:
POST /api/Check
{
"firstName": "john",
"lastName": "doe",
"dateOfBirths": "11/30/1981",
"idType": "string",
"idNumber": "string",
"middleName": "string",
"address": "N6W23001 BLUEMOUND ROAD, ROLLING MEADOWS",
"city": "San Antonio",
"state": "TX",
"zip": "78258",
"county": "string",
"ssn": "222222222",
"services": [
"211B428E-B8B5-4EB9-973D-106F013C371F",
"3ACCF2A9-2E52-4675-B546-7C3676897C3C"
]
}
Response:
[
{
"serviceId":"211b428e-b8b5-4eb9-973d-106f013c371f",
"serviceName":"IdentiFraud",
"serviceDescription":"Authenticate a consumer by personal data",
"error":null,
"success":true,
"profiles":[
<profiles from IdentiFraud service>
]
},
{
"serviceId":"3accf2a9-2e52-4675-b546-7c3676897c3c",
"serviceName":"Sex offender",
"serviceDescription":"Sex offender",
"error":null,
"success":true,
"profiles":[
<profiles from Sex offender service>
]
}
]
For Detailed Response Information: