Read Customer AR Activities

This call allows you to get the list of Transactions for a specific customer. The list can be filtered to a specific date range using query parameters. The query parameters are optional and passing in no parameters will give you all transactions.

Path Parameters

customerIdIntegerThis is the Customer ID of the customer for whom you want to retrieve the Transactions. This is included in the URI of the request.

This call supports date filtering (Read More)

Parameter NameAcceptable ValuesParameter NameAcceptable Values

This call supports pagination (Read More)
This call supports sorting (Read More)
&sortOrder=Ascending or &sortOrder=Descending

curl -X GET "{customerId}/customerArActivities?query=startDate:2017-01-01T00:00:00.000Z;endDate:2017-01-25T00:00:00.000Z" \
	-H "Content-Type: application/json" \
	-H "Authorization: Basic {APIKey}"
//query parameter
int customerId = {customerId};
string startDate = "2017-01-01T00:00:00.000Z";
string endDate = "2017-01-30T00:00:00.000Z";
//Setup API key
string apiKey = "{APIKey}";
//Configure URI
WebRequest request = WebRequest.Create("HTTPS://" + customerId + "/customerArActivities?query=startDate:"+startDate+";endDate:"+endDate);
//Add Content type
request.ContentType = "application/json";
//Add Api key authorization
request.Headers.Add(HttpRequestHeader.Authorization, "Basic " + apiKey);
//Set request method
request.Method = "GET";
//Perform the request
var httpResponse = (HttpWebResponse)request.GetResponse();
//Record the response from our request
var result = "";
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
  result = streamReader.ReadToEnd();
#Import library Requests
import requests
#Pass in a dictionary to the Headers parameter
headers = {'Authorization' : 'Basic {APIKey}', 'Content-Type' : 'application/json'}
#Pass in your URI and Headers
r = requests.get('{id}/customerArActivities?query=startDate:2017-01-01T00:00:00.000Z;endDate:2017-01-25T00:00:00.000Z', headers=headers)
      "name":"Monthly Charge",
      "manualReference": null,
      "name":"Credit Card (Visa ending in 1111)",

    "ErrorId": 0,
    "HttpStatusCode": 404,
    "Errors": [
            "Key": "Api Error",
            "Value": "Customer with id 123 not found."