POST api/Alert/Post

Request Information

URI Parameters

None.

Body Parameters

FISCONETAlert
NameDescriptionTypeAdditional information
ID

integer

None.

UserName

string

None.

Title

string

None.

KmUUID

globally unique identifier

None.

Language

integer

None.

Environment

AlertEnvironment

None.

ResourceType

AlertResourceType

None.

ChangeType

AlertChangeType

None.

Frequency

AlertFrequency

None.

CreationDate

date

None.

ModificationDate

date

None.

LastSent

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserName": "sample string 2",
  "Title": "sample string 3",
  "KmUUID": "ba74f8bc-e3f2-4ee9-8189-b4f1a66f6abb",
  "Language": 5,
  "Environment": 0,
  "ResourceType": 0,
  "ChangeType": 0,
  "Frequency": 1,
  "CreationDate": "2018-12-10T15:39:56.3341729+00:00",
  "ModificationDate": "2018-12-10T15:39:56.3341729+00:00",
  "LastSent": "2018-12-10T15:39:56.3341729+00:00"
}

text/html

Sample:
{"ID":1,"UserName":"sample string 2","Title":"sample string 3","KmUUID":"ba74f8bc-e3f2-4ee9-8189-b4f1a66f6abb","Language":5,"Environment":0,"ResourceType":0,"ChangeType":0,"Frequency":1,"CreationDate":"2018-12-10T15:39:56.3341729+00:00","ModificationDate":"2018-12-10T15:39:56.3341729+00:00","LastSent":"2018-12-10T15:39:56.3341729+00:00"}

application/xml, text/xml

Sample:
<FISCONETAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRIS.FISCONET.Shared.Core.Models">
  <ChangeType>NEW_ITEM</ChangeType>
  <CreationDate>2018-12-10T15:39:56.3341729+00:00</CreationDate>
  <Environment>PRIVATE</Environment>
  <Frequency>DAILY</Frequency>
  <ID>1</ID>
  <KmUUID>ba74f8bc-e3f2-4ee9-8189-b4f1a66f6abb</KmUUID>
  <Language>5</Language>
  <LastSent>2018-12-10T15:39:56.3341729+00:00</LastSent>
  <ModificationDate>2018-12-10T15:39:56.3341729+00:00</ModificationDate>
  <ResourceType>CATEGORY</ResourceType>
  <Title>sample string 3</Title>
  <UserName>sample string 2</UserName>
</FISCONETAlert>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.