GET api/Membership/GetProspectiveMembershipDetails?userId={userId}&productId={productId}&invoiceFrequency={invoiceFrequency}&discountCode={discountCode}&membershipAddonSegmentIds={membershipAddonSegmentIds}&newProductId={newProductId}®istrationDate={registrationDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
Required |
|
| productId | globally unique identifier |
Required |
|
| invoiceFrequency | InvoiceFrequencyTypeEnum |
Default value is Annual |
|
| discountCode | string |
Default value is |
|
| membershipAddonSegmentIds | string |
Default value is |
|
| newProductId | string |
Default value is |
|
| registrationDate | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ProspectiveMembershipResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ProductAmount | decimal number |
None. |
|
| SetupFee | decimal number |
None. |
|
| InstalmentFee | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ProRataAmount | decimal number |
None. |
|
| ApplicationType | string |
None. |
|
| RenewalType | string |
None. |
|
| CurrentSubsOwing | decimal number |
None. |
|
| CurrentSubsRebate | decimal number |
None. |
|
| RebateToBeApplied | decimal number |
None. |
|
| FinalAmountToBePaid | decimal number |
None. |
|
| NextAmountToBePaid | decimal number |
None. |
|
| PriceBreakdown | Collection of PriceResponseModel |
None. |
|
| PaymentPlan | Collection of PaymentPlanResponseModel |
None. |
|
| BaseInstalmentAmountString | string |
None. |
|
| Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProductName": "sample string 1",
"StartDate": "2025-11-02T14:21:52.5162888+11:00",
"EndDate": "2025-11-02T14:21:52.5162888+11:00",
"ProductAmount": 1.0,
"SetupFee": 1.0,
"InstalmentFee": 1.0,
"TotalAmount": 2.0,
"ProRataAmount": 1.0,
"ApplicationType": "sample string 3",
"RenewalType": "sample string 4",
"CurrentSubsOwing": 1.0,
"CurrentSubsRebate": 1.0,
"RebateToBeApplied": 1.0,
"FinalAmountToBePaid": 1.0,
"NextAmountToBePaid": 1.0,
"PriceBreakdown": [
{
"Amount": 1.0,
"FeeType": "sample string 2",
"Id": "sample string 3"
},
{
"Amount": 1.0,
"FeeType": "sample string 2",
"Id": "sample string 3"
}
],
"PaymentPlan": [
{
"Amount": 1.0,
"PaymentDate": "2025-11-02T14:21:52.5172883+11:00"
},
{
"Amount": 1.0,
"PaymentDate": "2025-11-02T14:21:52.5172883+11:00"
}
],
"BaseInstalmentAmountString": "sample string 5",
"Result": {
"Success": true,
"Message": "sample string 2",
"Errors": [
{
"Message": "sample string 1"
},
{
"Message": "sample string 1"
}
]
}
}
application/xml, text/xml
Sample:
<ProspectiveMembershipResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
<Result>
<Errors>
<ErrorMessage>
<Message>sample string 1</Message>
</ErrorMessage>
<ErrorMessage>
<Message>sample string 1</Message>
</ErrorMessage>
</Errors>
<Message>sample string 2</Message>
<Success>true</Success>
</Result>
<ApplicationType>sample string 3</ApplicationType>
<BaseInstalmentAmountString>sample string 5</BaseInstalmentAmountString>
<CurrentSubsOwing>1</CurrentSubsOwing>
<CurrentSubsRebate>1</CurrentSubsRebate>
<EndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-02T03:21:52.5162888Z</d2p1:DateTime>
<d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
</EndDate>
<FinalAmountToBePaid>1</FinalAmountToBePaid>
<InstalmentFee>1</InstalmentFee>
<NextAmountToBePaid>1</NextAmountToBePaid>
<PaymentPlan>
<PaymentPlanResponseModel>
<Amount>1</Amount>
<PaymentDate>2025-11-02T14:21:52.5172883+11:00</PaymentDate>
</PaymentPlanResponseModel>
<PaymentPlanResponseModel>
<Amount>1</Amount>
<PaymentDate>2025-11-02T14:21:52.5172883+11:00</PaymentDate>
</PaymentPlanResponseModel>
</PaymentPlan>
<PriceBreakdown>
<PriceResponseModel>
<Amount>1</Amount>
<FeeType>sample string 2</FeeType>
<Id>sample string 3</Id>
</PriceResponseModel>
<PriceResponseModel>
<Amount>1</Amount>
<FeeType>sample string 2</FeeType>
<Id>sample string 3</Id>
</PriceResponseModel>
</PriceBreakdown>
<ProRataAmount>1</ProRataAmount>
<ProductAmount>1</ProductAmount>
<ProductName>sample string 1</ProductName>
<RebateToBeApplied>1</RebateToBeApplied>
<RenewalType>sample string 4</RenewalType>
<SetupFee>1</SetupFee>
<StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-02T03:21:52.5162888Z</d2p1:DateTime>
<d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
</StartDate>
<TotalAmount>2</TotalAmount>
</ProspectiveMembershipResponseModel>