Xero documentation says: "Each API response you receive will include the X-DayLimit-Remaining, X-MinLimit-Remaining and X-AppMinLimit-Remaining headers telling you the number of remaining against each limit."
How do I access these limits? When I make a call for a balance sheet for example:
Xero.NetStandard.OAuth2.Model.Accounting.ReportWithRows pal = await apiInstance.GetReportBalanceSheetAsync(accessToken, xeroTenantId, startDate, 1, timeFrame, null, null, true, false).ConfigureAwait(false);
The returned json document does not have any limit information. I Googled that some headers need to be included. Is there a c# code example on how to get those headers?
Thanks.