post
https://api.liveramp.com/analytics-environment/v1/flows
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request example for eventBasedFlow
curl --location 'https://api-staging.liveramp.com/analytics-environment/v1/flows' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_token}' \
--data '{
"flowOrder": [
{
"order": 1,
"scheduleJobId": 101
},{
"order": 2,
"scheduleJobId": 102
}
],
"flowOwner": "[email protected]",
"frequency": "",
"loadDataTable": "lranalytics-us-101011-cert.example_test.example_test_flow",
"name": "test event based trigger",
"type": "eventBasedTrigger"
}'Request example for timeBasedFlow
curl --location 'https://api-staging.liveramp.com/analytics-environment/v1/flows' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_token}' \
--data '{
"flowOrder": [
{
"order": 1,
"scheduleJobId": 99
}
],
"flowOwner": "",
"frequency": "*/15 * * * *",
"loadDataTable": "",
"name": "test time based trigger",
"type": "timeBasedTrigger"
}'Response example
{
"id": 5
}