OneData 10.7 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | RESTful Web Services | REST URL Parameters | auditComment
 
auditComment
Provide audit comments with XML payload both at REST call level and also at record level.
Audit Comment Level
Parameter Value
Description
Global Audit Comment
global-audit-comment-value
Set the attribute auditComment to the global-audit-comment-value in the header of the REST call to provide the global audit comment.
Record Audit Comment
Set the attribute auditComment to true or false in REST URL.
true.
Uses record-level audit comments.
*If record-level audit comment exists, then the audit comment field is set to record-level audit comment, ignoring global audit comment.
*If record-level audit comment does not exist and global audit comment is set, then the audit comment field is set to global audit comment.
*If record-level audit comment and global audit comment are not set, then the audit comment field is set to blank .
false. Default.
Ignores record-level audit comments.
*If record-level audit comments exist and global audit comment is not set, then the audit comment field is set to blank.
*If record-level audit comment and global audit comment are set, then the audit comment field is set to global audit comments
*If record-level audit comment and global audit comment are not set, then the audit comment field is set to blank.
To set audit comments at record level, see Obtaining the REST Schema from OneData user interface. In the payload, pass the audit comment data as per the schema defined in schema generated.
Note:
OneData supports this feature for insert and update operations.