Beruflich Dokumente
Kultur Dokumente
Sending messages to the SNS++ system via an HTTP protocol adds further
flexibility to the SNS++ system. This section describes the command line
syntax that is used in the HTTP protocol, including examples of messages, and
the SNS++ system response to these messages.
uid The SNS++ user name code, as defined in the user Yes
information window.
Maximum length 64 type char
pass The SNS++ user name password, as defined in the user Yes
information window.
Maximum length 128 type char
sender The name, address or computer name that sent the No
message (this attribute is mainly used to filter messages
and reports).
Maximum length 512 type char
initiator The name, address, computer name, application or No
process that created the message (this attribute is mainly
used to filter messages and reports).
Maximum length 1024 type char
sev The message severity level. Values range from 0-5 No
0 info, 1 warning, 2 minor, 3 error, 4 major, 5 critical
Maximum length 1 type smallint
In Case of Failure
{"status":500,"info":"Could not login user"}
{"status":500,"info":"User data is invalid"}
{"status":500,"info":"User does not exist"}
{"status":500,"info":"User is temporarily blocked"}
{"status":500,"info":"User is unauthorized"}
{"status":500,"info":"Missing one or more mandatory parameters: uid,
pass, to, msg"}
{"status":500,"info":"Could not save client message object: <database
exception>"}