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

HTTP + XML

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

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

<R_Transactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Queries">
  <AccountHolderId>0</AccountHolderId>
  <AccountId>0</AccountId>
  <Email>String</Email>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </Ids>
  <Lastname>String</Lastname>
  <SubscriptionId>0</SubscriptionId>
  <SubscriptionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <TransactionStatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </TransactionStatusIds>
  <UnitId>String</UnitId>
</R_Transactions>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfR_Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
  <R_Transaction>
    <Amount>0</Amount>
    <Card>String</Card>
    <CreateDate>0001-01-01T00:00:00</CreateDate>
    <CurrencyId>0</CurrencyId>
    <GatewayResponse>String</GatewayResponse>
    <GatewayTransactionId>String</GatewayTransactionId>
    <Id>0</Id>
    <InvoiceId>0</InvoiceId>
    <RelatedGatewayTransactionId>String</RelatedGatewayTransactionId>
    <RelatedTransactionId>0</RelatedTransactionId>
    <SettlementDate>0001-01-01T00:00:00</SettlementDate>
    <SubscriptionId>0</SubscriptionId>
    <TransactionNotificationStatusId>0</TransactionNotificationStatusId>
    <TransactionStatusId>0</TransactionStatusId>
    <TransactionTypeId>0</TransactionTypeId>
  </R_Transaction>
</ArrayOfR_Transaction>