Hiya
Can you explain your use case please?
Why are you trying to modify the consumer's response payload in analytics - shouldn't that be the same as was actually returned to the consumer ?
If you want to store additional data then do so using the custom_data object.
------------------------------
Chris Dudley
------------------------------
Original Message:
Sent: Thu December 05, 2024 03:20 AM
From: satheesh satheeshjilakoti@pronteff.com
Subject: Add custom attribute in Analytics
Hi Chris
I am reaching out regarding the modification of the response body in our analytics platform. I have reviewed the documentation, which indicates that direct modification of the response body is not supported. Instead, it suggests that we can add custom data fields to the response.However, I have successfully modified the request body and would like to explore how I can proceed further with modifying the response body. Could you please provide guidance or any potential workarounds that might be available?
Thank you for your assistance. I look forward to your response.
Regards,
Satheesh Jilakoti
------------------------------
satheesh satheeshjilakoti@pronteff.com
Original Message:
Sent: Thu May 11, 2023 03:05 AM
From: Chris Dudley
Subject: Add custom attribute in Analytics
I am afraid support for APIC v2018 has now ended. I strongly advise you to upgrade to APIC 10.0.5 immediately.
Adding custom data to analytics is possible in 10.0.5 but that process will not work in v2018.
------------------------------
Chris Dudley
Original Message:
Sent: Wed May 10, 2023 04:23 PM
From: Sam IBMer
Subject: Add custom attribute in Analytics
I am using custom security. I send request in API Connect to backend server. I want to hide cookie and authorization from response.
First, not sure the response header includes all values from request header, which is security breach. So i had to add javascript to explicitly remove header values for authorization andx-api-key.
Second, i woul like add backend server name in analytics, to help in troubleshooting, but not include server name in response header. Is that feasible
I am using 2018
------------------------------
Sam IBMer
------------------------------