Skip to Content

Documentation

Risk Cloud API: View Field Audits

A guide to the API endpoints that allow you to track field audits

This article details the endpoints for obtaining and exporting field audits.

User should have one of the following roles and access in order to view the endpoint results:

  • Role with Admin All entitlement and in some cases access to the required entity
  • Role with View All Fields entitlement with Read access to record

Field Audit

Find All Field Audit By Record Id

Retrieve all field audits based on record id.

Required Path ParameterDescription
recordIdThe unique ID of a record where, if provided, the response will only contain field audits from the identified record.

This endpoint has the following optional query parameters for additional filtering.

Query ParameterDescription
pageThe zero-indexed page number (must not be less than 0, defaults to 0).
sizeThe size of the page and maximum number of items to be returned (must not be less than 1, defaults to 20).

Result

A paginated response of all field audit results related to the record, containing the following info:

Result FieldDescription
idThe unique ID of the field audit.
fieldIdThe unique ID of the field audit.
fieldLabel The label of the field, which is presented to end users for the field.
fieldName The name of the field, which is used to identify the field in the Build and Reports modules.
created The created date of the field audit in epoch time in milliseconds ex. 1712168746685
recordIdThe unique ID of the record.
userNameThe name of the creator.
userEmailThe email of the creator.
fieldValuesThe list of field values.
executorIdThe unique ID of the executor.
executorNameThe name of the executor.
executorTypeThe type of executor ex.USER_ACTION
defaultValueIs this value the default field value or not ex. false

Get Most Recent Field Audit By Value Map

Retrieve the most recent field audit by value map.

Required Path ParameterDescription
valueMapIdThe unique ID of a value map where, if provided, the response will only contain field audits from the identified value map.

Result

A simplified field audit object response of the most recent field audit related to the value map, containing the following info:

Result FieldDescription
idThe unique ID of the field audit.
fieldIdThe unique ID of the field.
fieldLabelThe label of the field, which is presented to end users for the field.
fieldNameThe name of the field, which is used to identify the field in the Build and Reports modules.
fieldTypeThe type of field ex. Common
createdThe created date of the field audit in epoch time in milliseconds ex. 1712168746685
recordIdThe unique ID of the record.
userIdThe unique ID of the user.
userNameThe name of the user.
userEmailThe email of the user.
fieldValuesThe list of field values.

Field Audit Export

Export All Field Audit By Record Id

Export all field audits based on record id. Optionally, results can be ordered by pageable parameters and be within the specified min created date and max created date range.

Required Path ParameterDescription
recordIdThe unique ID of a record where, if provided, the response will only contain field audits from the identified record.

This endpoint has the following optional query parameters for additional filtering.

Query ParameterDescription
pageThe zero-indexed page number (must not be less than 0, defaults to 0).
sizeThe size of the page and maximum number of items to be returned (must not be less than 1, defaults to 20).
minCreatedThe min created date in epoch time in milliseconds ex. oldest date lower bound 1711997926000
maxCreatedThe max created date in epoch time in milliseconds ex. newest date upper bound 1712170726000

Result

A view containing all field audit results related to the record. This response can be saved as a csv, xlsx, txt, or other appropriate formats for later viewing.

Ex.

Created Date,Field Id,Field Label,Field Name,Field Type,Field Values,Record Id,User Email,User Name,Executor ID,Executor Name,Execution Type,Is Default Value
2024-04-03 18:25:53,LkTGrIvx,Select the date by which the record must be completed.,Due Date,DueDateFieldTransient,[1717261200000],bnWzIMRy,[email protected],LogicGate Administrator,gMLjJcmK,LogicGate Administrator,USER_ACTION,false
2024-04-03 18:25:47,3PvdkyZM,t,t,InfiniteTextField,[new 11],bnWzIMRy,[email protected],LogicGate Administrator,gMLjJcmK,LogicGate Administrator,USER_ACTION,false