Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

  1. Install Postman from https://www.postman.com/downloads/

  2. Install the SafePlaces Ingest API.postman_collection.json file attached below

  3. Once installed, click on SafePlaces Ingest API

    1. Click on the …

    2. Click “Edit”

    3. Click “Variables”

    4. Set the ingest URL to https://ingest.staging.safeplaces.extremesolution.com

  4. Go to https://staging.spl.extremesolution.com/trace

  5. Click “Add new record” and copy the 6 digit code

  6. In Postman, click “Access Code Valid”

    1. Change the POST url to {{ingesturl}}/access-code/valid

    2. Now select the header “Body”

      1. You should see "accessCode": 149369”

      2. Enter the new 6 digit code overwriting 149369

      3. Click “Send”

      4. Should return TRUE

  7. In Postman, click “Consent”

    1. Change the POST url to {{ingesturl}}/consent

    2. Select the header “Body”

      1. You should see "accessCode": 149369, "consent": true

      2. Enter the 6 digit code as before

      3. Click “Send”

      4. Should return a 200 with an empty response body

  8. In Postman, click “Upload”

    1. Change the POST url to {{ingesturl}}/upload

    2. Select header “Body”

      1. Again enter the 6 digit code as before, request body should look like;

        {
            "accessCode": 976359,  
            "concernPoints" : [...]
        }
      2. Click “Send”

      3. You should now see something like "uploadId": "fdf2b23a-d29c-489d-b79e-53c53e014383"

  9. Go back to SafePlaces browser

    1. Check data upload of this record

  File Modified
No files shared here yet.
  • No labels