POST api/Notification/SaveNotification

Request Information

URI Parameters

None.

Body Parameters

NotificationItem
NameDescriptionTypeAdditional information
Account

string

None.

Id

integer

None.

EventTypeId

integer

None.

EventType

string

None.

NotificatioName

string

None.

EventDescription

string

None.

Schedule

string

None.

Enable

boolean

None.

Sync

boolean

None.

ServerIndex

integer

None.

Payload

string

None.

Request Formats

application/json, text/json

Sample:
{
  "account": "sample string 1",
  "id": 2,
  "eventTypeId": 3,
  "eventType": "sample string 4",
  "notificatioName": "sample string 5",
  "eventDescription": "sample string 6",
  "schedule": "sample string 7",
  "enable": true,
  "sync": true,
  "serverIndex": 10,
  "payload": "sample string 11"
}

application/xml, text/xml

Sample:
<NotificationItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <Account>sample string 1</Account>
  <Enable>true</Enable>
  <EventDescription>sample string 6</EventDescription>
  <EventType>sample string 4</EventType>
  <EventTypeId>3</EventTypeId>
  <Id>2</Id>
  <NotificatioName>sample string 5</NotificatioName>
  <Payload>sample string 11</Payload>
  <Schedule>sample string 7</Schedule>
  <ServerIndex>10</ServerIndex>
  <Sync>true</Sync>
</NotificationItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificationItem
NameDescriptionTypeAdditional information
Account

string

None.

Id

integer

None.

EventTypeId

integer

None.

EventType

string

None.

NotificatioName

string

None.

EventDescription

string

None.

Schedule

string

None.

Enable

boolean

None.

Sync

boolean

None.

ServerIndex

integer

None.

Payload

string

None.

Response Formats

application/json, text/json

Sample:
{
  "account": "sample string 1",
  "id": 2,
  "eventTypeId": 3,
  "eventType": "sample string 4",
  "notificatioName": "sample string 5",
  "eventDescription": "sample string 6",
  "schedule": "sample string 7",
  "enable": true,
  "sync": true,
  "serverIndex": 10,
  "payload": "sample string 11"
}

application/xml, text/xml

Sample:
<NotificationItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <Account>sample string 1</Account>
  <Enable>true</Enable>
  <EventDescription>sample string 6</EventDescription>
  <EventType>sample string 4</EventType>
  <EventTypeId>3</EventTypeId>
  <Id>2</Id>
  <NotificatioName>sample string 5</NotificatioName>
  <Payload>sample string 11</Payload>
  <Schedule>sample string 7</Schedule>
  <ServerIndex>10</ServerIndex>
  <Sync>true</Sync>
</NotificationItem>