POST api/Alerts/Update

Request Information

URI Parameters

None.

Body Parameters

AlertsModel
NameDescriptionTypeAdditional information
Id

integer

None.

User_Id

integer

None.

Alert_Type

string

None.

Alert_Date

date

None.

Message

string

None.

Is_Read

boolean

None.

IsActive

boolean

Required

CreatedBy

string

Required

CreatedDate

date

Required

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "User_Id": 2,
  "Alert_Type": "sample string 3",
  "Alert_Date": "2025-12-11T04:31:52.4407919+05:30",
  "Message": "sample string 5",
  "Is_Read": true,
  "IsActive": true,
  "CreatedBy": "sample string 8",
  "CreatedDate": "2025-12-11T04:31:52.4407919+05:30",
  "UpdatedBy": "sample string 10",
  "UpdatedDate": "2025-12-11T04:31:52.4407919+05:30"
}

application/xml, text/xml

Sample:
<AlertsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model">
  <Alert_Date>2025-12-11T04:31:52.4407919+05:30</Alert_Date>
  <Alert_Type>sample string 3</Alert_Type>
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedDate>2025-12-11T04:31:52.4407919+05:30</CreatedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Is_Read>true</Is_Read>
  <Message>sample string 5</Message>
  <UpdatedBy>sample string 10</UpdatedBy>
  <UpdatedDate>2025-12-11T04:31:52.4407919+05:30</UpdatedDate>
  <User_Id>2</User_Id>
</AlertsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.