POST api/Payment/CancelSubscription
Request Information
URI Parameters
None.
Body Parameters
CancelSubscriptionRequestVMName | Description | Type | Additional information |
---|---|---|---|
AdminUserId | string |
Required |
|
SubscriptionId | string |
Required |
|
ParentAccountId | string |
Required |
|
CancellationReason | CancellationSubscriptionReason |
Required |
|
CancellationType | CancelSubscriptionType |
Required |
Request Formats
application/json, text/json
Sample:
{ "AdminUserId": "sample string 1", "SubscriptionId": "sample string 2", "ParentAccountId": "sample string 3", "CancellationReason": "None", "CancellationType": 1 }
application/xml, text/xml
Sample:
<CancelSubscriptionRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.BillingAndPaymentRequestViewModels"> <AdminUserId>sample string 1</AdminUserId> <CancellationReason>None</CancellationReason> <CancellationType>Immediately</CancellationType> <ParentAccountId>sample string 3</ParentAccountId> <SubscriptionId>sample string 2</SubscriptionId> </CancelSubscriptionRequestVM>
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.