メインコンテンツへスキップ
GET
/
job
/
{jobId}
Get Job
curl --request GET \
  --url https://cloud.cdata.com/api/job/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "jobType": "Caching",
  "id": "string",
  "name": "string",
  "enabled": true,
  "created": "2024-01-01T00:00:00Z",
  "lastModified": "2024-01-01T00:00:00Z",
  "nextRunTime": "2024-01-01T00:00:00Z",
  "intervalUnit": "Hour",
  "intervalValue": 1,
  "logVerbosity": 1,
  "lastRun": {
    "dateTime": "0001-01-01T00:00:00Z",
    "duration": 63894847975,
    "status": "JOB_QUEUED",
    "rowsAffected": 0,
    "nextRunTime": "0001-01-01T00:00:00Z"
  },
  "params": {
    "timeCheckColumn": "",
    "autoTruncateStrings": "false",
    "sourceConnection": "f6f3cfe6-72e2-4edb-914f-4409c01c1418",
    "sourceConnectionName": "MailChimp1",
    "sourceName": "MailChimp",
    "sourceSchema": "MailChimp",
    "sourceTable": "Conversations"
  }
}

承認

Authorization
string
header
必須

JWT token authentication. Include the token in the Authorization header as Bearer {token}. See Authentication [blocked] for more information on creating a token.

パスパラメータ

jobId
string
必須

The Id of the job you want to retrieve details from.

レスポンス

200 - application/json

OK

jobType
string
必須

The type of job (Caching).

id
string
必須

The job's Id.

name
string
必須

The job's name.

enabled
boolean
必須

A Boolean value indicating whether the job is enabled.

created
string<date-time>
必須

The date and time the job was created.

lastModified
string<date-time>
必須

The date and time the job was last modified.

nextRunTime
string<date-time>
必須

The date and time the job is scheduled to be run next.

intervalUnit
string
必須

A string representing the interval unit for the job (Hour/Day/Week/Month).

intervalValue
integer<int32>
必須

An integer that represents how many of the selected interval unit the job should wait before running again.

logVerbosity
integer<int32>
必須

A number indicating the level of log verbosity (1-5).

lastRun
object

The last run metrics for the job, including the date and time, duration, status, rows affected, and next run time.

params
object

An object containing job parameters. Caching jobs use the fields below; other job types may include additional properties.