POST public/getSupportInfo
Returns Scale Computing Support resources: links to ESD safety and installation information, and the Support phone number.
Request syntax
curl https://apiv2.acumera.net/public/getSupportInfo \
--cookie av_session.txt
The username, password, and tfa_token parameters are also accepted, and are required only if the client hasn't already signed in with login. See Getting started with the SC//AcuVigil API.
Request parameters
This function takes no parameters of its own.
Response syntax
{
"success": "string",
"data": {
"support_info": {
"mg_esd_url": "string",
"noc_install_videos_url": "string",
"noc_phone_number": "string"
}
}
}
Response parameters
If the call succeeds, success is "1" and the following data is returned. All values are strings.
| Field | Description |
|---|---|
support_info.mg_esd_url |
A link to the ESD safety information document. |
support_info.noc_install_videos_url |
A link to the ESD installation resources. |
support_info.noc_phone_number |
The Scale Computing Support phone number. |
For other ways to contact Support, see Getting support.
Errors
If the call fails, success is "0", and returnCode and returnMessage describe the problem. The HTTP status is still 200.
| Return code | Message | Cause |
|---|---|---|
SUPPORT_INFO_NOT_FOUND |
One or more of the support information items could not be found. | A support item isn't configured on the server. Contact Scale Computing Support. |
INVALID_LOGIN |
We were unable to log you in. Make sure you entered the correct username, password and 2FA code. | You haven't signed in, your session has ended, or the credentials sent with the call are wrong. |
Examples
Example: Get the support resources
curl https://apiv2.acumera.net/public/getSupportInfo \
--cookie av_session.txt
Response:
{
"success": "1",
"data": {
"support_info": {
"mg_esd_url": "https:\/\/install.acumera.net\/en\/Safety_MGESD.pdf",
"noc_install_videos_url": "https:\/\/install.acumera.net\/",
"noc_phone_number": "+1 512 687 7401"
}
}
}
The API escapes forward slashes in URLs as \/. JSON parsers remove the backslashes.