Compartilhar via


Provide support - Get all service requests for a customer

obtém uma lista paginada de solicitações de serviço

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}

Parâmetros de URI

Nome Em Obrigatório Tipo Description
customer_id
path True

string

a ID do locatário do cliente associado à solicitação de serviço

Field
query

string

offset
query

integer

int32

qual página retornar

size
query

integer

int32

número de elementos no retorno

Value
query

string

Respostas

Nome Tipo Description
200 OK

ResourceCollection`1

Êxito

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

404 Not Found

ProblemDetails

Não encontrado

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

Other Status Codes

ProblemDetails

Erro

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

Definições

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

BookingAppointment

Nome Tipo Description
customerEmailAddress

string

customerEmailAddress

customerName

string

customerPhone

string

end

DateTimeTimeZone

notes

string

serviceRequestId

string

start

DateTimeTimeZone

DateTimeTimeZone

Nome Tipo Description
dateTime

string

timeZone

string

FileInfo

Nome Tipo Description
comment

string

extensionType

string

fileNameWithoutExtension

string

fileSize

integer

id

string

location

string

KeyValuePair`2

Nome Tipo Description
key

string

value

string

Nome Tipo Description
body

string

headers

KeyValuePair`2[]

method

string

uri

string

ProblemDetails

Nome Tipo Description
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

Nome Tipo Description
etag

string

objectType

string

ResourceCollection`1

Nome Tipo Description
attributes

ResourceAttributes

items

ServiceRequest[]

links

ResourceLinks

totalCount

integer

Nome Tipo Description
next

Link

previous

Link

self

Link

ServiceRequest

Nome Tipo 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

Nome Tipo Description
payLoad
type

string

ServiceRequestContact

Nome Tipo Description
contactId

string

email

string

firstName

string

lastName

string

organization

ServiceRequestOrganization

phoneNumber

string

preferredContactMethod

string

ServiceRequestNote

Nome Tipo Description
createdByName

string

createdDate

string

text

string

updatedByName

string

ServiceRequestOrganization

Nome Tipo Description
id

string

name

string

phoneNumber

string

ServiceRequestSeverity

Nome Tipo Description
0

Integer

1

Integer

2

Integer

3

Integer

ServiceRequestStatus

Nome Tipo Description
0

Integer

1

Integer

2

Integer

3

Integer