POST api/Teacher/SaveOrUpdateFeedback

Request Information

URI Parameters

None.

Body Parameters

RequestSaveOrUpdateAttendanceFeedback
NameDescriptionTypeAdditional information
TypeLearn

string

None.

TypeFeedback

string

None.

DateAttendance

date

None.

DivisionId

integer

None.

ClassId

integer

None.

LackedHour

decimal number

None.

ExcessiveHour

decimal number

None.

Issue

string

None.

Note

string

None.

Attachment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeLearn": "sample string 1",
  "TypeFeedback": "sample string 2",
  "DateAttendance": "2026-06-13T22:55:47.7902806+07:00",
  "DivisionId": 4,
  "ClassId": 1,
  "LackedHour": 1.1,
  "ExcessiveHour": 1.1,
  "Issue": "sample string 5",
  "Note": "sample string 6",
  "Attachment": "sample string 7"
}

application/xml, text/xml

Sample:
<TeacherModels.RequestSaveOrUpdateAttendanceFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Api.Models">
  <Attachment>sample string 7</Attachment>
  <ClassId>1</ClassId>
  <DateAttendance>2026-06-13T22:55:47.7902806+07:00</DateAttendance>
  <DivisionId>4</DivisionId>
  <ExcessiveHour>1.1</ExcessiveHour>
  <Issue>sample string 5</Issue>
  <LackedHour>1.1</LackedHour>
  <Note>sample string 6</Note>
  <TypeFeedback>sample string 2</TypeFeedback>
  <TypeLearn>sample string 1</TypeLearn>
</TeacherModels.RequestSaveOrUpdateAttendanceFeedback>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />