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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/R_Transactions HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/jsv
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: text/jsv
Content-Length: length

[
	{
		SubscriptionId: 0,
		GatewayTransactionId: String,
		TransactionTypeId: 0,
		TransactionStatusId: 0,
		Amount: 0,
		Card: String,
		CurrencyId: 0,
		CreateDate: 0001-01-01,
		InvoiceId: 0,
		GatewayResponse: String,
		TransactionNotificationStatusId: 0,
		SettlementDate: 0001-01-01,
		RelatedTransactionId: 0,
		RelatedGatewayTransactionId: String,
		Id: 0
	}
]