Provide support - Update a service request
Met à jour une demande de service
PATCH https://api.partnercenter.microsoft.com/v1/servicerequests/{service_request_id}
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
service_request_id
|
path | True |
string |
Identificateur de demande de service |
En-tête de la demande
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
Nom | Obligatoire | Type | Description |
---|---|---|---|
IncludeOrganizationRequests |
string |
Lorsqu’il est présent, autorise l’appelant pour le rôle Administrateur de demande de support avant de tenter de mettre à jour une demande de service. L’autorisation en tant qu’administrateur de demande de support est requise pour mettre à jour une demande de service d’organisation. |
Corps de la demande
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
Nom | Type | Description |
---|---|---|
additionalInfo | ||
appointment | ||
attributes | ||
countryCode |
string |
|
createdDate |
string |
|
creationChannel |
string |
|
description |
string |
|
emailCcList |
string[] |
|
fileLinks |
File |
|
id |
string |
|
lastClosedDate |
string |
|
lastModifiedDate |
string |
|
lastUpdatedBy | ||
newNote | ||
notes | ||
organization | ||
primaryContact | ||
productId |
string |
|
productName |
string |
|
severity | ||
status | ||
supportTopicDescription |
string |
|
supportTopicId |
string |
|
supportTopicName |
string |
|
title |
string |
Réponses
Nom | Type | Description |
---|---|---|
204 No Content |
Succès Media Types: "text/plain", "application/json", "text/json" |
|
400 Bad Request |
Demande incorrecte Media Types: "text/plain", "application/json", "text/json" |
|
403 Forbidden |
Interdit Media Types: "text/plain", "application/json", "text/json" |
|
404 Not Found |
Introuvable Media Types: "text/plain", "application/json", "text/json" |
|
Other Status Codes |
Erreur Media Types: "text/plain", "application/json", "text/json" |
Définitions
BookingAppointment
Nom | Type | Description |
---|---|---|
customerEmailAddress |
string |
customerEmailAddress |
customerName |
string |
|
customerPhone |
string |
|
end | ||
notes |
string |
|
serviceRequestId |
string |
|
start |
DateTimeTimeZone
Nom | Type | Description |
---|---|---|
dateTime |
string |
|
timeZone |
string |
FileInfo
Nom | Type | Description |
---|---|---|
comment |
string |
|
extensionType |
string |
|
fileNameWithoutExtension |
string |
|
fileSize |
integer |
|
id |
string |
|
location |
string |
ProblemDetails
Nom | Type | Description |
---|---|---|
detail |
string |
|
instance |
string |
|
status |
integer |
|
title |
string |
|
type |
string |
ResourceAttributes
Nom | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ServiceRequest
Nom | Type | Description |
---|---|---|
additionalInfo | ||
appointment | ||
attributes | ||
countryCode |
string |
|
createdDate |
string |
|
creationChannel |
string |
|
description |
string |
|
emailCcList |
string[] |
|
fileLinks |
File |
|
id |
string |
|
lastClosedDate |
string |
|
lastModifiedDate |
string |
|
lastUpdatedBy | ||
newNote | ||
notes | ||
organization | ||
primaryContact | ||
productId |
string |
|
productName |
string |
|
severity | ||
status | ||
supportTopicDescription |
string |
|
supportTopicId |
string |
|
supportTopicName |
string |
|
title |
string |
ServiceRequestAdditionalInfo
Nom | Type | Description |
---|---|---|
payLoad | ||
type |
string |
ServiceRequestContact
Nom | Type | Description |
---|---|---|
contactId |
string |
|
string |
||
firstName |
string |
|
lastName |
string |
|
organization | ||
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 |