Patch ScheduleJob

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request example for Python or PySpark

curl --location --request PATCH 'https://api.liveramp.com/analytics-environment/v1/schedule-jobs/${jobId}' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_tooken}' \
--data '{
  "name": "test1",
  "description": "test1",
  "dataprocVersion": "dataproc2.1",
  "mainFile": "gs://lranalytics-eu-123456-cert-awob-coderepo/testFolder01/111.py",
   "pyFiles": [
    "gs://lranalytics-eu-123456-cert-awob-coderepo/1.py"
  ],
  "enabled": true,
  "jobArgs": "",
  "additionalPackages": "",
  "onetimeJob": false,
  "startDate": "",
  "frequency": "25 0 * * 4",
}'

Request example for disabling a BigQuery job

curl --location --request PATCH 'https://api-staging.liveramp.com/analytics-environment/v1/schedule-jobs/${jobId}' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_tooken}' \
--data '{
    "enabled":false
}'

Request example for changing a BigQuery job's frequency and job owner

curl --location --request PATCH 'https://api-staging.liveramp.com/analytics-environment/v1/schedule-jobs/${jobId}' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_tooken}' \
--data '{
    "bigqueryFrequency": "every day at 06:00 UTC",
    "jobOwner": "[email protected]"
}'
Path Params
int32
required
Body Params
string
string
string
string
string
string
boolean
string
string
pyFiles
array of strings
pyFiles
string
boolean
string
string
string
Headers
string
required
string
required
Responses
200

ScheduleJob patched successfully

Language
LoadingLoading…
Response
Choose an example:
application/json