Download OpenAPI specification:Download
The Contact bulk load is a REST webservice that is used for importing a large number of contacts to a specific database table that should be already created inside the DANAconnect platform.
username and password in the DANAConnect platform. tableCode.tableCode: corresponds to the logical code of the database that should have been previously created in the DANAConnect platform where you wish to import the data. This code can be found by entering the Contact Manager module inside the DANAConnect platform and looking for the database to be used in the database list.This service will import contacts from a file that will be inserted to the specified table. Where tableCode is the identifier of a previously created contact list. This code can be found by clicking the desire contact list inside Contact Manager Module
The server successfully processed the request
Incorrect Request. The request did not match the expected format
Authentication Error
curl -i -X POST \ -u <username@companycode>:<password> \ https://ws.danaconnect.com/api/contacts/rest/webdb/table/:tableCode \ -H 'Content-Type: multipart/form-data' \ -H 'Accept: application/json' \ -F 'delimiter="' \ -F 'encodingType=UTF-8' \ -F 'includeHeaders=false' \ -F 'operationType=INSALL' \ -F 'separator=,' \ -F 'strict=true' \ -F 'fieldsCode="TEST_NAME;TEST_LASTNAME;TEST_PHONE;TEST_EMAIL"' \ -F file=@/path/to/file/testFile.csv
Successful Response without any warnings
{- "fields": [
- "TEST_NAME",
- "TEST_LASTNAME",
- "TEST_PHONE",
- "TEST_EMAIL"
], - "fileName": "testFile.csv",
- "idCompany": "YourCompanyCode",
- "includeHeaders": false,
- "separator": ",",
- "status": true,
- "tableCode": "TestTableCode"
}POST sent to the callback url if it was specified
{- "fileName": "s3://contactsfile/3233/Contacts.csv",
- "fileSize": 2910575,
- "logID": 9876,
- "result": "FINISHED",
- "idCompany": "CompanyCode",
- "idWebDb": 987,
- "lineCount": 7832,
- "movedFile": "processed/Log9876-webdb987"
}