You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

REST API Method: POST /rest/preloginmessage

This method modifies (or creates if initially empty) the Pre-Login Message to be configured on the Sonus SBC 1000/2000 system.

URL:

https://134.56.227.163/rest/preloginmessage

HTTP Method

POST

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
messageYesNostringnone10000 - Max Length Retrieves the message to be displayed before logging in to the Web User Interface.

Helpful Tip

The POST can contain either only the attributes that are being updated, or the full set of attributes for the resource

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=no4ams98ukle71obo7lni3oh55 --cacert 1kCAcert.pem  -i https://134.56.227.163/rest/preloginmessage --data preloginmessage --data 
> "message=Users (authorized or unauthorized) have no explicit or implicit expectation of
> privacy. Any or all uses of this system and all files on this system may be
> intercepted, monitored, recorded, copied, audited, inspected, and disclosed to
> authorized site, customer administrative, and law enforcement personnel, as
> well as authorized officials of government agencies, both domestic and foreign.
> By using this system, the user consents to such interception, monitoring,
> recording, copying, auditing, inspection, and disclosure at the discretion of
> authorized personnel.
>
> Unauthorized or improper use of this system may result in administrative
> disciplinary action and civil and criminal penalties. By continuing to use this
> system you indicate your awareness of and consent to these terms and conditions
> of use. CANCEL YOUR LOGIN IMMEDIATELY if you do not agree to the conditions
> stated in this warning."


Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
</status>
 <preloginmessage href="https://134.56.227.163/rest/preloginmessage">
  <message>Users (authorized or unauthorized) have no explicit or implicit expectation of
privacy.  Any or all uses of this system and all files on this system may be
intercepted, monitored, recorded, copied, audited, inspected, and disclosed to
authorized site, customer administrative, and law enforcement personnel, as
well as authorized officials of government agencies, both domestic and foreign.
By using this system, the user consents to such interception, monitoring,
recording, copying, auditing, inspection, and disclosure at the discretion of
authorized personnel.

Unauthorized or improper use of this system may result in administrative
disciplinary action and civil and criminal penalties. By continuing to use this
system you indicate your awareness of and consent to these terms and conditions
of use. CANCEL YOUR LOGIN IMMEDIATELY if you do not agree to the conditions
stated in this warning.</message>
 </preloginmessage>
</root>
  • No labels