POST v2/NotificationManagement

Request Information

URI Parameters

None.

Body Parameters

UpsertNotificationModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

MessageText

string

None.

Push

boolean

None.

TargetDateTime

date

None.

ExpiredTargetDateTime

date

None.

SendImmediately

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "MessageText": "sample string 3",
  "Push": true,
  "TargetDateTime": "2025-12-08T12:55:43",
  "ExpiredTargetDateTime": "2025-12-08T12:55:43",
  "SendImmediately": true
}

application/xml, text/xml

Sample:
<UpsertNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Go4Gold.WebAPI.Models">
  <ExpiredTargetDateTime>2025-12-08T12:55:43.5509703-06:00</ExpiredTargetDateTime>
  <Id>1</Id>
  <MessageText>sample string 3</MessageText>
  <Push>true</Push>
  <SendImmediately>true</SendImmediately>
  <TargetDateTime>2025-12-08T12:55:43.5509703-06:00</TargetDateTime>
  <Title>sample string 2</Title>
</UpsertNotificationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.