Testing Results

You can test your code with different Order results by passing in specific values in the Candidate lastName.

👍

All test orders all behave as if you have enabled Scoring, which is the system of automated adjudication filters.

Without Scoring, the Order result will always be empty. If you set your candidate lastName to PASS, the Order's status and each search will be set to COMPLETE, and the Order result will be set to PASS. You can also set the lastName of the candidate to REVIEW, PENDING, and CANCELLED to see different Order results.

Candidate lastNameOrder ResultDescription
PASS“MEETS REQUIREMENTS”Orders for the candidate always return a PASS result.
REVIEW“NEEDS REVIEW”One or more searches returned inconclusive results. Check the final Report.
PENDING“PENDING”The Order is in progress, and not all searches are complete.
CANCELLED“CANCELLED”For PKG_STANDARD, and INTERACTIVE workflow only, The Order was cancelled by the Candidate.

To run the test, Update your Candidate's lastName, place an order, and then retrieve the Order resource to observe the test results.

Example of PASS result

"completed": "2016-04-20T12:16:48Z",
  "candidateInfoComplete": true,
  "supportReferenceId": "Y4389273",
  "status": "COMPLETE",
  "result": "MEETS REQUIREMENTS",
  "reportUrl": "/report/5717d59f58448e29279a62ca",
  "additionalProductTypes": null,
  "products": [
    {
      "id": 40458752,
      "productType": "MOV",
      "status": "COMPLETE",
      "result": "NOT APPLICABLE",
      "flag": false
    },
    {
      "id": 83131134,
      "productType": "NCRIM",
      "status": "COMPLETE",
      "result": "NOT APPLICABLE",
      "flag": false
    },
    {
      "id": 115299779,
      "productType": "TERB",
      "status": "COMPLETE",
      "result": "NO RECORD FOUND",
      "flag": false
    },
    {
      "id": 124855232,
      "productType": "F/M",
      "status": "COMPLETE",
      "result": "NO RECORD FOUND",
      "flag": false
    }
  ],
  "percentageComplete": 100

Example of an order flagged for review

"completed": "2016-04-20T12:30:31Z",
  "candidateInfoComplete": true,
  "supportReferenceId": "Y9152973",
  "status": "COMPLETE",
  "result": "NEEDS REVIEW",
  "reportUrl": "/report/5717d8d23d8b3b6c79585e99",
  "additionalProductTypes": null,
  "products": [
    {
      "id": 120429763,
      "productType": "NCRIM",
      "status": "COMPLETE",
      "result": "NOT APPLICABLE",
      "flag": false
    },
    {
      "id": 105780922,
      "productType": "F/M",
      "status": "COMPLETE",
      "result": "NO RECORD FOUND",
      "flag": false
    }
  ],