Skip to content

Import

Endpoint that provides methods for importing data, typically in batches into Trigg.

In this endpoint we can receive many formats and types, such as JSON and XML requests.

To get an example of your specific integration, please contact our support team.

Import

Request

Imports data into OIP by the body request, this method accepts various formats such as JSON, XML, CSV etc.

This method may have to be configured by Oculos before usage and the examples below is just an illustration of payload as the endpoint is fully dynamic.

Security
api_key
Bodyapplication/json
membersArray of objects
curl -i -X POST \
  https://api.oculos.no/v4/import \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "members": [
      {
        "name": "John Doe",
        "age": 30,
        "email": "john.doe@example.com",
        "address": "Street 1",
        "city": "Oslo",
        "zip": 10,
        "metaData": [
          {
            "isVip": true
          }
        ]
      }
    ]
  }'

Responses

OK