POST api/DeleteSubscription

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSubscription
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubscriptionID": 1,
  "StudentID": 2,
  "CourseID": 3,
  "StartDate": "sample string 4",
  "EndDate": "sample string 5",
  "SubscriptionAmount": 6.0,
  "SubscriptionStatus": true,
  "CreatedByUserID": 8,
  "CreatedOnDate": "sample string 9",
  "IsActive": true,
  "Remark": "sample string 11",
  "RazorPayPaymentID": "sample string 12",
  "RazorPayOrderID": "sample string 13",
  "RazorPaySignature": "sample string 14"
}

text/html

Sample:
{"SubscriptionID":1,"StudentID":2,"CourseID":3,"StartDate":"sample string 4","EndDate":"sample string 5","SubscriptionAmount":6.0,"SubscriptionStatus":true,"CreatedByUserID":8,"CreatedOnDate":"sample string 9","IsActive":true,"Remark":"sample string 11","RazorPayPaymentID":"sample string 12","RazorPayOrderID":"sample string 13","RazorPaySignature":"sample string 14"}

application/xml, text/xml

Sample:
<SubscriptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Subscription">
  <CourseID>3</CourseID>
  <CreatedByUserID>8</CreatedByUserID>
  <CreatedOnDate>sample string 9</CreatedOnDate>
  <EndDate>sample string 5</EndDate>
  <IsActive>true</IsActive>
  <RazorPayOrderID>sample string 13</RazorPayOrderID>
  <RazorPayPaymentID>sample string 12</RazorPayPaymentID>
  <RazorPaySignature>sample string 14</RazorPaySignature>
  <Remark>sample string 11</Remark>
  <StartDate>sample string 4</StartDate>
  <StudentID>2</StudentID>
  <SubscriptionAmount>6</SubscriptionAmount>
  <SubscriptionID>1</SubscriptionID>
  <SubscriptionStatus>true</SubscriptionStatus>
</SubscriptionViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubscriptionViewModel'.