Get service request support topics

Learn how to retrieve a list of valid topics for service requests. You can use one of the following options:

  • PowerShell
  • C#
  • REST API

PowerShell

Get-PCSRTopics

C#

  1. Use your IPartnerOperations collection to retrieve the ServiceRequests property of the resulting object.
  2. Use the SupportTopics property, and then call the Get() or the GetAsync() method.
// IPartner partnerOperations;

ResourceCollection<SupportTopic> supportTopicsCollection = partnerOperations.ServiceRequests.SupportTopics.Get();

REST API

Request

Request syntax

Method Request URI
GET {baseURL}/v1/servicerequests/supporttopics HTTP/1.1

Request example

GET https://api.partnercenter.microsoft.com/v1/servicerequests/supporttopics HTTP/1.1
Authorization: Bearer <token>
Accept: application/json
MS-RequestId: 4c1e8b6c-d136-4931-9df9-d85ec08ccffe
MS-CorrelationId: f447b215-f9bc-48da-a05a-3b5322d86a9c
X-Locale: en-US

Response

If the request is successful, this method returns a collection of the valid topics for a support request.

Response example

HTTP/1.1 200 OK
Content-Length: 4982
Content-Type: application/json
MS-CorrelationId: f447b215-f9bc-48da-a05a-3b5322d86a9c
MS-RequestId: 4c1e8b6c-d136-4931-9df9-d85ec08ccffe
Date: Fri, 29 Jan 2016 22:31:36 GMT

{
    "totalCount":14,
    "items":[{
        "name":"Partner Center Issues",
        "description":"Microsoft 365 questions from the CSP (Cloud Solution Provider) partners using Partner Center",
        "id":32444667,
        "attributes":{
            "objectType":"SupportTopic"
        }
    },
    {
        "name":"Cannot manage my profile",
        "description":"Issues that are related to errors or problems with managing a profile",
        "id":32444671,
        "attributes":{
            "objectType":"SupportTopic"
        }
    }],
    "attributes":{
        "objectType":"Collection"
    }
}

Next steps