POST api/AccountDetails/InsertAlertsCustomerPreferences

Request Information

URI Parameters

None.

Body Parameters

Collection of AlertCustomerPreferences
NameDescriptionTypeAdditional information
AlertMessageID

integer

None.

AlertHeader

string

None.

BSCustomerID

string

None.

CompanyID

integer

None.

IsEmail

boolean

None.

IsMobile

boolean

None.

IsSMS

boolean

None.

EmailAlert

boolean

None.

MobileAlert

boolean

None.

SMSAlert

boolean

None.

Threshold1

decimal number

None.

Threshold2

decimal number

None.

ToolTip

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AlertMessageID": 1,
    "AlertHeader": "sample string 2",
    "BSCustomerID": "sample string 3",
    "CompanyID": 4,
    "IsEmail": true,
    "IsMobile": true,
    "IsSMS": true,
    "EmailAlert": true,
    "MobileAlert": true,
    "SMSAlert": true,
    "Threshold1": 1.0,
    "Threshold2": 1.0,
    "ToolTip": "sample string 5"
  },
  {
    "AlertMessageID": 1,
    "AlertHeader": "sample string 2",
    "BSCustomerID": "sample string 3",
    "CompanyID": 4,
    "IsEmail": true,
    "IsMobile": true,
    "IsSMS": true,
    "EmailAlert": true,
    "MobileAlert": true,
    "SMSAlert": true,
    "Threshold1": 1.0,
    "Threshold2": 1.0,
    "ToolTip": "sample string 5"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MyResults
NameDescriptionTypeAdditional information
MyReturn

boolean

None.

MyMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MyReturn": true,
  "MyMsg": "sample string 2"
}