POST api/Student/CancelSubscription
Request Information
URI Parameters
None.
Body Parameters
UserPlan| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordNo | integer |
None. |
|
| PlanFK | integer |
None. |
|
| Plan | Plan |
None. |
|
| AspNetUsersFK | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| TransactionId | string |
None. |
|
| Status | string |
None. |
|
| Currency | string |
None. |
|
| ProductName | string |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Address | string |
None. |
|
| Amount | decimal number |
None. |
|
| MerchantId | string |
None. |
|
| OrderNo | integer |
None. |
|
| SubscriptionID | string |
None. |
|
| Reason | string |
None. |
|
| ReasonDescription | string |
None. |
|
| Feedback | string |
None. |
|
| CancelledOn | date |
None. |
|
| IsCancelled | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| UpdatedOn | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| MockTypeFK | integer |
None. |
|
| MockTestFK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RecordNo": 1,
"PlanFK": 2,
"Plan": {
"RecordNo": 1,
"PlanName": "sample string 2",
"Cost": 3.0,
"Period": 4,
"Description": "sample string 5",
"Discount": 6.0,
"QtrDiscount": 1.0,
"MarkerFees": 7.0,
"LeadMarkerFees": 8.0,
"SortOrder": 9,
"CreatedOn": "2025-10-29T02:35:23.2560036+00:00",
"UpdatedOn": "2025-10-29T02:35:23.2560036+00:00",
"IsDeleted": true
},
"AspNetUsersFK": 3,
"StartDate": "2025-10-29T02:35:23.2560036+00:00",
"EndDate": "2025-10-29T02:35:23.2560036+00:00",
"TransactionId": "sample string 4",
"Status": "sample string 5",
"Currency": "sample string 6",
"ProductName": "sample string 7",
"Name": "sample string 8",
"Email": "sample string 9",
"Address": "sample string 10",
"Amount": 11.0,
"MerchantId": "sample string 12",
"OrderNo": 13,
"SubscriptionID": "sample string 14",
"Reason": "sample string 15",
"ReasonDescription": "sample string 16",
"Feedback": "sample string 17",
"CancelledOn": "2025-10-29T02:35:23.2560036+00:00",
"IsCancelled": true,
"CreatedOn": "2025-10-29T02:35:23.2560036+00:00",
"UpdatedOn": "2025-10-29T02:35:23.2560036+00:00",
"IsDeleted": true,
"MockTypeFK": 21,
"MockTestFK": 22
}
application/xml, text/xml
Sample:
<UserPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
<Address>sample string 10</Address>
<Amount>11</Amount>
<AspNetUsersFK>3</AspNetUsersFK>
<CancelledOn>2025-10-29T02:35:23.2560036+00:00</CancelledOn>
<CreatedOn>2025-10-29T02:35:23.2560036+00:00</CreatedOn>
<Currency>sample string 6</Currency>
<Email>sample string 9</Email>
<EndDate>2025-10-29T02:35:23.2560036+00:00</EndDate>
<Feedback>sample string 17</Feedback>
<IsCancelled>true</IsCancelled>
<IsDeleted>true</IsDeleted>
<MerchantId>sample string 12</MerchantId>
<MockTestFK>22</MockTestFK>
<MockTypeFK>21</MockTypeFK>
<Name>sample string 8</Name>
<OrderNo>13</OrderNo>
<Plan>
<Cost>3</Cost>
<CreatedOn>2025-10-29T02:35:23.2560036+00:00</CreatedOn>
<Description>sample string 5</Description>
<Discount>6</Discount>
<IsDeleted>true</IsDeleted>
<LeadMarkerFees>8</LeadMarkerFees>
<MarkerFees>7</MarkerFees>
<Period>4</Period>
<PlanName>sample string 2</PlanName>
<QtrDiscount>1</QtrDiscount>
<RecordNo>1</RecordNo>
<SortOrder>9</SortOrder>
<UpdatedOn>2025-10-29T02:35:23.2560036+00:00</UpdatedOn>
</Plan>
<PlanFK>2</PlanFK>
<ProductName>sample string 7</ProductName>
<Reason>sample string 15</Reason>
<ReasonDescription>sample string 16</ReasonDescription>
<RecordNo>1</RecordNo>
<StartDate>2025-10-29T02:35:23.2560036+00:00</StartDate>
<Status>sample string 5</Status>
<SubscriptionID>sample string 14</SubscriptionID>
<TransactionId>sample string 4</TransactionId>
<UpdatedOn>2025-10-29T02:35:23.2560036+00:00</UpdatedOn>
</UserPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.