Registrar Web Services

<back to all web services

R_Transactions

Requires Authentication
Required role:Admin
The following routes are available for this service:
GET,OPTIONS/R_AccountHolders/{AccountHolderId}/R_Transactions
GET,OPTIONS/R_Accounts/{AccountId}/R_Transactions
GET,OPTIONS/R_Transactions
GET,OPTIONS/R_Transactions/{Ids}
GET,OPTIONS/R_Transactions/TransactionStatusIds/{TransactionStatusIds}
GET,OPTIONS/R_Subscriptions/{SubscriptionId}/R_Transactions
GET,OPTIONS/R_AccountHolders/Email/{Email}/R_Transactions
GET,OPTIONS/R_AccountHolders/UnitId/{UnitId}/R_Transactions
GET,OPTIONS/R_AccountHolders/Lastname/{Lastname}/R_Transactions
R_Transactions Parameters:
NameParameterData TypeRequiredDescription
IdspathList<long>No
AccountHolderIdpathlong?No
AccountIdpathlong?No
SubscriptionIdpathlong?No
EmailpathstringNo
UnitIdpathstringNo
LastnamepathstringNo
SubscriptionIdsqueryIEnumerable<long>No
TransactionStatusIdspathList<long>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/R_Transactions HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: application/json
Content-Length: length

{"Ids":[0],"AccountHolderId":0,"AccountId":0,"SubscriptionId":0,"Email":"String","UnitId":"String","Lastname":"String","TransactionStatusIds":[0]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"SubscriptionId":0,"GatewayTransactionId":"String","TransactionTypeId":0,"TransactionStatusId":0,"Amount":0,"Card":"String","CurrencyId":0,"CreateDate":"\/Date(-62135596800000-0000)\/","InvoiceId":0,"GatewayResponse":"String","TransactionNotificationStatusId":0,"SettlementDate":"\/Date(-62135596800000-0000)\/","RelatedTransactionId":0,"RelatedGatewayTransactionId":"String","Id":0}]