Problem Classifications - List

Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.

GET https://management.azure.com/providers/Microsoft.Support/services/{serviceName}/problemClassifications?api-version=2020-04-01

URI Parameters

Name In Required Type Description
serviceName
path True

string

Name of the Azure service for which the problem classifications need to be retrieved.

api-version
query True

string

API version.

Responses

Name Type Description
200 OK

ProblemClassificationsListResult

Successfully retrieved list of problem classifications for the specified Azure service.

Other Status Codes

ExceptionResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Gets list of problemClassifications for a service for which a support ticket can be created

Sample Request

GET https://management.azure.com/providers/Microsoft.Support/services/service_guid/problemClassifications?api-version=2020-04-01

Sample Response

{
  "value": [
    {
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1",
      "name": "problemClassification_guid_1",
      "type": "Microsoft.Support/problemClassifications",
      "properties": {
        "displayName": "Reservation Management / Exchanges and Refunds"
      }
    },
    {
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2",
      "name": "problemClassification_guid_2",
      "type": "Microsoft.Support/problemClassifications",
      "properties": {
        "displayName": "Reservation Management / Request Invoices"
      }
    },
    {
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3",
      "name": "problemClassification_guid_3",
      "type": "Microsoft.Support/problemClassifications",
      "properties": {
        "displayName": "Reservation Management / Other Iissues or Requests"
      }
    },
    {
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4",
      "name": "problemClassification_guid_4",
      "type": "Microsoft.Support/problemClassifications",
      "properties": {
        "displayName": "Other General Billing Questions"
      }
    }
  ]
}

Definitions

Name Description
ExceptionResponse

The API error.

ProblemClassification

ProblemClassification resource object.

ProblemClassificationsListResult

Collection of ProblemClassification resources.

ServiceError

The API error details.

ServiceErrorDetail

The error details.

ExceptionResponse

The API error.

Name Type Description
error

ServiceError

The API error details.

ProblemClassification

ProblemClassification resource object.

Name Type Description
id

string

Id of the resource.

name

string

Name of the resource.

properties.displayName

string

Localized name of problem classification.

type

string

Type of the resource 'Microsoft.Support/problemClassification'.

ProblemClassificationsListResult

Collection of ProblemClassification resources.

Name Type Description
value

ProblemClassification[]

List of ProblemClassification resources.

ServiceError

The API error details.

Name Type Description
code

string

The error code.

details

ServiceErrorDetail[]

The list of error details.

message

string

The error message.

target

string

The target of the error.

ServiceErrorDetail

The error details.

Name Type Description
code

string

The error code.

message

string

The error message.

target

string

The target of the error.