+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Manage Data Extension Records

Sie sind hier:

Manage records of a specific data extension.

POST https://api.maileon.com/1.0/dataextensions/:dataExtensionId

Query Parameters

Parameter Required Description
importOption yes The import option.
Possible options: INSERT, UPDATE, UPSERT, INSERT_IGNORE_DUPLICATES or DELETE

Attributes

Parameter Required Description
field_names yes A list containing all the fields‘ names.
records_list
yes A list containing a list of values to be handled. Each list entry needs to be nested in an object named „values“.

Example

POST https://api.maileon.com/1.0/dataextension/123?importOption=INSERT
Authorization: Basic XXXXXXXXXXXXXXX
Content-Type: application/vnd.maileon.api+json

{
  "field_names": [
    "id",
    "email",
    "text"
  ],
  "records_list": [
    {
      "values": [
        1,
        "foo@maileon.com",
        "lorem ipsum dolor sit amet"
      ]
    },
    {
      "values": [
        2,
        "bar@maileon.com",
        "consetetur sadipscing elitr"
      ]
    }
  ]
}

Response

HTTP status code Description
201 Created Record successfully processed, report is attached
400 Bad Request If there was an error in the submitted body. See response body for details.
404 Not Found If no data extenstion with the given dataExtensionId can be found.

The request returns an application/json formatted report.

Example response body

{
  "error": null,
  "errorDetails": null,
  "logs": null,
  "recordsAffected": 2,
  "skippedRecords": 0,
  "success": true,
  "totalRecords": 2
}

 

Inhaltsverzeichnis