POST api/PaymentHistory/AddPaymentHistory

Request Information

URI Parameters

None.

Body Parameters

PaymentHistory
NameDescriptionTypeAdditional information
Id

integer

None.

Teacher_Id

integer

None.

Amount

string

None.

MonthYear

string

None.

Status

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Teacher_Id": 2,
  "Amount": "sample string 3",
  "MonthYear": "sample string 4",
  "Status": "sample string 5",
  "CreatedBy": "sample string 6",
  "CreatedDate": "2024-12-01T09:23:07.9202167+05:30",
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "2024-12-01T09:23:07.9202167+05:30"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Teacher_Id":2,"Amount":"sample string 3","MonthYear":"sample string 4","Status":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:23:07.9202167+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:23:07.9202167+05:30"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.