Share via


Provide support - Update a service request

Atualizações uma solicitação de serviço

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

Parâmetros de URI

Nome Em Obrigatório Tipo Description
service_request_id
path True

string

Identificador de Solicitação de Serviço

Cabeçalho da solicitação

Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"

Nome Obrigatório Tipo Description
IncludeOrganizationRequests

string

Quando presente, autorizará o chamador para a função Administração de Solicitação de Suporte antes de tentar atualizar uma solicitação de serviço. A autorização como uma solicitação de suporte Administração é necessária para atualizar uma solicitação de serviço da organização.

Corpo da solicitação

Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"

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

Respostas

Nome Tipo Description
204 No Content

Êxito

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

400 Bad Request

ProblemDetails

Solicitação incorreta

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

403 Forbidden

ProblemDetails

Proibido

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

ProblemDetails

Nome Tipo Description
detail

string

instance

string

status

integer

title

string

type

string

ResourceAttributes

Nome Tipo Description
etag

string

objectType

string

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