POST api/Plan
Request Information
URI Parameters
None.
Body Parameters
Plan| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordNo | integer |
None. |
|
| PlanName | string |
None. |
|
| Cost | decimal number |
None. |
|
| Period | integer |
None. |
|
| Description | string |
None. |
|
| Discount | decimal number |
None. |
|
| QtrDiscount | decimal number |
None. |
|
| MarkerFees | decimal number |
None. |
|
| LeadMarkerFees | decimal number |
None. |
|
| SortOrder | integer |
None. |
|
| CreatedOn | date |
None. |
|
| UpdatedOn | date |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"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-11-03T09:21:39.9364624+00:00",
"UpdatedOn": "2025-11-03T09:21:39.9364624+00:00",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<Plan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models"> <Cost>3</Cost> <CreatedOn>2025-11-03T09:21:39.9364624+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-11-03T09:21:39.9364624+00:00</UpdatedOn> </Plan>
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.