O endpoint de grupo de eventos permite que o RD Station receba mais de um evento ao mesmo tempo. Isso permite que eventos de pedido fechado e os itens que foram inclusos no pedido sejam enviados por meio de apenas uma chamada para a API.


Request body parameters
FieldTypeRequiredDescription
event_typeStringtrueThe event type as defined by one of the events above.
event_familyStringtrueThe family of the event for processing purposes. It currently accepts only "CDP" as valid option.
payloadObjecttruePayload object containing the attributes of the related event_type as defined above.

Request body example
[
  {
    "event_type" : "#type",
    "event_family" : "CDP",
    "payload": {
      /* ... */
    }
  },
  {
    "event_type" : "#type",
    "event_family" : "CDP",
    "payload": {
      /* ... */
    }
  },
  {
    "event_type" : "#type",
    "event_family" : "CDP",
    "payload":
    {
      /* ... */
    }
  },
  /* ... */
]

Request response example
Success | Code: 200
{
    "event_batch_uuid": "UUID of the batch",
    "events":[
         { "event_uuid":"Event UUID" },
         { "event_uuid":"Event UUID" },
         { "event_uuid":"Event UUID" },
       /* ... */
     ]
}
The event uuid array is organized according to the the order of the array sent in the request payload.