Internal Job Controller

Sweep Jobs

HTTP Request

POST /api/v1/jobs/sweep

📋 Description: Initiates the sweep process for lease contracts, ensuring that all financial obligations are accurately accounted for and reflected in the accounting entries within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

message

query

string

true

Textual content detailing the specific message or instructions related to the lease or contract being processed, essential for accurate financial obligation management within the Nakisa Lease Accounting Suite.

Example Values

Parameter

Example

Type

message

Sweeping stale jobs

query

Responses

Status

Meaning

Description

Schema

200

OK

Jobs swept successfully

None

400

Bad Request

Invalid message parameter

None

500

Internal Server Error

Internal server error

None

Kill Jobs

HTTP Request

POST /api/v1/jobs/kill

📋 Description: Terminates specified job processes within the Nakisa Lease Accounting Suite, ensuring the efficient management of lease-related financial obligations and accounting entries.

Parameters

Name

In

Type

Required

Description

message

query

string

true

Textual content providing a reason or justification for terminating a lease or contract within the Nakisa Lease Accounting Suite.

Example Values

Parameter

Example

Type

message

Killing hung jobs

query

Responses

Status

Meaning

Description

Schema

200

OK

Jobs killed successfully

None

400

Bad Request

Invalid message parameter

None

500

Internal Server Error

Internal server error

None

Interrupt Jobs

HTTP Request

POST /api/v1/jobs/interrupt

📋 Description: Initiates an interruption of a specified job within the Nakisa Lease Accounting Suite, allowing users to halt processing related to leases, contracts, or financial obligations as needed for accounting accuracy.

Parameters

Name

In

Type

Required

Description

message

query

string

true

Textual content conveying the reason for interrupting a lease or contract process within the Nakisa Lease Accounting Suite.

Example Values

Parameter

Example

Type

message

Interrupting jobs for maintenance

query

Responses

Status

Meaning

Description

Schema

200

OK

Jobs interrupted successfully

None

400

Bad Request

Invalid message parameter

None

500

Internal Server Error

Internal server error

None

Cancel Jobs

HTTP Request

POST /api/v1/jobs/cancel

📋 Description: Initiates the cancellation of a specified job within the Nakisa Lease Accounting Suite, ensuring that associated lease and contract obligations are accurately reflected in financial records.

Parameters

Name

In

Type

Required

Description

message

query

string

true

Textual message providing additional context or rationale for canceling a lease or contract within the Nakisa Lease Accounting Suite.

Example Values

Parameter

Example

Type

message

Cancelling queued jobs

query

Responses

Status

Meaning

Description

Schema

200

OK

Jobs cancelled successfully

None

400

Bad Request

Invalid message parameter

None

500

Internal Server Error

Internal server error

None