cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Response headers in .NET SDK

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?

Message 1 of 2
latest reply
1 REPLY 1

Response headers in .NET SDK

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"

Best Regards,
eBay Developer Support
Message 2 of 2
latest reply