共用方式為


Provide support - Get service request details by ID

取得服務要求

GET https://api.partnercenter.microsoft.com/v1/servicerequests/{service_request_id}

URI 參數

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

string

服務要求識別碼

要求標頭

名稱 必要 類型 Description
IncludeOrganizationRequests

string

存在時,會在嘗試擷取服務要求之前,先授權呼叫端支援要求管理員角色。 需要授權作為支援要求管理員才能擷取組織服務要求。

回應

名稱 類型 Description
200 OK

ServiceRequest

Success

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

403 Forbidden

ProblemDetails

禁止

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
ProblemDetails
ResourceAttributes
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

ProblemDetails

名稱 類型 Description
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

名稱 類型 Description
etag

string

objectType

string

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