Table of Contents

Class BatchJobLog

Namespace
BiExcellence.OpenBi.Api.BatchJobs
Assembly
BiExcellence.OpenBi.Api.Client.dll

One run of a batch job.

public sealed record BatchJobLog : IBatchJobLog
Inheritance
object
BatchJobLog
Implements

Properties

Date

When the run started.

[JsonPropertyName("date")]
public DateTimeOffset Date { get; init; }

Property Value

DateTimeOffset

DurationMilliseconds

How long the run took, in milliseconds.

[JsonPropertyName("durationMilliseconds")]
public double DurationMilliseconds { get; init; }

Property Value

double

Id

The run id - the {id} of batchjoblogs/{id}/entries and batchjoblogs/{id}/cancel.

[JsonPropertyName("id")]
public long? Id { get; init; }

Property Value

long?

JobId

The Id of the job that ran.

[JsonPropertyName("jobId")]
public int JobId { get; init; }

Property Value

int

JobName

The name of the job that ran.

[JsonPropertyName("jobName")]
public string? JobName { get; init; }

Property Value

string

Status

The outcome of the run: 0 success, -1 still running, 9996 finished with warnings, 9997 interrupted (the server stopped or was not running at the scheduled time), 9998 cancelled, 9999 failed.

[JsonPropertyName("status")]
public int Status { get; init; }

Property Value

int