Create Job

This section describes the endpoint that is used to create a job and set it to an EDITING stage.

Authentication & Authorization

  • Use application tokens to authenticate your request using these instructions: Authorization & Authentication
  • Required application permission on token: Update Model

URI

Request URI

POST https://{region}.vena.io/api/public/v1/etl/templates/{templateId}/jobs

URI Parameter

Name Required Type Description
region Yes string The name of your region (e.g. "us1")
templateId Yes string The template ID (18 or 19 digits)

Headers

Content-type: application/json

Response

Name Type Description
200 OK ETLJob a Vena job

Examples

Sample Request

curl https://us2.vena.io/api/public/v1/etl/templates/1099180598582312960/jobs
-X POST -H "Content-Type: application/json" -u 1112140682300620800.1:51fd255f934040649f98d2a74d1c4391

Sample Response

Status code: 200

{
"id": "1099180598582312960",
"name": "LoadGL",
"status": "EDITING",
"modelId": "988930839071293441",
"modelName": "Financial Model",
"createdDate": 1623338765403,
"updatedDate": 1623338873829,
"userName": "Admin User"
}