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
- Productionhttps://api.oculos.no/v4/import
- Staginghttps://api.staging.oculos.no/v4/import
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
}
]
}
]
}'