POST api/OrganizationPlanType

Request Information

URI Parameters

None.

Body Parameters

OrganizationPlanType
NameDescriptionTypeAdditional information
RecordNo

integer

None.

OrganizationPlanName

string

None.

MaxCountStudent

integer

None.

MinCountStudent

integer

None.

Cost

decimal number

None.

ExpireDays

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "OrganizationPlanName": "sample string 2",
  "MaxCountStudent": 3,
  "MinCountStudent": 4,
  "Cost": 5.0,
  "ExpireDays": 6,
  "CreatedOn": "2024-04-26T03:17:58.0905588+00:00",
  "UpdatedOn": "2024-04-26T03:17:58.0905588+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<OrganizationPlanType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <Cost>5</Cost>
  <CreatedOn>2024-04-26T03:17:58.0905588+00:00</CreatedOn>
  <ExpireDays>6</ExpireDays>
  <IsDeleted>true</IsDeleted>
  <MaxCountStudent>3</MaxCountStudent>
  <MinCountStudent>4</MinCountStudent>
  <OrganizationPlanName>sample string 2</OrganizationPlanName>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2024-04-26T03:17:58.0905588+00:00</UpdatedOn>
</OrganizationPlanType>

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 'OrganizationPlanType'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.