Retrieve job audit history

Retrieve the audit history for a job record.

Get job audit history

GET https://ris.rightsline.com/v4/job/:id/audit-history

This endpoint allows you to retrieve the audit history of a specific job by ID.

Path Parameters

NameTypeDescription

id

string

ID of the job to retrieve.

Query Parameters

NameTypeDescription

userId

number

Filter by actions from a specific user.

page

number

Paging - The page to retrieve (default 1).

rows

number

Paging - The number of rows to retrieve (default 10).

startDate

dateTime

Return history after this date.

endDate

dateTime

Return history before this date.

charTypeIds

int[]

An array of char type IDs of related entities to include in the history results.

showWorkflow

bool

Include workflow history in results (default false).

Headers

NameTypeDescription

x-api-key

string

Your company's API key.

Authentication

string

Authentication token.

{
    "totalCount": 1,
    "entries": [
        {
            "isHeader": 1,
            "auditId": "0x00663C390001A63E0008",
            "sequence": "0x00663C390001A63E0002",
            "operationId": 2,
            "operationLabel": "Added",
            "charTypeId": 15,
            "recordId": 1122615,
            "title": "Job Record 1122615",
            "templateId": 1,
            "templateName": "Job",
            "userId": 112151,
            "userName": "Donald Glover",
            "auditDate": "2022-07-07T22:55:49.687Z",
            "changedField": null
        }
    ]
}

Get job audit history details

GET https://ris.rightsline.com/v4/job/:id/audit-history-detail

This endpoint allows you to retrieve the audit history details of a specific audit record.

Path Parameters

NameTypeDescription

id

string

ID of the job to retrieve.

Query Parameters

NameTypeDescription

auditId*

string

From audit history response.

sequence*

string

From audit history response.

operationId*

number

From audit history response.

isHeader*

number

From audit history response.

includeMessages

boolean

Include message details in response.

Headers

NameTypeDescription

x-api-key

string

Your company's API key.

Authentication

string

Authentication token.

{
    "changedField": "notes",
    "oldValue": "old note",
    "newValue": "new note",
    "messageId": "7d664774-c0b5-431a-99a1-978ec257d1fe", // if includeMessages = true
    "destination": "queue-name.fifo", // if includeMessages = true
    "auditDate": "2022-11-09T18:10:10.133Z" // if includeMessages = true
}

Last updated