Skip to main content

PUT /service/callHomeGeneral

Use this method to modify the general Call Home configuration settings.

This request modifies the general Call Home configuration. When this request is made for the first time, it creates an associated Default Call Home forwarder that matches all devices from the management server.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/service/callHomeGeneral

Query parameters

None

Request body

You can specify contact information using one of the following sets of attributes.

Table 1. Primary and secondary contacts.
AttributesRequired / OptionalTypeDescription
primaryContactOptionalObjectInformation about the primary contact
 fullNameOptionalStringContact name
 companyNameOptionalStringCompany name
 contactEmailOptionalStringContact email address
 contactPhoneOptionalStringContact phone number
 streetAddressOptionalStringAddress
 cityOptionalStringCity
 stateProvinceOptionalStringState or province
 postalCodeOptionalStringPostal code
 countryOptionalStringCountry
 preferredContactMethodOptionalStringPreferred contact method key

To get at list of keys for supported contact methods, use GET /service/contactMethods.

secondaryContactsOptionalArray of objectsInformation about one or more secondary contacts
 fullNameOptionalStringContact name
 companyNameOptionalStringCompany name
 contactEmailOptionalStringContact email address
 contactPhoneOptionalStringContact phone number
 streetAddressOptionalStringAddress
 cityOptionalStringCity
 stateProvinceOptionalStringState or province
 postalCodeOptionalStringPostal code
 countryOptionalStringCountry or region
 preferredContactMethodOptionalStringPreferred contact method key

To get at list of keys for supported contact methods, use GET /service/contactMethods.

The following example modifies the general Call Home configuration settings.

{
"primaryContact": {
"fullName": "John",
"companyName": "SomeCompany",
"country": "RO",
"contactEmail": "john@company.com",
"contactPhone": "+41234567890",
"streetAddress": "Calea Floreasca 169A",
"city": "Bucharest",
"stateProvince": "BU",
"postalCode": "012345"
"preferredContactMethod": "any"
},
"secondaryContacts": [{
"fullName": "Jane",
"companyName": "SomeCompany",
"contactEmail": "jane@company.com",
"contactPhone": "+41234567891",
"country": "RO",
"streetAddress": "Calea Floreasca 169A",
"city": "Bucharest",
"stateProvince": "BU",
"postalCode": "012345"
"preferredContactMethod": "email"
}]
}
Table 2. Contact and system information
AttributesRequired / OptionalTypeDescription
companyNameOptionalStringContact company
contactNameOptionalStringContact name
emailOptionalStringContact email
phoneNumberOptionalStringContact phone number
addressOptionalStringContact address
cityOptionalStringContact city
stateProvinceOptionalStringContact state or province
zipCodeOptionalStringContact zip code
countryAbvOptionalStringContact country or region abbreviation (for example, RO for Romania)
systemCompanyOptionalStringContact company for the device
systemNameOptionalStringContact name for the device
systemEmailOptionalStringContact email address for the device
systemPhoneNumberOptionalStringContact phone number for the device
systemAddressOptionalStringAddress where the device is located
systemCityOptionalStringCity where the device is located
systemZipCodeOptionalStringZip code where the device is located
​systemStateProvinceOptionalStringState where the device is located
systemCountryAbvOptionalStringCountry or region abbreviation where the device is located

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
  • warning. The request completed with a warning. A descriptive error message was returned.
messagesArray of objectsInformation about one or more messages
 idStringMessage identifier of a returned message
 textStringMessage text associated with the message identifier
 explanationStringAdditional information to clarify the reason for the message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
The following example is returned if the request is successful.
{
messages: [
0: {
explanation: "",
id: "FQXHMSS1029I",
recovery: {
text: "",
​ url: ""​​
},
text: "The configuration for Call Home was successfully saved. Forwarder 'Default Call Home'
was created with this configuration.",
result: "success"
}
]
}