POST api/VirtualClassPlanType

Request Information

URI Parameters

None.

Body Parameters

VirtualClassPlanType
NameDescriptionTypeAdditional information
RecordNo

integer

None.

VirtualClassPlanTypeName

string

None.

Amount

decimal number

None.

AffilateComm

decimal number

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

ParentFK

integer

None.

Parent

VirtualClassPlanType

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "VirtualClassPlanTypeName": "sample string 2",
  "Amount": 3.0,
  "AffilateComm": 4.0,
  "CreatedOn": "2024-04-29T14:58:37.741984+00:00",
  "UpdatedOn": "2024-04-29T14:58:37.741984+00:00",
  "IsDeleted": true,
  "ParentFK": 1
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'TrishAcademy.Models.VirtualClassPlanType' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'TrishAcademy.Models.VirtualClassPlanType' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.