07-19-2023 12:49 AM
Hi,
We are using the .NET SDK for the eBay Trading API. I would like to know if there is a way to get the response headers after executing the call.
I tried searching online and also investigated if there is any variable in either the ApiResponse object but couldn't find the response headers (specifically the rlogId)
Could you please let me know if it is possible using the .NET SDK or would I need to use the REST API?
08-16-2023 10:07 AM
Hi @mcm
The SDK provides the ability to log your application's SDK activities and the type of information logged depends on how you initialize the logger object. For example, you can set the logger to log informational messages, exceptions, and/or the payload of the API call requests and responses. For debugging purposes, you would log all three of those message types.
For more details, please have a look on eBay .NET SDK Guide and Knowledgebase Article "Logging API Calls with .NET SDK"