Provide support - Get all service requests for a customer

获取服务请求的分页列表

GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/servicerequests
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/servicerequests?Field={Field}&Value={Value}&offset={offset}&size={size}

URI 参数

名称 必需 类型 说明
customer_id
path True

string

与服务请求关联的客户的租户 ID

Field
query

string

offset
query

integer

int32

要返回的页面

size
query

integer

int32

中要返回的元素数

Value
query

string

响应

名称 类型 说明
200 OK

ResourceCollection`1

成功

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

404 Not Found

ProblemDetails

未找到

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

Other Status Codes

ProblemDetails

错误

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

定义

名称 说明
BookingAppointment
DateTimeTimeZone
FileInfo
KeyValuePair`2
Link
ProblemDetails
ResourceAttributes
ResourceCollection`1
ResourceLinks
ServiceRequest
ServiceRequestAdditionalInfo
ServiceRequestContact
ServiceRequestNote
ServiceRequestOrganization
ServiceRequestSeverity
ServiceRequestStatus

BookingAppointment

名称 类型 说明
customerEmailAddress

string

customerEmailAddress

customerName

string

customerPhone

string

end

DateTimeTimeZone

notes

string

serviceRequestId

string

start

DateTimeTimeZone

DateTimeTimeZone

名称 类型 说明
dateTime

string

timeZone

string

FileInfo

名称 类型 说明
comment

string

extensionType

string

fileNameWithoutExtension

string

fileSize

integer

id

string

location

string

KeyValuePair`2

名称 类型 说明
key

string

value

string

名称 类型 说明
body

string

headers

KeyValuePair`2[]

method

string

uri

string

ProblemDetails

名称 类型 说明
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

名称 类型 说明
etag

string

objectType

string

ResourceCollection`1

名称 类型 说明
attributes

ResourceAttributes

items

ServiceRequest[]

links

ResourceLinks

totalCount

integer

名称 类型 说明
next

Link

previous

Link

self

Link

ServiceRequest

名称 类型 说明
additionalInfo

ServiceRequestAdditionalInfo[]

appointment

BookingAppointment

attributes

ResourceAttributes

countryCode

string

createdDate

string

creationChannel

string

description

string

emailCcList

string[]

fileLinks

FileInfo[]

id

string

lastClosedDate

string

lastModifiedDate

string

lastUpdatedBy

ServiceRequestContact

newNote

ServiceRequestNote

notes

ServiceRequestNote[]

organization

ServiceRequestOrganization

primaryContact

ServiceRequestContact

productId

string

productName

string

severity

ServiceRequestSeverity

status

ServiceRequestStatus

supportTopicDescription

string

supportTopicId

string

supportTopicName

string

title

string

ServiceRequestAdditionalInfo

名称 类型 说明
payLoad
type

string

ServiceRequestContact

名称 类型 说明
contactId

string

email

string

firstName

string

lastName

string

organization

ServiceRequestOrganization

phoneNumber

string

preferredContactMethod

string

ServiceRequestNote

名称 类型 说明
createdByName

string

createdDate

string

text

string

updatedByName

string

ServiceRequestOrganization

名称 类型 说明
id

string

name

string

phoneNumber

string

ServiceRequestSeverity

名称 类型 说明
0

Integer

1

Integer

2

Integer

3

Integer

ServiceRequestStatus

名称 类型 说明
0

Integer

1

Integer

2

Integer

3

Integer