POST api/HomeWork

Request Information

URI Parameters

None.

Body Parameters

tblHomeWork
NameDescriptionTypeAdditional information
ID

integer

None.

ClassID

string

None.

HDate

date

None.

TeacherID

string

None.

HomeW

string

None.

SYear

string

None.

SubjectID

string

None.

CSection

string

None.

SchoolCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ClassID": "sample string 2",
  "HDate": "2025-12-06T04:34:00.3971272+00:00",
  "TeacherID": "sample string 3",
  "HomeW": "sample string 4",
  "SYear": "sample string 5",
  "SubjectID": "sample string 6",
  "CSection": "sample string 7",
  "SchoolCode": 1
}

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.