POST FeesAPI/AddFee

Request Information

URI Parameters

None.

Body Parameters

Fees
NameDescriptionTypeAdditional information
FeeID

integer

None.

CourseDiscount

decimal number

None.

Fee105Mins

decimal number

None.

Fee120Mins

decimal number

None.

Fee150Mins

decimal number

None.

Fee180Mins

decimal number

None.

Fee30Mins

decimal number

None.

Fee45Mins

decimal number

None.

Fee60Mins

decimal number

None.

Fee75Mins

decimal number

None.

Fee90Mins

decimal number

None.

FeePlanID

integer

None.

pkCourseID

integer

None.

CourseName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FeeID": 1,
  "CourseDiscount": 2.0,
  "Fee105Mins": 3.0,
  "Fee120Mins": 4.0,
  "Fee150Mins": 5.0,
  "Fee180Mins": 6.0,
  "Fee30Mins": 7.0,
  "Fee45Mins": 8.0,
  "Fee60Mins": 9.0,
  "Fee75Mins": 10.0,
  "Fee90Mins": 11.0,
  "FeePlanID": 12,
  "pkCourseID": 13,
  "CourseName": "sample string 14"
}

application/xml, text/xml

Sample:
<Fees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <CourseDiscount>2</CourseDiscount>
  <CourseName>sample string 14</CourseName>
  <Fee105Mins>3</Fee105Mins>
  <Fee120Mins>4</Fee120Mins>
  <Fee150Mins>5</Fee150Mins>
  <Fee180Mins>6</Fee180Mins>
  <Fee30Mins>7</Fee30Mins>
  <Fee45Mins>8</Fee45Mins>
  <Fee60Mins>9</Fee60Mins>
  <Fee75Mins>10</Fee75Mins>
  <Fee90Mins>11</Fee90Mins>
  <FeeID>1</FeeID>
  <FeePlanID>12</FeePlanID>
  <pkCourseID>13</pkCourseID>
</Fees>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>