GET api/Membership/GetProspectiveMembershipDetails?userId={userId}&productId={productId}&invoiceFrequency={invoiceFrequency}&discountCode={discountCode}&membershipAddonSegmentIds={membershipAddonSegmentIds}
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 |
Body Parameters
None.
Response Information
Resource Description
ProspectiveMembershipResponseModelName | Description | Type | Additional information |
---|---|---|---|
ProductName | string |
None. |
|
ProductDescription | 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", "ProductDescription": "sample string 2", "StartDate": "2024-11-29T09:33:08.1962817+11:00", "EndDate": "2024-11-29T09:33:08.1962817+11:00", "ProductAmount": 1.0, "SetupFee": 1.0, "InstalmentFee": 1.0, "TotalAmount": 3.0, "ProRataAmount": 1.0, "ApplicationType": "sample string 4", "RenewalType": "sample string 5", "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": "2024-11-29T09:33:08.1962817+11:00" }, { "Amount": 1.0, "PaymentDate": "2024-11-29T09:33:08.1962817+11:00" } ], "BaseInstalmentAmountString": "sample string 6", "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 4</ApplicationType> <BaseInstalmentAmountString>sample string 6</BaseInstalmentAmountString> <CurrentSubsOwing>1</CurrentSubsOwing> <CurrentSubsRebate>1</CurrentSubsRebate> <EndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-28T22:33:08.1962817Z</d2p1:DateTime> <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes> </EndDate> <FinalAmountToBePaid>1</FinalAmountToBePaid> <InstalmentFee>1</InstalmentFee> <NextAmountToBePaid>1</NextAmountToBePaid> <PaymentPlan> <PaymentPlanResponseModel> <Amount>1</Amount> <PaymentDate>2024-11-29T09:33:08.1962817+11:00</PaymentDate> </PaymentPlanResponseModel> <PaymentPlanResponseModel> <Amount>1</Amount> <PaymentDate>2024-11-29T09:33:08.1962817+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> <ProductDescription>sample string 2</ProductDescription> <ProductName>sample string 1</ProductName> <RebateToBeApplied>1</RebateToBeApplied> <RenewalType>sample string 5</RenewalType> <SetupFee>1</SetupFee> <StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-28T22:33:08.1962817Z</d2p1:DateTime> <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes> </StartDate> <TotalAmount>3</TotalAmount> </ProspectiveMembershipResponseModel>