POST api/Plan/ProcessUpgradeDowngradeRequest
Request Information
URI Parameters
None.
Body Parameters
UpgradeDowngradeRequestViewModelName | Description | Type | Additional information |
---|---|---|---|
PlanId | string |
Required |
|
CurrentPlanId | string |
Required |
|
ParentAccountId | string |
Required |
|
UserId | string |
Required |
|
SelectedCreditCount | integer |
None. |
|
SelectedContactCount | integer |
None. |
|
SelectedSubAccountsCount | integer |
None. |
|
SelectedUsersCount | integer |
None. |
|
SubscriptionTerm | SubscriptionTerm |
None. |
|
IsUpgradePlan | boolean |
None. |
|
IsAddOnRequest | boolean |
None. |
|
CreditCardToken | string |
None. |
|
BillingInfo | BillingInfoVM |
None. |
|
NewPromoCodeId | string |
None. |
|
Incentives | Collection of PlanChangePromoDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "PlanId": "sample string 1", "CurrentPlanId": "sample string 2", "ParentAccountId": "sample string 3", "UserId": "sample string 4", "SelectedCreditCount": 5, "SelectedContactCount": 6, "SelectedSubAccountsCount": 7, "SelectedUsersCount": 8, "SubscriptionTerm": "Monthly", "IsUpgradePlan": true, "IsAddOnRequest": true, "CreditCardToken": "sample string 11", "BillingInfo": { "BillingAddressType": "SameAsAccountAddress", "CustomerId": "sample string 1", "PaymentGateway": "Stripe", "FirstName": "sample string 2", "LastName": "sample string 3", "Mobile": "sample string 4", "Email": "sample string 5", "Street1": "sample string 6", "Street2": "sample string 7", "City": "sample string 8", "State": "sample string 9", "IsActive": true, "CardNumber": "sample string 11", "CardCVV": "sample string 12", "CardExpiryMonth": 13, "CardExpiryYear": 14, "CardHolderName": "sample string 15", "Address1": "sample string 16", "Address2": "sample string 17", "Country": "sample string 18", "ZipCode": "sample string 19", "CountryId": "sample string 20", "StateId": "sample string 21", "Id": "sample string 22", "CreatedDate": "2024-11-21T08:43:09.5910562+00:00", "UpdatedDate": "2024-11-21T08:43:09.5910562+00:00", "CreatedBy": "sample string 25", "UpdatedBy": "sample string 26", "CreatedByUserId": "sample string 27", "UpdatedByUserId": "sample string 28", "IsDeleted": true }, "NewPromoCodeId": "sample string 12", "Incentives": [ { "IncentiveId": "sample string 1", "Type": "DiscountPrice" }, { "IncentiveId": "sample string 1", "Type": "DiscountPrice" } ] }
application/xml, text/xml
Sample:
<UpgradeDowngradeRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.PlanAndFeatures"> <BillingInfo> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 25</CreatedBy> <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 27</CreatedByUserId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:43:09.5910562+00:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 22</Id> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 26</UpdatedBy> <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 28</UpdatedByUserId> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:43:09.5910562+00:00</UpdatedDate> <Address1 xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 16</Address1> <Address2 xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 17</Address2> <CardCVV xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 12</CardCVV> <CardExpiryMonth xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">13</CardExpiryMonth> <CardExpiryYear xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">14</CardExpiryYear> <CardHolderName xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 15</CardHolderName> <CardNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 11</CardNumber> <City xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 8</City> <Country xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 18</Country> <CountryId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 20</CountryId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 1</CustomerId> <Email xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 5</Email> <FirstName xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 2</FirstName> <IsActive xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">true</IsActive> <LastName xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 3</LastName> <Mobile xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 4</Mobile> <PaymentGateway xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">Stripe</PaymentGateway> <State xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 9</State> <StateId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 21</StateId> <Street1 xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 6</Street1> <Street2 xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 7</Street2> <ZipCode xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">sample string 19</ZipCode> <BillingAddressType>SameAsAccountAddress</BillingAddressType> </BillingInfo> <CreditCardToken>sample string 11</CreditCardToken> <CurrentPlanId>sample string 2</CurrentPlanId> <Incentives> <PlanChangePromoDetails> <IncentiveId>sample string 1</IncentiveId> <Type>DiscountPrice</Type> </PlanChangePromoDetails> <PlanChangePromoDetails> <IncentiveId>sample string 1</IncentiveId> <Type>DiscountPrice</Type> </PlanChangePromoDetails> </Incentives> <IsAddOnRequest>true</IsAddOnRequest> <IsUpgradePlan>true</IsUpgradePlan> <NewPromoCodeId>sample string 12</NewPromoCodeId> <ParentAccountId>sample string 3</ParentAccountId> <PlanId>sample string 1</PlanId> <SelectedContactCount>6</SelectedContactCount> <SelectedCreditCount>5</SelectedCreditCount> <SelectedSubAccountsCount>7</SelectedSubAccountsCount> <SelectedUsersCount>8</SelectedUsersCount> <SubscriptionTerm>Monthly</SubscriptionTerm> <UserId>sample string 4</UserId> </UpgradeDowngradeRequestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.