SmartSearch - Run a UKAML Check

POST /api/v1/addons/smartsearch/ukaml/{client_uuid}/run

Path parameters

  • client_uuid string Required
application/json

Body Required

  • attributes array[string] Required

    The attributes to be sent

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/addons/smartsearch/ukaml/{client_uuid}/run
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/addons/smartsearch/ukaml/6ff8f7f6-1eb3-3525-be4a-3932c805afed/run' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"attributes":[{"bank":{"sortcode":"01-02-03","roll_number":"A/123456789-Z","account_type":"direct_debit","account_number":"123456789"},"addresses":[{"flat":"Flat 1","town":"Ilkley","region":"West Yorkshire","building":"Mayfield House","duration":3,"postcode":"LS208BX","street_1":"Lower Railway Road","street_2":null}],"documents":{"passport":{"expiry":"2020-12-20","country":"GBR","mrz_line_2":"3785333651GBR6210283M1601013\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c02"},"driving_licence":{"number":"JUDD9507139NP9LN"},"national_insurance":"GBR"}}]}'
Request examples
{
  "attributes": [
    {
      "bank": {
        "sortcode": "01-02-03",
        "roll_number": "A/123456789-Z",
        "account_type": "direct_debit",
        "account_number": "123456789"
      },
      "addresses": [
        {
          "flat": "Flat 1",
          "town": "Ilkley",
          "region": "West Yorkshire",
          "building": "Mayfield House",
          "duration": 3,
          "postcode": "LS208BX",
          "street_1": "Lower Railway Road",
          "street_2": null
        }
      ],
      "documents": {
        "passport": {
          "expiry": "2020-12-20",
          "country": "GBR",
          "mrz_line_2": "3785333651GBR6210283M1601013<<<<<<<<<<<<<<02"
        },
        "driving_licence": {
          "number": "JUDD9507139NP9LN"
        },
        "national_insurance": "GBR"
      }
    }
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}