Registrar Web Services

<back to all web services

R_StaleUnits

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
GET,OPTIONS/R_StaleUnits
GET,OPTIONS/R_StaleUnits/{StaleByDate}
GET,OPTIONS/R_StaleUnits/{StaleByDate}/{ProductId}
R_StaleUnits Parameters:
NameParameterData TypeRequiredDescription
ProductIdpathlong?No
StaleByDatepathlongNo

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_StaleUnits HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: application/xml
Content-Length: length

<R_StaleUnits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views">
  <ProductId>0</ProductId>
  <StaleByDate>0</StaleByDate>
</R_StaleUnits>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfR_StaleUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views">
  <R_StaleUnit>
    <BrandName>String</BrandName>
    <CellDeviceId>String</CellDeviceId>
    <CellularDeviceStateId>0</CellularDeviceStateId>
    <CellularServiceCreateDateTime>0001-01-01T00:00:00</CellularServiceCreateDateTime>
    <CellularServiceLastUpdateDateTime>0001-01-01T00:00:00</CellularServiceLastUpdateDateTime>
    <DeviceSerialNumber>String</DeviceSerialNumber>
    <PhoneNumber>String</PhoneNumber>
    <ProfileId>0</ProfileId>
    <Registration xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
      <d3p1:AccountId>0</d3p1:AccountId>
      <d3p1:BrandId>0</d3p1:BrandId>
      <d3p1:BrandName>String</d3p1:BrandName>
      <d3p1:BundleName>String</d3p1:BundleName>
      <d3p1:CellularService>
        <d3p1:BrandName>String</d3p1:BrandName>
        <d3p1:CellDeviceId>String</d3p1:CellDeviceId>
        <d3p1:CellularDeviceStateId>0</d3p1:CellularDeviceStateId>
        <d3p1:ContactEmail>String</d3p1:ContactEmail>
        <d3p1:CreateDateTime>0001-01-01T00:00:00</d3p1:CreateDateTime>
        <d3p1:DeviceSerialNumber>String</d3p1:DeviceSerialNumber>
        <d3p1:Id>0</d3p1:Id>
        <d3p1:LastUpdatDateTime>0001-01-01T00:00:00</d3p1:LastUpdatDateTime>
        <d3p1:PhoneNumber>String</d3p1:PhoneNumber>
        <d3p1:ProductName>String</d3p1:ProductName>
        <d3p1:ProfileId>0</d3p1:ProfileId>
        <d3p1:RegistrationId>0</d3p1:RegistrationId>
        <d3p1:TotalNumberOfRecords>0</d3p1:TotalNumberOfRecords>
        <d3p1:UnitId>String</d3p1:UnitId>
      </d3p1:CellularService>
      <d3p1:CellularServiceId>0</d3p1:CellularServiceId>
      <d3p1:CreationDateTime>0001-01-01T00:00:00</d3p1:CreationDateTime>
      <d3p1:EligibleBundleId>0</d3p1:EligibleBundleId>
      <d3p1:Id>0</d3p1:Id>
      <d3p1:MerchantId>String</d3p1:MerchantId>
      <d3p1:PlanId>0</d3p1:PlanId>
      <d3p1:PlanName>String</d3p1:PlanName>
      <d3p1:ProductId>0</d3p1:ProductId>
      <d3p1:ProductName>String</d3p1:ProductName>
      <d3p1:RegistrationStatus>0</d3p1:RegistrationStatus>
      <d3p1:ResellerId>0</d3p1:ResellerId>
      <d3p1:ResellerName>String</d3p1:ResellerName>
      <d3p1:Subscription>
        <d3p1:AccountHolderId>0</d3p1:AccountHolderId>
        <d3p1:BillingInterval>0</d3p1:BillingInterval>
        <d3p1:BillingIntervalTimeUnitId>0</d3p1:BillingIntervalTimeUnitId>
        <d3p1:BrandId>0</d3p1:BrandId>
        <d3p1:CurrentBillDate>0001-01-01T00:00:00</d3p1:CurrentBillDate>
        <d3p1:Id>0</d3p1:Id>
        <d3p1:NextBillDate>0001-01-01T00:00:00</d3p1:NextBillDate>
        <d3p1:NumberOfOccurrences>0</d3p1:NumberOfOccurrences>
        <d3p1:PaidUntil>0001-01-01T00:00:00</d3p1:PaidUntil>
        <d3p1:PreviousBillDate>0001-01-01T00:00:00</d3p1:PreviousBillDate>
        <d3p1:RegistrationId>0</d3p1:RegistrationId>
        <d3p1:StartDate>0001-01-01T00:00:00</d3p1:StartDate>
        <d3p1:SubscriptionBillingStatusId>0</d3p1:SubscriptionBillingStatusId>
        <d3p1:SubscriptionStatusTypeId>0</d3p1:SubscriptionStatusTypeId>
        <d3p1:TrialBillingInterval>0</d3p1:TrialBillingInterval>
        <d3p1:TrialBillingIntervalTimeUnitId>0</d3p1:TrialBillingIntervalTimeUnitId>
        <d3p1:TrialOccurrences>0</d3p1:TrialOccurrences>
        <d3p1:UnitId>String</d3p1:UnitId>
      </d3p1:Subscription>
      <d3p1:SubscriptionId>0</d3p1:SubscriptionId>
      <d3p1:TotalNumberOfRecords>0</d3p1:TotalNumberOfRecords>
      <d3p1:UnitId>String</d3p1:UnitId>
    </Registration>
    <ResellerName>String</ResellerName>
  </R_StaleUnit>
</ArrayOfR_StaleUnit>