Skip to content

Query using demographic information (demographicsQuery)

Request

Retrieves the single best-matching identity from the Provider entity for the demographic data supplied in the request, using Verato's referential matching algorithm. A match is only returned if it scores at or above the same threshold used for automatic matching during postIdentity — use this when you expect exactly one confirmed match rather than a candidate list.

Security
basicAuth
Bodyapplication/jsonrequired
trackingIdstring

Optional client-defined correlation ID.

contentobject(DemographicsQueryWsRequest)

Request for demographics-based query.

curl -i -X POST \
  -u '<username>:<password>' \
  https://yourveratodomain.com/provider-link-ws/svc/demographicsQuery \
  -H 'Content-Type: application/json' \
  -d '{
    "trackingId": "string",
    "content": {
      "identity": {
        "sources": [
          {
            "date": "2019-08-24",
            "name": "string",
            "id": "string",
            "customerMetaData": {
              "transactionType": "string",
              "sourceLoginName": "string",
              "sourceUserName": "string",
              "transactionDateTime": "string",
              "sourceTransactionDateTime": "string",
              "customMetaData": {
                "property1": "string",
                "property2": "string"
              },
              "location": "string"
            }
          }
        ],
        "contactInformation": [
          {
            "address": {
              "addressName": "string",
              "addressType": "string",
              "line1": "string",
              "line2": "string",
              "city": "string",
              "district": "string",
              "state": "string",
              "postalCode": "string",
              "country": "string",
              "latitude": 0,
              "longitude": 0,
              "validFrom": "2019-08-24",
              "validTo": "2019-08-24"
            },
            "phoneList": [
              {
                "number": "string",
                "type": "string",
                "validFrom": "2019-08-24",
                "validTo": "2019-08-24"
              }
            ],
            "faxList": [
              {
                "number": "string",
                "type": "string",
                "validFrom": "2019-08-24",
                "validTo": "2019-08-24"
              }
            ],
            "bestTimeToContact": [
              {
                "day": "string",
                "startTime": "14:15:22Z",
                "endTime": "14:15:22Z",
                "allDay": true
              }
            ]
          }
        ],
        "addresses": [
          {
            "addressName": "string",
            "addressType": "string",
            "line1": "string",
            "line2": "string",
            "city": "string",
            "district": "string",
            "state": "string",
            "postalCode": "string",
            "country": "string",
            "latitude": 0,
            "longitude": 0,
            "validFrom": "2019-08-24",
            "validTo": "2019-08-24"
          }
        ],
        "phoneNumbers": [
          {
            "number": "string",
            "type": "string",
            "validFrom": "2019-08-24",
            "validTo": "2019-08-24"
          }
        ],
        "faxNumbers": [
          {
            "number": "string",
            "type": "string",
            "validFrom": "2019-08-24",
            "validTo": "2019-08-24"
          }
        ],
        "emails": [
          {
            "email": "user@example.com",
            "type": "string",
            "validFrom": "2019-08-24",
            "validTo": "2019-08-24"
          }
        ],
        "npis": [
          {
            "npi": "string",
            "entityTypeCode": "string",
            "deactivationDate": "2019-08-24"
          }
        ],
        "license": [
          {
            "number": "string",
            "state": "string",
            "taxonomyCode": "string",
            "licenseEffectiveDate": "2019-08-24",
            "licenseExpirationDate": "2019-08-24",
            "licenseStatus": "string",
            "licenseStatusDetail": "string",
            "licenseProfessionCode": "string",
            "licenseProfessionRankCode": "string",
            "licenseLastUpdateDate": "2019-08-24",
            "licenseProfessionDescription": "string",
            "licenseType": "string",
            "licensePrimary": "string"
          }
        ],
        "specialties": [
          {
            "specialtyTaxonomyCode": "string"
          }
        ],
        "qualifications": [
          {
            "type": "string",
            "qualification": "string",
            "status": "string",
            "issuer": "string",
            "issueDate": "2019-08-24",
            "validFrom": "2019-08-24",
            "validTo": "2019-08-24"
          }
        ],
        "alternateIdentifiers": [
          {
            "description": "string",
            "type": "string",
            "value": "string",
            "status": true,
            "issuer": "string",
            "issueDate": "2019-08-24",
            "startDate": "2019-08-24",
            "endDate": "2019-08-24"
          }
        ],
        "externalUniqueIdentifier": [
          {
            "issuer": "string",
            "value": "string",
            "status": "string",
            "startDate": "2019-08-24",
            "endDate": "2019-08-24"
          }
        ]
      },
      "responseIdentityFormatNames": [
        "string"
      ]
    }
  }'

Responses

Demographics query response

Bodyapplication/json
auditIdstring

Unique audit identifier for correlating requests and responses.

successboolean

Indicates whether the business operation succeeded.

warningsArray of strings

Non-fatal warnings generated by the operation.

retryableErrorboolean

Indicates whether an error is transient and the request may be retried.

messagestring

Human-readable status message.

errorsArray of strings

Error messages if success is false.

trackingIdstring

Echo of the request trackingId, if provided.

contentobject(DemographicsQueryWsResponse)

Demographics query response content.

Response
{ "auditId": "string", "success": true, "warnings": [ "string" ], "retryableError": true, "message": "string", "errors": [ "string" ], "trackingId": "string", "content": { "identityGroupedBySource": [ … ], "customerSources": [ … ], "linkId": "string", "identity": { … }, "domains": [ … ], "customizedIdentities": { … } } }