post https://api.lytics.io/api/work
There are a list of available work-types in the workflow api.
To create a work unit, there is a config block with the work configuration
settings, with the fields listed in the workflow.
curl -s -H "Authorization: $LIOKEY" \
-XPOST "https://api.lytics.io/api/work" -d '
{
"workflow_id":"eventscopy"
, "name":"Ecommerce Demo Copy"
, "config":{
"destination_aid": "2223"
}
}
' | jq '.'