POST api/Payment/CancelSubscription
Request Information
URI Parameters
None.
Body Parameters
SubscriptionCancelModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustID | integer |
None. |
|
| CourseID | integer |
None. |
|
| CustomerPackageID | integer |
None. |
|
| CustomerCourseID | integer |
None. |
|
| CancelType | integer |
None. |
|
| Status | integer |
None. |
|
| Gateway | string |
None. |
|
| ProfileID | string |
None. |
|
| SubscriptionID | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| EmailID | string |
None. |
|
| Statusmsg | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustID": 1,
"CourseID": 2,
"CustomerPackageID": 3,
"CustomerCourseID": 4,
"CancelType": 5,
"Status": 6,
"Gateway": "sample string 7",
"ProfileID": "sample string 8",
"SubscriptionID": "sample string 9",
"FirstName": "sample string 10",
"LastName": "sample string 11",
"EmailID": "sample string 12",
"Statusmsg": "sample string 13"
}
application/xml, text/xml
Sample:
<SubscriptionCancelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models"> <CancelType>5</CancelType> <CourseID>2</CourseID> <CustID>1</CustID> <CustomerCourseID>4</CustomerCourseID> <CustomerPackageID>3</CustomerPackageID> <EmailID>sample string 12</EmailID> <FirstName>sample string 10</FirstName> <Gateway>sample string 7</Gateway> <LastName>sample string 11</LastName> <ProfileID>sample string 8</ProfileID> <Status>6</Status> <Statusmsg>sample string 13</Statusmsg> <SubscriptionID>sample string 9</SubscriptionID> </SubscriptionCancelModel>
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. |