Requesting a record with .NET

Requesting a record with the generated token Sample:
var client = new RestClient("https://epsserviceapi.azurewebsites.net/api/V1/ACH/GetTransaction?transId=1");
var request = new RestRequest(Method.GET);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("authorization", "bearer {token}");
request.AddHeader("content-type", "application/json");
IRestResponse response = client.Execute(request);

The request will return a json object in the response

{
  "TransId": 1,
  "Routing": "123456789",
  "Account": "784512369852",
  "Memo": "sample memo",
  "CheckNum": "1001",
  "Amount": 5,
  "ClientId": "Id from CRM",
  "DepositDate": "2016-12-24T00:00:00",
  "Status": "PENDING",
  "ErrorException": null
}

Submitting a record with .NET

Submitting a record with the generated token Sample:
var client = new RestClient("https://epsserviceapi.azurewebsites.net/api/V1/ACH/SubmitTransaction");
var request = new RestRequest(Method.POST);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("authorization", "bearer {access_token}");
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{json object}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
    
The request will return a json object in the response

{
  "TransId": 1,
  "Routing": "123456789",
  "Account": "784512369852",
  "Memo": "sample memo",
  "CheckNum": "1001",
  "Amount": 5,
  "ClientId": "Id from CRM",
  "DepositDate": "2016-12-24T00:00:00",
  "Status": "PENDING",
  "ErrorException": null
}

Requesting all records with .NET

Requesting all records with the generated token Sample:
var client = new RestClient("https://epsserviceapi.azurewebsites.net/api/V1/ACH/GetAllTransactions");
var request = new RestRequest(Method.GET);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("authorization", "bearer {access_token}");
request.AddHeader("content-type", "application/json");
IRestResponse response = client.Execute(request);
    
The request will return a list of check transactions

    
    
{ "TransactionList": [ { "TransId": 10, "Routing": "123456789", "Account": "784512369852", "Memo": "API Transaction", "CheckNum": "1000", "Amount": 0, "ClientId": "", "DepositDate": "2017-01-26T19:11:56.357", "Status": "PENDING" }, { "TransId": 11, "Routing": "123456789", "Account": "784512369852", "Memo": "API Transaction", "CheckNum": "1001", "Amount": 35, "ClientId": "", "DepositDate": "2017-01-26T19:20:09.39", "Status": "PENDING" }, { "TransId": 12, "Routing": "123", "Account": "1234", "Memo": "API Transaction", "CheckNum": "1000", "Amount": 25, "ClientId": "", "DepositDate": "2017-01-27T05:55:27.667", "Status": "PENDING" }, { "TransId": 13, "Routing": "112000066", "Account": "12121", "Memo": "API Transaction", "CheckNum": "1000", "Amount": 25, "ClientId": "", "DepositDate": "2017-01-27T05:58:12.967", "Status": "PENDING" }, { "TransId": 14, "Routing": "112000066", "Account": "12121", "Memo": "API Transaction", "CheckNum": "1001", "Amount": 5.7, "ClientId": "", "DepositDate": "2017-01-27T10:07:38.257", "Status": "PENDING" }, { "TransId": 15, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "100", "Amount": 35, "ClientId": "123456", "DepositDate": "2017-01-27T00:00:00", "Status": "PENDING" }, { "TransId": 17, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "1001", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-30T00:00:00", "Status": "PENDING" }, { "TransId": 18, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "1001", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-30T00:00:00", "Status": "PENDING" }, { "TransId": 19, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "1001", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-30T00:00:00", "Status": "PENDING" }, { "TransId": 20, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "1001", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-30T00:00:00", "Status": "PENDING" }, { "TransId": 21, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "1001", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-30T00:00:00", "Status": "PENDING" }, { "TransId": 23, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T08:52:02.117", "Status": "PENDING" }, { "TransId": 24, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T08:52:02.117", "Status": "PENDING" }, { "TransId": 25, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T08:52:02.117", "Status": "PENDING" }, { "TransId": 26, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T08:52:02.117", "Status": "PENDING" }, { "TransId": 27, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T08:52:02.117", "Status": "PENDING" }, { "TransId": 28, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T12:47:11.67", "Status": "PENDING" }, { "TransId": 29, "Routing": "123456789", "Account": "12343", "Memo": null, "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T12:51:39.08", "Status": "PENDING" }, { "TransId": 30, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T13:11:31.987", "Status": "PENDING" }, { "TransId": 31, "Routing": "122222", "Account": "1234", "Memo": "123", "CheckNum": "123123", "Amount": 2, "ClientId": "23", "DepositDate": "2017-01-31T13:13:17.8", "Status": "PENDING" }, { "TransId": 32, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System", "CheckNum": "100", "Amount": 35, "ClientId": "123456", "DepositDate": "2017-01-27T00:00:00", "Status": "PENDING" }, { "TransId": 33, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T13:58:17.627", "Status": "PENDING" }, { "TransId": 34, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T13:58:17.42", "Status": "PENDING" }, { "TransId": 35, "Routing": "123456789", "Account": "12343", "Memo": "123", "CheckNum": "1234", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T14:10:52.373", "Status": "PENDING" }, { "TransId": 36, "Routing": "123456789", "Account": "784512369852", "Memo": "Blakes Check System-1", "CheckNum": "100", "Amount": 5, "ClientId": "123456", "DepositDate": "2017-01-31T00:00:00", "Status": "PENDING" } ], "ErrorException": null }

Requesting records using paging with .NET

Requesting records using paging the generated token Sample:
var client = new RestClient("https://epsserviceapi.azurewebsites.net/api/V1/ACH/GetPagedCheckTransactionList?pagesize=3&pagenum=1");
var request = new RestRequest(Method.GET);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("authorization", "bearer {access_token}");
request.AddHeader("content-type", "application/json");
IRestResponse response = client.Execute(request);

The request will return a json object in the response

    
    
{ "TransactionList": [ { "TransId": 10, "Routing": "123456789", "Account": "784512369852", "Memo": "API Transaction", "CheckNum": "1000", "Amount": 0, "ClientId": "", "DepositDate": "2017-01-26T19:11:56.357", "Status": "PENDING" }, { "TransId": 11, "Routing": "123456789", "Account": "784512369852", "Memo": "API Transaction", "CheckNum": "1001", "Amount": 35, "ClientId": "", "DepositDate": "2017-01-26T19:20:09.39", "Status": "PENDING" }, { "TransId": 12, "Routing": "123", "Account": "1234", "Memo": "API Transaction", "CheckNum": "1000", "Amount": 25, "ClientId": "", "DepositDate": "2017-01-27T05:55:27.667", "Status": "PENDING" } ], "ErrorException": null }

Requesting a record using HTTP

Requesting a record with the generated token Sample:
GET /api/V1/ACH/GetTransaction?transId=27 HTTP/1.1
Host: epsserviceapi.azurewebsites.net
Content-Type: application/json
Authorization: bearer {access_token}
Cache-Control: no-cache

The request will return a json object in the response

{
  "TransId": 27,
  "Routing": "123456789",
  "Account": "12343",
  "Memo": "123",
  "CheckNum": "1234",
  "Amount": 5,
  "ClientId": "123456",
  "DepositDate": "2017-01-31T08:52:02.117",
  "Status": "PENDING",
  "ErrorException": null
}