POST api/cancel
Request Information
URI Parameters
None.
Body Parameters
ChurnSubscriptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
None. |
|
| spAccountID | integer |
None. |
|
| ProductID | string |
None. |
|
| ProductName | string |
None. |
|
| RevenueType | string |
None. |
|
| CurrencyCode | string |
None. |
|
| Price | decimal number |
None. |
|
| PaymentGateway | string |
None. |
|
| CancellationDate | integer |
None. |
|
| FailureReason | string |
None. |
|
| Action | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"spAccountID": 2,
"ProductID": "sample string 3",
"ProductName": "sample string 4",
"RevenueType": "sample string 5",
"CurrencyCode": "sample string 6",
"Price": 1.1,
"PaymentGateway": "sample string 7",
"CancellationDate": 8,
"FailureReason": "sample string 9",
"Action": "sample string 10"
}
application/xml, text/xml
Sample:
<ChurnSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvergentInterface.Core.ApiClasses"> <Action>sample string 10</Action> <CancellationDate>8</CancellationDate> <CurrencyCode>sample string 6</CurrencyCode> <FailureReason>sample string 9</FailureReason> <PaymentGateway>sample string 7</PaymentGateway> <Price>1.1</Price> <ProductID>sample string 3</ProductID> <ProductName>sample string 4</ProductName> <RevenueType>sample string 5</RevenueType> <UserID>sample string 1</UserID> <spAccountID>2</spAccountID> </ChurnSubscriptionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |