GET /service/contactMethods

Use this GET method to retrieve all possible contact methods for Call Home.

Note: This API requires Lenovo XClarity Administrator v2.5.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

GET https://<management_server_IP>/service/contactMethods

Query parameters

None

Request body

None

Response codes

Code Description
200 OK
500 Internal server error

Response body

Attributes Type Description
key String Contact method key
name String Contact method name

Response example

[{
   "key": "Any",
   "name": "Any"
},
{
   "key": "Email",
   "name": "Email"
},
{
   "key": "Phone",
   "name": "Phone"
}]