View Reasons for Closing a Support Request

You can use the support API to retrieve all existing reasons for closing support tickets associated with a provider or customer organization.

Prerequisites

  • You have the Provider Administrator, Provider Support User, or Customer Administrator role.
  • Obtain an access token from the organization you want to manage and set it as the csp-auth-token request header. See Using VMware Cloud Partner Navigator APIs.

Procedure

  1. Enter your access token as the csp-auth-token request header.
  2. Retrieve your organization by its ID.
    GET https://console.navigator.vmware.com/cphub/api/core/v1/mgmt/orgs/org_ID
    You receive a message body that contains details on the specified organization.
  3. Enter the ID of the organization for which you want to view closing statements and run the GET request.
    GET https://console.navigator.vmware.com/cphub/api/support/v1/orgs/org_ID/support-requests/close-reasons
    You get all existing closing reasons associated with the support tickets of a provider or customer organization.

Example: Retrieve Reasons for Closing Support Tickets

This example lists existing closing reasons associated with the support tickets of a provider or customer organization.

Request
GET https://console.navigator.vmware.com/cphub/api/support/v1/orgs/00dcd47b-867d-46a1-b5ac-c9c22a4427cb/support-requests/close-reasons
Response
Status 200 OK
{  
  "closeSrReasons":[  
    "Duplicate",
    "Solution Provided",
    "Another Solution",
    "Created in Error",
    "Other Reason"
  ]
}