GET api/Membership/GetProspectiveMembershipDiscountBreakdown?userId={userId}&productId={productId}&memberDefinedDiscount={memberDefinedDiscount}&adminDefinedDiscount={adminDefinedDiscount}&spouseMemberNumber={spouseMemberNumber}&discountCode={discountCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
|
productId | string |
Required |
|
memberDefinedDiscount | string |
Default value is |
|
adminDefinedDiscount | string |
Default value is |
|
spouseMemberNumber | string |
Default value is |
|
discountCode | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of KeyValuePairResponseModelName | Description | Type | Additional information |
---|---|---|---|
Key | string |
None. |
|
Value | string |
None. |
|
FieldType | string |
None. |
|
Label | string |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Key": "sample string 1", "Value": "sample string 2", "FieldType": "sample string 3", "Label": "sample string 4", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }, { "Key": "sample string 1", "Value": "sample string 2", "FieldType": "sample string 3", "Label": "sample string 4", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } } ]
application/xml, text/xml
Sample:
<ArrayOfKeyValuePairResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <KeyValuePairResponseModel> <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> <FieldType>sample string 3</FieldType> <Key>sample string 1</Key> <Label>sample string 4</Label> <Value>sample string 2</Value> </KeyValuePairResponseModel> <KeyValuePairResponseModel> <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> <FieldType>sample string 3</FieldType> <Key>sample string 1</Key> <Label>sample string 4</Label> <Value>sample string 2</Value> </KeyValuePairResponseModel> </ArrayOfKeyValuePairResponseModel>