GET, OPTIONS | /PublicApi/R_Registrations/{RegistrationId}/R_BundleSummaries | ||
---|---|---|---|
GET, OPTIONS | /R_Registrations/{RegistrationId}/R_BundleSummaries | ||
GET, OPTIONS | /R_Accounts/{AccountId}/R_Registrations/{RegistrationId}/R_BundleSummaries | ||
GET, OPTIONS | /PublicApi/R_Accounts/{AccountId}/R_Registrations/{RegistrationId}/R_BundleSummaries |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ids | query | List<long> | No | |
AccountId | path | long? | No | |
RegistrationId | path | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/R_BundleSummaries HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/xml
Content-Length: length
<R_BundleSummaries xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views">
<AccountId>0</AccountId>
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>0</d2p1:long>
</Ids>
<RegistrationId>0</RegistrationId>
</R_BundleSummaries>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfR_BundleSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Views"> <R_BundleSummary> <Bundle xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data"> <d3p1:Description>String</d3p1:Description> <d3p1:Id>0</d3p1:Id> <d3p1:Name>String</d3p1:Name> </Bundle> <Id>0</Id> <Plans xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data"> <d3p1:R_Plan> <d3p1:CurrencyTypeId>0</d3p1:CurrencyTypeId> <d3p1:Description>String</d3p1:Description> <d3p1:Id>0</d3p1:Id> <d3p1:Name>String</d3p1:Name> <d3p1:PlanBillingstructureId>0</d3p1:PlanBillingstructureId> <d3p1:PlanStatus>0</d3p1:PlanStatus> <d3p1:PriceDescription>String</d3p1:PriceDescription> </d3p1:R_Plan> </Plans> <Prices xmlns:d3p1="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data"> <d3p1:R_Price> <d3p1:CurrencyTypeId>0</d3p1:CurrencyTypeId> <d3p1:Description>String</d3p1:Description> <d3p1:Id>0</d3p1:Id> <d3p1:IncludeInRegularBill>false</d3p1:IncludeInRegularBill> <d3p1:IncludeInTrialBill>false</d3p1:IncludeInTrialBill> <d3p1:Interval>0</d3p1:Interval> <d3p1:IntervalTypeId>0</d3p1:IntervalTypeId> <d3p1:PlanId>0</d3p1:PlanId> <d3p1:PriceTypeId>0</d3p1:PriceTypeId> <d3p1:PromoId>0</d3p1:PromoId> <d3p1:Value>0</d3p1:Value> </d3p1:R_Price> </Prices> <ProductName>String</ProductName> </R_BundleSummary> </ArrayOfR_BundleSummary>