Partager via


Provide support - Get all service requests for a customer

obtient une liste paginée des demandes de service

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}

Paramètres URI

Nom Dans Obligatoire Type Description
customer_id
path True

string

ID de locataire du client associé à la demande de service

Field
query

string

offset
query

integer

int32

quelle page retourner

size
query

integer

int32

nombre d’éléments dans le retour

Value
query

string

Réponses

Nom Type Description
200 OK

ResourceCollection`1

Succès

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

404 Not Found

ProblemDetails

Introuvable

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

Other Status Codes

ProblemDetails

Erreur

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

Définitions

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

BookingAppointment

Nom Type Description
customerEmailAddress

string

customerEmailAddress

customerName

string

customerPhone

string

end

DateTimeTimeZone

notes

string

serviceRequestId

string

start

DateTimeTimeZone

DateTimeTimeZone

Nom Type Description
dateTime

string

timeZone

string

FileInfo

Nom Type Description
comment

string

extensionType

string

fileNameWithoutExtension

string

fileSize

integer

id

string

location

string

KeyValuePair`2

Nom Type Description
key

string

value

string

Nom Type Description
body

string

headers

KeyValuePair`2[]

method

string

uri

string

ProblemDetails

Nom Type Description
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

Nom Type Description
etag

string

objectType

string

ResourceCollection`1

Nom Type Description
attributes

ResourceAttributes

items

ServiceRequest[]

links

ResourceLinks

totalCount

integer

Nom Type Description
next

Link

previous

Link

self

Link

ServiceRequest

Nom Type 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

Nom Type Description
payLoad
type

string

ServiceRequestContact

Nom Type Description
contactId

string

email

string

firstName

string

lastName

string

organization

ServiceRequestOrganization

phoneNumber

string

preferredContactMethod

string

ServiceRequestNote

Nom Type Description
createdByName

string

createdDate

string

text

string

updatedByName

string

ServiceRequestOrganization

Nom Type Description
id

string

name

string

phoneNumber

string

ServiceRequestSeverity

Nom Type Description
0

Integer

1

Integer

2

Integer

3

Integer

ServiceRequestStatus

Nom Type Description
0

Integer

1

Integer

2

Integer

3

Integer