POST api/KiddiesPlan

Request Information

URI Parameters

None.

Body Parameters

KiddiesPlan
NameDescriptionTypeAdditional information
RecordNo

integer

None.

Name

string

None.

Description

string

None.

SessionTime

integer

None.

NumberOfClasses

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Amount

decimal number

None.

CurrencyCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "SessionTime": 4,
  "NumberOfClasses": 5,
  "CreatedOn": "2024-12-21T20:27:09.0296166+00:00",
  "UpdatedOn": "2024-12-21T20:27:09.0296166+00:00",
  "IsDeleted": true,
  "Amount": 8.0,
  "CurrencyCode": "sample string 9"
}

application/xml, text/xml

Sample:
<KiddiesPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <Amount>8</Amount>
  <CreatedOn>2024-12-21T20:27:09.0296166+00:00</CreatedOn>
  <CurrencyCode>sample string 9</CurrencyCode>
  <Description>sample string 3</Description>
  <IsDeleted>true</IsDeleted>
  <Name>sample string 2</Name>
  <NumberOfClasses>5</NumberOfClasses>
  <RecordNo>1</RecordNo>
  <SessionTime>4</SessionTime>
  <UpdatedOn>2024-12-21T20:27:09.0296166+00:00</UpdatedOn>
</KiddiesPlan>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.