Kantata Kantata OX Knowledge Base Release Notes Status Page

Timesheet Cancellations

Cancels all the requested pending Timesheet Submissions.

Cancel Timesheet Submissions

Cancels all the requested pending Timesheet Submissions.

This endpoint returns structured Resolution objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the resolutions top-level JSON key. Please see our Response Format section for more information.

Request
Request Body schema: application/json
object
description
string

Any additional details about the resolution.

submission_ids
required
Array of integers <int32>

An array of Timesheet Submission IDs that will be processed in this resolution.

Responses
200

Resolution has been created.

Response Schema: application/json
Array of objects
Array
id
integer <int32>

The ID of the resolution.

type
string

The resolution type, either approval, rejection, or cancellation.

description
string

Additional resolution details.

target_type
string

Whether the resolution is for a timesheet submission or an expense report submission.

target_id
integer <int32>

The ID of the associated submission.

user_id
integer <int32>

The ID of the user who created the resolution.

current
boolean

Indicates if the resolution is outdated or not.

created_at
string <date-time>
updated_at
string <date-time>
400

Bad Request

401

Unauthorized request

403

Forbidden request

404

Page Not Found

422

Unprocessable Entity

503

Service is unavailable

post/timesheet_cancellations
Request samples
application/json
{
  • "resolution": {
    }
}
Response samples
application/json
{
  • "resolutions": [
    ]
}