POST /callhome/pmrattach/<record_uid>

Use the POST method to upload a diagnostic archive file for a specific service ticket that were generated by Call Home or to add an existing diagnostic archive file to a Call Home service ticket.

Authentication

Authentication with user name and password is required.

Request URL

POST https://<management_server_IP>/callhome/pmrattach/<record_uid>

where <record_uid> is the UID of the service ticket to be retrieved. To obtain the service-ticket UID, use the GET /callhome/endPointsPMR method.

Query parameters

Parameters Required / Optional Description
fileUID = <file_ID> Optional ID of the existing diagnostic archive file to be added to the target service ticket

To obtain the file ID, use the GET /callhome/endPoints/list method.

Request body

None

Response codes

Code Description
200 OK. A descriptive message is returned in the response body.
400 Bad request. The specified file is not a .ZIP, .TAR, .RAR or .GZ file.
404 Not found. The specified file is not found.
500 Internal server error. An error occurred while adding the file to the specified service ticket.

Response body

Attributes Type Description
result String Results 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.
messages Array of objects Information about one or more messages
  id String Message identifier of a returned message
  text String Message text associated with the message identifier
  explanation String Additional information to clarify the reason for the message
  recovery Array of objects Recovery information
    text String User actions that can be taken to recover from the event
    URL String Link to the help system for more information, if available

Response example

The following example is returned if the request was successful.
{
    "result": "success",
    "messages": [{
        "explanation": "",
        "id": "FQXHMSS1081I",
        "recovery": {
            "text": "",
            "url": ""
        },
        "text": "The file has been successfully added to the problem number attachment queue."
    }]
}