Set the audit status for an object
post
/fscmRestApi/fndAuditRESTService/audittrail/update-auditstatus
Set the audit status for an object
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : auditData-updateStatus
Type:
Show Source
object-
attributesList: array
attributesList
-
businessObject(required): string
Title:
businessObjectThe fully qualified view object name to be set up for audit. This name must not be a null string. -
enable(required): string
Title:
enableValue to indicate whether to turn auditing ON or OFF for the business object. -
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.
Nested Schema : attributesList
Type:
Show Source
object-
attributeName: string
Title:
Attribute NameAn attribute specified in the attribute list of the business object for which you want to setup audit. -
isAuditable: string
Title:
AuditableThe value indicates whether this attribute of the business object is enabled or not for audit.
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-updateStatusResponse
Type:
Show Source
object-
attributesList: array
attributesList
-
parentObject: 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. -
viewObject: string
Title:
businessObjectThe fully qualified view object name to be set up for audit. This name must not be a null string.
Nested Schema : attributesList
Type:
Show Source
object-
attributeName: string
Title:
Attribute NameAn attribute specified in the attribute list of the business object for which you want to setup audit. -
isAuditable: string
Title:
AuditableThe value indicates whether this attribute of the business object is enabled or not for audit.
400 Response
The following table describes the error 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 : auditUpdateStatusOnError
Type:
Show Source
object-
attributesList: array
attributesList
-
errorMessage: string
Title:
Error MessageError Message. -
parentObject: 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. -
viewObject: string
Title:
businessObjectThe fully qualified view object name to be set up for audit. This name must not be a null string.
Nested Schema : attributesList-error
Type:
Show Source
object-
attributeName: string
Title:
Attribute NameAn attribute specified in the attribute list of the business object for which you want to setup audit. -
errorMessage: string
Title:
Error MessageError Message. -
isAuditable: string
Title:
AuditableThe value indicates whether this attribute of the business object is enabled or not for audit.
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.