POST api/Alert

Request Information

URI Parameters

None.

Body Parameters

AlertViewModel
NameDescriptionTypeAdditional information
id

integer

None.

alertName

string

None.

message

string

None.

startDate

date

None.

endDate

date

None.

recipientEmail

string

None.

productTypeId

byte

None.

roleId

integer

None.

lastModifiedBy

integer

None.

lastModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "alertName": "sample string 2",
  "message": "sample string 3",
  "startDate": "2017-08-19T11:44:18.9315522-03:00",
  "endDate": "2017-08-19T11:44:18.9315522-03:00",
  "recipientEmail": "sample string 6",
  "productTypeId": 64,
  "roleId": 1,
  "lastModifiedBy": 7,
  "lastModifiedDate": "2017-08-19T11:44:18.9315522-03:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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.