Skip to main content
Answer

Hosted Extractors - Events as target type

  • October 13, 2023
  • 2 replies
  • 77 views

Will custom data formats for hosted extractors support events as target type in the future, and if so, do you have a rough estimate on when? 

Best answer by Thale Graffer

Hi, the hosted extractors already support events, and we are working on writing some documentation. You will need to create a custom transformation, and the result should look like:

{
"type": "event",
"externalId": ...,
"eventType": ...,
...,
"metadata": {
"custom": "metadata"
}
}

All the fields are the same as documented in the CDF API docs for creating events, except for “type”, which here is replaced by “eventType”. Please let us know if there’s anything else you’re wondering about.

2 replies

  • Practitioner
  • Answer
  • October 13, 2023

Hi, the hosted extractors already support events, and we are working on writing some documentation. You will need to create a custom transformation, and the result should look like:

{
"type": "event",
"externalId": ...,
"eventType": ...,
...,
"metadata": {
"custom": "metadata"
}
}

All the fields are the same as documented in the CDF API docs for creating events, except for “type”, which here is replaced by “eventType”. Please let us know if there’s anything else you’re wondering about.


  • Author
  • Seasoned
  • October 16, 2023

Awesome, thank you!