POST Values/SendNotificationAndMail

Request Information

URI Parameters

None.

Body Parameters

NotificationItem
NameDescriptionTypeAdditional information
ID

integer

None.

Type

integer

None.

UserID

integer

None.

AdUserID

integer

None.

Header

string

None.

Message

string

None.

Parameter1

integer

None.

Parameter2

integer

None.

Parameter3

integer

None.

Date

date

None.

IsRead

boolean

None.

Owner

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Type": 2,
  "UserID": 3,
  "AdUserID": 4,
  "Header": "sample string 5",
  "Message": "sample string 6",
  "Parameter1": 7,
  "Parameter2": 8,
  "Parameter3": 9,
  "Date": "2025-11-08T13:16:34.9357519+03:00",
  "IsRead": true,
  "Owner": true
}

application/xml, text/xml

Sample:
<NotificationViewModel.NotificationItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Models">
  <AdUserID>4</AdUserID>
  <Date>2025-11-08T13:16:34.9357519+03:00</Date>
  <Header>sample string 5</Header>
  <ID>1</ID>
  <IsRead>true</IsRead>
  <Message>sample string 6</Message>
  <Owner>true</Owner>
  <Parameter1>7</Parameter1>
  <Parameter2>8</Parameter2>
  <Parameter3>9</Parameter3>
  <Type>2</Type>
  <UserID>3</UserID>
</NotificationViewModel.NotificationItem>

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

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Models">
  <Message>sample string 2</Message>
  <Success>true</Success>
</ApiResponse>