POST api/Integrated/SaveNeedAction

Request Information

URI Parameters

None.

Body Parameters

NeedActionModel
NameDescriptionTypeAdditional information
Id

integer

None.

KindOfCourseId

integer

None.

LevelOfNeedId

integer

None.

Status

integer

None.

TotalScores

decimal number

None.

StudentId

integer

None.

LeadId

integer

None.

IsPriority

boolean

None.

Note

string

None.

CreateDate

date

None.

ModifyDate

date

None.

CreateUserId

integer

None.

ModifyUserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "KindOfCourseId": 1,
  "LevelOfNeedId": 1,
  "Status": 1,
  "TotalScores": 1.1,
  "StudentId": 1,
  "LeadId": 1,
  "IsPriority": true,
  "Note": "sample string 2",
  "CreateDate": "2026-06-14T00:26:21.2281719+07:00",
  "ModifyDate": "2026-06-14T00:26:21.2281719+07:00",
  "CreateUserId": 1,
  "ModifyUserId": 1
}

application/xml, text/xml

Sample:
<NeedActionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <CreateDate>2026-06-14T00:26:21.2281719+07:00</CreateDate>
  <CreateUserId>1</CreateUserId>
  <Id>1</Id>
  <IsPriority>true</IsPriority>
  <KindOfCourseId>1</KindOfCourseId>
  <LeadId>1</LeadId>
  <LevelOfNeedId>1</LevelOfNeedId>
  <ModifyDate>2026-06-14T00:26:21.2281719+07:00</ModifyDate>
  <ModifyUserId>1</ModifyUserId>
  <Note>sample string 2</Note>
  <Status>1</Status>
  <StudentId>1</StudentId>
  <TotalScores>1.1</TotalScores>
</NeedActionModel>

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

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/" />