Get the audit status of an object
post
/fscmRestApi/fndAuditRESTService/audittrail/check-auditstatus
Get the audit status of an object
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : auditData-checkStatus
Type:
Show Source
object-
businessObject(required): string
Title:
businessObjectThe fully qualified view object name to be set up for audit. This name must not be a null string. -
parentBusinessObject(required): string
Title:
parentBusinessObjectThe fully qualified parent view object name, as defined by the view link in the Application Module where the view object instance exists. If the view object does'nt a parent, use the view object name as it's parent. This name must not be null string.
Response
Supported Media Types
- application/json
200 Response
The following table describes the response for this task.
Root Schema : schema
Type:
Show Source
object-
actionName: string
Title:
Action NameThe request method for which response is retrieved such as get-auditsetup. -
auditDate: array
auditDate
-
status: string
Title:
StatusThe status of the audit setup request. The valid values are SUCCESS and FAIL.
Nested Schema : auditData-checkStatusResponse
Type:
Show Source
object-
auditSwitch: string
Title:
Audit SwitchThe value indicates whether or not the business object is setup for audit. -
businessObject: string
Title:
businessObjectThe fully qualified view object name to be set up for audit. This name must not be a null string. -
lastUpdatedTime: string
Title:
Last Updated TimeThe time when the audit status of the business object was last updated. -
parentBusinessObject: string
Title:
parentBusinessObjectThe fully qualified parent view object name, as defined by the view link in the Application Module where the view object instance exists. If the view object does'nt a parent, use the view object name as it's parent. This name must not be null string.
401 Response
The following table describes the response for authentication failure.
Root Schema : auditSetupOnError
Type:
Show Source
object-
actionName: string
Title:
Action NameThe request method for which response is retrieved such as get-auditsetup. -
error: object
auditData-error
-
status: string
Title:
StatusThe status of the audit setup request. The valid values are SUCCESS and FAIL.
Nested Schema : auditData-error
Type:
Show Source
object-
detail: string
Title:
DetailDetail. -
status: string
Title:
StatusThe status of the audit setup request. The valid values are SUCCESS and FAIL. -
title: string
Title:
TitleTitle. -
type: string
Title:
TypeType.
403 Response
The following table describes the response for authorization failure.
Root Schema : auditSetupOnError
Type:
Show Source
object-
actionName: string
Title:
Action NameThe request method for which response is retrieved such as get-auditsetup. -
error: object
auditData-error
-
status: string
Title:
StatusThe status of the audit setup request. The valid values are SUCCESS and FAIL.
Nested Schema : auditData-error
Type:
Show Source
object-
detail: string
Title:
DetailDetail. -
status: string
Title:
StatusThe status of the audit setup request. The valid values are SUCCESS and FAIL. -
title: string
Title:
TitleTitle. -
type: string
Title:
TypeType.