Manage account profiles - Get support profile

获取合作伙伴支持配置文件。

GET https://api.partnercenter.microsoft.com/v{version}/profiles/support

URI 参数

名称 必需 类型 说明
version
path True

string

Api 版本。

请求头

名称 必需 类型 说明
Authorization True

string

授权持有者令牌

Accept True

string

可接受的内容类型;广泛加入类型应用程序/json

ms-correlationid

string

用于在内部跟踪请求。 如果未提供 ms-correlationid,则服务器将为每个请求生成一个新请求

ms-requestid

string

用于请求的幂等性。 如果未提供 ms-requestid,服务器将为每个请求生成一个新请求

响应

名称 类型 说明
200 OK

Microsoft.Partner.Sdk.Contracts.V1.SupportProfile

请求成功。 响应正文包含请求的支持配置文件。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

400 Bad Request

输入缺失或无效。 响应正文将提供错误详细信息。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

401 Unauthorized

请求未通过身份验证。 客户端需要首先通过合作伙伴 API 服务进行身份验证。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

403 Forbidden

请求已经过身份验证,但被拒绝,因为调用方无权调用该请求。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

404 Not Found

找不到资源或未与给定输入参数一起使用。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

500 Internal Server Error

合作伙伴 API 服务或其某个依赖项未能满足请求。 调用方可能会重试此操作。

Media Types: "application/json", "application/xml", "text/xml", "text/json"

定义

名称 说明
Microsoft.Partner.Sdk.Contracts.V1.Common.Link

链接表示 URI 和 HTTP 方法,该方法指示访问资源所需的操作。

Microsoft.Partner.Sdk.Contracts.V1.Common.ResourceAttributes

引用通用对象属性

Microsoft.Partner.Sdk.Contracts.V1.Common.ResourceLinks

资源的导航链接

Microsoft.Partner.Sdk.Contracts.V1.SupportProfile

描述合作伙伴的支持配置文件。

System.Collections.Generic.KeyValuePair[System.String,System.String]

链接表示 URI 和 HTTP 方法,该方法指示访问资源所需的操作。

名称 类型 说明
headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

获取链接标头。

method

string

方法。

uri

string

URI。

Microsoft.Partner.Sdk.Contracts.V1.Common.ResourceAttributes

引用通用对象属性

名称 类型 说明
etag

string

获取或设置 etag。 提供程序中的对象版本。

objectType

string

对象的类型。

资源的导航链接

名称 类型 说明
next

Microsoft.Partner.Sdk.Contracts.V1.Common.Link

项的下一页。

previous

Microsoft.Partner.Sdk.Contracts.V1.Common.Link

项的上一页。

self

Microsoft.Partner.Sdk.Contracts.V1.Common.Link

自 URI。

Microsoft.Partner.Sdk.Contracts.V1.SupportProfile

描述合作伙伴的支持配置文件。

名称 类型 说明
attributes

Microsoft.Partner.Sdk.Contracts.V1.Common.ResourceAttributes

获取属性。

email

string

获取或设置与配置文件关联的电子邮件地址。

links

Microsoft.Partner.Sdk.Contracts.V1.Common.ResourceLinks

获取或设置链接。

profileType enum:
  • billing_profile
  • legal_business_profile
  • mpn_profile
  • organization_profile
  • support_profile

获取合作伙伴配置文件类型。

telephone

string

获取或设置与配置文件关联的电话号码。

website

string

获取或设置支持网站。

System.Collections.Generic.KeyValuePair[System.String,System.String]

名称 类型 说明
key

string

value

string