Freigeben über


Provide support - Get all service requests for a customer

ruft eine ausgelagerte Liste der Dienstanforderungen ab.

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-Parameter

Name In Erforderlich Typ Beschreibung
customer_id
path True

string

die Mandanten-ID des Kunden, der der Serviceanfrage zugeordnet ist

Field
query

string

offset
query

integer

int32

welche Seite zurückgegeben werden soll

size
query

integer

int32

Anzahl der Zurückzugebenden Elemente

Value
query

string

Antworten

Name Typ Beschreibung
200 OK

ResourceCollection`1

Erfolg

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

404 Not Found

ProblemDetails

Nicht gefunden

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

Other Status Codes

ProblemDetails

Fehler

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

Definitionen

Name Beschreibung
BookingAppointment
DateTimeTimeZone
FileInfo
KeyValuePair`2
Link
ProblemDetails
ResourceAttributes
ResourceCollection`1
ResourceLinks
ServiceRequest
ServiceRequestAdditionalInfo
ServiceRequestContact
ServiceRequestNote
ServiceRequestOrganization
ServiceRequestSeverity
ServiceRequestStatus

BookingAppointment

Name Typ Beschreibung
customerEmailAddress

string

customerEmailAddress

customerName

string

customerPhone

string

end

DateTimeTimeZone

notes

string

serviceRequestId

string

start

DateTimeTimeZone

DateTimeTimeZone

Name Typ Beschreibung
dateTime

string

timeZone

string

FileInfo

Name Typ Beschreibung
comment

string

extensionType

string

fileNameWithoutExtension

string

fileSize

integer

id

string

location

string

KeyValuePair`2

Name Typ Beschreibung
key

string

value

string

Name Typ Beschreibung
body

string

headers

KeyValuePair`2[]

method

string

uri

string

ProblemDetails

Name Typ Beschreibung
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

Name Typ Beschreibung
etag

string

objectType

string

ResourceCollection`1

Name Typ Beschreibung
attributes

ResourceAttributes

items

ServiceRequest[]

links

ResourceLinks

totalCount

integer

Name Typ Beschreibung
next

Link

previous

Link

self

Link

ServiceRequest

Name Typ Beschreibung
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

Name Typ Beschreibung
payLoad
type

string

ServiceRequestContact

Name Typ Beschreibung
contactId

string

email

string

firstName

string

lastName

string

organization

ServiceRequestOrganization

phoneNumber

string

preferredContactMethod

string

ServiceRequestNote

Name Typ Beschreibung
createdByName

string

createdDate

string

text

string

updatedByName

string

ServiceRequestOrganization

Name Typ Beschreibung
id

string

name

string

phoneNumber

string

ServiceRequestSeverity

Name Typ Beschreibung
0

Integer

1

Integer

2

Integer

3

Integer

ServiceRequestStatus

Name Typ Beschreibung
0

Integer

1

Integer

2

Integer

3

Integer