I'm trying to access /history/transactions v2 via API, in order to retrieve accurate entry and exit times (not supported in v1).
I'm writing in C#, based on the API samples, but they only seem to support v1, and not the v2 documented in the Reference guide.
Anyone know how to amend the v1 code to make it support v2 ... the call in sample code is
public async Task<IgResponse<TransactionHistoryResponse>> lastTransactionPeriod(string transactionType, string lastPeriod)
{
return await _igRestService.RestfulService<TransactionHistoryResponse>("/gateway/deal/history/transactions/" + transactionType + "/" + lastPeriod, HttpMethod.Get, "1", _conversationContext);
}
.. and yes, I did try just changing the "1" to a "2" ... I get an Error 500.
Any help most gratefully received! This has been driving me crazy!