Managing Master Data with webMethods OneData : Developing for webMethods OneData : REST Web Services : REST URL Parameters : responseLogLevel
responseLogLevel
Used in the HTTP header, the parameter allows you to:
*Override the global configuration onedata.webservice.rest.responseLogLevel set in the onedata.properties file.
*Request service audit information for records logged in OneData to be sent in the REST output. For adequate information to be available in the REST response, the service audit log level should be either 2 or 3.
Note:  
Ensure that you specify returnColumns for 1, 2, 4, 5, and 6.
Possible values are:
*0. Does not return any service log information in the XML response.
*1. Example of the XML response:
<DATA> <EntityName> <datarow SERVICE_AUDT_DETL_ID="108408"
TRANSACTION_STATUS="Success" TRANSACTION_TYPE="Insert" RECORD_PRIMARYKEY="ID=103">
<ID>103</ID> </datarow> </EntityName></DATA>
*2. Example of the XML response:
<DATA><EntityName> <datarow> <ID>103</ID> <SERVICE_AUDT_DETL_ID>108416
</SERVICE_AUDT_DETL_ID> <TRANSACTION_STATUS>Success</TRANSACTION_STATUS>
<TRANSACTION_TYPE>Insert</TRANSACTION_TYPE>
<TRANSACTION_STATUS_MSG> <![CDATA[Record processed sucessfully.]]>
</TRANSACTION_STATUS_MSG> <RECORD_PRIMARYKEY>ID=103</RECORD_PRIMARYKEY>
</datarow> </EntityName></DATA>
*3. Example of the XML response:
<SERVICE_AUDIT> <EntityName> <datarow> <SERVICE_AUDT_DETL_ID>108421
</SERVICE_AUDT_DETL_ID> <TRANSACTION_STATUS>Success</TRANSACTION_STATUS>
<TRANSACTION_TYPE>Insert</TRANSACTION_TYPE>
<TRANSACTION_STATUS_MSG>Record processed sucessfully.</TRANSACTION_STATUS_MSG>
<RECORD_PRIMARYKEY>ID=103</RECORD_PRIMARYKEY> </datarow> </EntityName><SERVICE_AUDIT>
*4. The XML response is a combination of the response for 1 and 3.
*5. The XML response is a combination of the response for 2 and 3.
*6. Includes information only for records for which the inbound service request failed. The XML response is similar to 2.
For more details on service audit logs, see Administering webMethods OneData.
Copyright © 2011-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback