Registrar Web Services

<back to all web services

R_Subscription

Requires Authentication
Required role:Admin
R_Subscription Parameters:
NameParameterData TypeRequiredDescription
AccountHolderIdbodylongNo
RegistrationIdbodylongNo
UnitIdbodystringNo
SubscriptionStatusTypeIdbodylongNo
BrandIdbodylongNo
StartDatebodyDateTimeNo
PreviousBillDatebodyDateTime?No
CurrentBillDatebodyDateTime?No
NextBillDatebodyDateTime?No
PaidUntilbodyDateTime?No
NumberOfOccurrencesbodyintNo
BillingIntervalbodyintNo
BillingIntervalTimeUnitIdbodylongNo
TrialOccurrencesbodyint?No
TrialBillingIntervalbodyint?No
TrialBillingIntervalTimeUnitIdbodylong?No
SubscriptionBillingStatusIdbodylong?No
IdpathlongNo
R_Subscription Parameters:
NameParameterData TypeRequiredDescription
AccountHolderIdbodylongNo
RegistrationIdbodylongNo
UnitIdbodystringNo
SubscriptionStatusTypeIdbodylongNo
BrandIdbodylongNo
StartDatebodyDateTimeNo
PreviousBillDatebodyDateTime?No
CurrentBillDatebodyDateTime?No
NextBillDatebodyDateTime?No
PaidUntilbodyDateTime?No
NumberOfOccurrencesbodyintNo
BillingIntervalbodyintNo
BillingIntervalTimeUnitIdbodylongNo
TrialOccurrencesbodyint?No
TrialBillingIntervalbodyint?No
TrialBillingIntervalTimeUnitIdbodylong?No
SubscriptionBillingStatusIdbodylong?No
IdpathlongNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: R_Subscription

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<R_Subscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
  <AccountHolderId>0</AccountHolderId>
  <BillingInterval>0</BillingInterval>
  <BillingIntervalTimeUnitId>0</BillingIntervalTimeUnitId>
  <BrandId>0</BrandId>
  <CurrentBillDate>0001-01-01T00:00:00</CurrentBillDate>
  <Id>0</Id>
  <NextBillDate>0001-01-01T00:00:00</NextBillDate>
  <NumberOfOccurrences>0</NumberOfOccurrences>
  <PaidUntil>0001-01-01T00:00:00</PaidUntil>
  <PreviousBillDate>0001-01-01T00:00:00</PreviousBillDate>
  <RegistrationId>0</RegistrationId>
  <StartDate>0001-01-01T00:00:00</StartDate>
  <SubscriptionBillingStatusId>0</SubscriptionBillingStatusId>
  <SubscriptionStatusTypeId>0</SubscriptionStatusTypeId>
  <TrialBillingInterval>0</TrialBillingInterval>
  <TrialBillingIntervalTimeUnitId>0</TrialBillingIntervalTimeUnitId>
  <TrialOccurrences>0</TrialOccurrences>
  <UnitId>String</UnitId>
</R_Subscription>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<R_Subscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
  <AccountHolderId>0</AccountHolderId>
  <BillingInterval>0</BillingInterval>
  <BillingIntervalTimeUnitId>0</BillingIntervalTimeUnitId>
  <BrandId>0</BrandId>
  <CurrentBillDate>0001-01-01T00:00:00</CurrentBillDate>
  <Id>0</Id>
  <NextBillDate>0001-01-01T00:00:00</NextBillDate>
  <NumberOfOccurrences>0</NumberOfOccurrences>
  <PaidUntil>0001-01-01T00:00:00</PaidUntil>
  <PreviousBillDate>0001-01-01T00:00:00</PreviousBillDate>
  <RegistrationId>0</RegistrationId>
  <StartDate>0001-01-01T00:00:00</StartDate>
  <SubscriptionBillingStatusId>0</SubscriptionBillingStatusId>
  <SubscriptionStatusTypeId>0</SubscriptionStatusTypeId>
  <TrialBillingInterval>0</TrialBillingInterval>
  <TrialBillingIntervalTimeUnitId>0</TrialBillingIntervalTimeUnitId>
  <TrialOccurrences>0</TrialOccurrences>
  <UnitId>String</UnitId>
</R_Subscription>

    </soap:Body>
</soap:Envelope>