POST api/loans/{id}/alertmessage

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AlertMessageSubModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

Message

string

None.

Background

string

None.

FontColor

string

None.

CreatedByUserId

integer

None.

CreatedOn

date

None.

ModifiedByUserId

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "Message": "sample string 2",
  "Background": "sample string 3",
  "FontColor": "sample string 4",
  "CreatedByUserId": 5,
  "CreatedOn": "2025-07-05T07:33:59.8024508+00:00",
  "ModifiedByUserId": 7,
  "ModifiedOn": "2025-07-05T07:33:59.8024508+00:00"
}

application/xml, text/xml

Sample:
<AlertMessageSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <AccountId>1</AccountId>
  <Background>sample string 3</Background>
  <CreatedByUserId>5</CreatedByUserId>
  <CreatedOn>2025-07-05T07:33:59.8024508+00:00</CreatedOn>
  <FontColor>sample string 4</FontColor>
  <Message>sample string 2</Message>
  <ModifiedByUserId>7</ModifiedByUserId>
  <ModifiedOn>2025-07-05T07:33:59.8024508+00:00</ModifiedOn>
</AlertMessageSubModel>

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 'AlertMessageSubModel'

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.