v1

latestOpenAPI 3.1.02026-07-22155403592.5 KB
Datalayer

Enable the datalayer sync for a connection

Enables the datalayer sync for the consumer's connection so it refreshes on schedule. Requires the datalayer to be configured for the connection's vertical.

post/consumers/{consumer_id}/connections/{connection_id}/enable_datalayer

Path parameters

consumer_idstring uuid required
connection_idstring uuid required

Request body

from_datestring date nullable

Date from which the data is synced. Defaults to one year ago when omitted. Mutually exclusive with fiscal_years_back and full_history.

fiscal_years_backinteger nullable

Sync from the start of the book year this many fiscal years back (accounting only). 0 syncs from the start of the current fiscal year. Mutually exclusive with from_date and full_history.

full_historyboolean

Sync the whole history, without a lower date bound. Mutually exclusive with from_date and fiscal_years_back.

Response

Successful Response

{"stackTrail":"paths:/consumers/{consumer_id}/connections/{connection_id}/enable_datalayer:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}