Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The REST API is a charged module. Please contact PICS sales team to arrange access.

...

1. Ensure that the expected Content-Type is set to application/json.

2. Set the request method to POST.

...

The import data will then be passed to the service in the body of the request. The following code snippet is an example of the correct syntax for importing a learner's first name and surname:

Example Import JSON


Code Block
{
    "ImportTypeimportType": 1"Applicant",
      "ImportData" : {"Firstnamefields": [
       {"FieldName":"APP_FIRSTNAMES", "FieldValue": "Joe"},
        "Surname{"FieldName":"APP_SURNAME", "FieldValue": "Bloggs"},
        {"FieldName":"APP_TITLE", "FieldValue": "1"}
    ]
}