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:
businessObject
The fully qualified view object name to be set up for audit. This name must not be a null string. - enable(required): string Title:
enable
Value to indicate whether to turn auditing ON or OFF for the business object. - parentBusinessObject(required): string Title:
parentBusinessObject
The 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 Name
An attribute specified in the attribute list of the business object for which you want to setup audit. - isAuditable: string Title:
Auditable
The 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 Name
The request method for which response is retrieved such as get-auditsetup. - auditDate: array auditDate
- status: string Title:
Status
The 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:
parentBusinessObject
The 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:
businessObject
The 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 Name
An attribute specified in the attribute list of the business object for which you want to setup audit. - isAuditable: string Title:
Auditable
The 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 Name
The request method for which response is retrieved such as get-auditsetup. - auditDate: array auditDate
- status: string Title:
Status
The 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 Message
Error Message. - parentObject: string Title:
parentBusinessObject
The 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:
businessObject
The 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 Name
An attribute specified in the attribute list of the business object for which you want to setup audit. - errorMessage: string Title:
Error Message
Error Message. - isAuditable: string Title:
Auditable
The 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 Name
The request method for which response is retrieved such as get-auditsetup. - error: object auditData-error
- status: string Title:
Status
The status of the audit setup request. The valid values are SUCCESS and FAIL.
Nested Schema : auditData-error
Type:
Show Source object
- detail: string Title:
Detail
Detail. - status: string Title:
Status
The status of the audit setup request. The valid values are SUCCESS and FAIL. - title: string Title:
Title
Title. - type: string Title:
Type
Type.
403 Response
The following table describes the response for authorization failure.
Root Schema : auditSetupOnError
Type:
Show Source object
- actionName: string Title:
Action Name
The request method for which response is retrieved such as get-auditsetup. - error: object auditData-error
- status: string Title:
Status
The status of the audit setup request. The valid values are SUCCESS and FAIL.
Nested Schema : auditData-error
Type:
Show Source object
- detail: string Title:
Detail
Detail. - status: string Title:
Status
The status of the audit setup request. The valid values are SUCCESS and FAIL. - title: string Title:
Title
Title. - type: string Title:
Type
Type.