共用方式為


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 參數

名稱 位於 必要 類型 Description
customer_id
path True

string

與服務要求相關聯的客戶租用戶標識碼

Field
query

string

offset
query

integer

int32

要傳回的頁面

size
query

integer

int32

要傳回之 中的項目數

Value
query

string

回應

名稱 類型 Description
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"

定義

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

BookingAppointment

名稱 類型 Description
customerEmailAddress

string

customerEmailAddress

customerName

string

customerPhone

string

end

DateTimeTimeZone

notes

string

serviceRequestId

string

start

DateTimeTimeZone

DateTimeTimeZone

名稱 類型 Description
dateTime

string

timeZone

string

FileInfo

名稱 類型 Description
comment

string

extensionType

string

fileNameWithoutExtension

string

fileSize

integer

id

string

location

string

KeyValuePair`2

名稱 類型 Description
key

string

value

string

名稱 類型 Description
body

string

headers

KeyValuePair`2[]

method

string

uri

string

ProblemDetails

名稱 類型 Description
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

名稱 類型 Description
etag

string

objectType

string

ResourceCollection`1

名稱 類型 Description
attributes

ResourceAttributes

items

ServiceRequest[]

links

ResourceLinks

totalCount

integer

名稱 類型 Description
next

Link

previous

Link

self

Link

ServiceRequest

名稱 類型 Description
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

名稱 類型 Description
payLoad
type

string

ServiceRequestContact

名稱 類型 Description
contactId

string

email

string

firstName

string

lastName

string

organization

ServiceRequestOrganization

phoneNumber

string

preferredContactMethod

string

ServiceRequestNote

名稱 類型 Description
createdByName

string

createdDate

string

text

string

updatedByName

string

ServiceRequestOrganization

名稱 類型 Description
id

string

name

string

phoneNumber

string

ServiceRequestSeverity

名稱 類型 Description
0

Integer

1

Integer

2

Integer

3

Integer

ServiceRequestStatus

名稱 類型 Description
0

Integer

1

Integer

2

Integer

3

Integer