POST
/
api
/
data
/
v1.0
/
customer
/
{customerId}
/
dataset
/
{dataSetId}
/
datasource
/
json
/
{datasourceId}
/
upload
cURL
curl --request POST \
  --url https://app.allyy.io/api/data/v1.0/customer/{customerId}/dataset/{dataSetId}/datasource/json/{datasourceId}/upload \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "errors": [
      {
        "code": "<string>",
        "message": "<string>"
      }
    ],
    "validation": [
      {
        "property": "<string>",
        "message": "<string>"
      }
    ],
    "info": {}
  },
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "datasourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": 1,
    "processedLines": 123,
    "contactsInserted": 123,
    "sizeBytes": 123,
    "insertionExceptions": {
      "warnings": {},
      "errors": {}
    },
    "started": "2023-11-07T05:31:56Z",
    "finished": "2023-11-07T05:31:56Z",
    "lastSyncedEntityDate": "2023-11-07T05:31:56Z",
    "datasourceType": 123,
    "warnings": [
      {
        "property": "<string>",
        "message": "<string>"
      }
    ],
    "isPostProcessed": true,
    "resynchronize": true
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

customerId
string<uuid>
required
dataSetId
string<uuid>
required
datasourceId
string<uuid>
required
version
string
required

Response

202
text/plain

Accepted

The response is of type object.