POST api/DomainManagment/InsertAlert

Request Information

URI Parameters

None.

Body Parameters

InsertAlertObject
NameDescriptionTypeAdditional information
ServerCode

string

None.

UserCode

string

None.

AlertCategory

string

None.

AlertStatus

string

None.

AlertText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServerCode": "sample string 1",
  "UserCode": "sample string 2",
  "AlertCategory": "sample string 3",
  "AlertStatus": "sample string 4",
  "AlertText": "sample string 5"
}

application/xml, text/xml

Sample:
<InsertAlertObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainHostingWebApi.Controllers">
  <AlertCategory>sample string 3</AlertCategory>
  <AlertStatus>sample string 4</AlertStatus>
  <AlertText>sample string 5</AlertText>
  <ServerCode>sample string 1</ServerCode>
  <UserCode>sample string 2</UserCode>
</InsertAlertObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDTOOfObject
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Data

Object

None.

Message

string

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Data": {},
  "Message": "sample string 3",
  "StatusCode": 4
}

application/xml, text/xml

Sample:
<ResponseDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainHostingWebApi">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <StatusCode>4</StatusCode>
</ResponseDTOOfanyType>