Provide support - Update a service request
Aktualisiert eine Serviceanfrage
PATCH https://api.partnercenter.microsoft.com/v1/servicerequests/{service_request_id}
URI-Parameter
| Name | In | Erforderlich | Typ | Beschreibung |
|---|---|---|---|---|
|
service_request_id
|
path | True |
string |
Dienstanforderungs-ID |
Anforderungsheader
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Name | Erforderlich | Typ | Beschreibung |
|---|---|---|---|
| IncludeOrganizationRequests |
string |
Wenn sie vorhanden ist, autorisieren Sie den Anrufer für die Rolle "Supportanfrage-Administrator", bevor Sie versuchen, eine Serviceanfrage zu aktualisieren. Die Autorisierung als Supportanfrageadministrator ist erforderlich, um eine Organisationsdienstanfrage zu aktualisieren. |
Anforderungstext
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Name | Typ | Beschreibung |
|---|---|---|
| additionalInfo | ||
| appointment | ||
| attributes | ||
| countryCode |
string |
|
| createdDate |
string (date-time) |
|
| creationChannel |
string |
|
| description |
string |
|
| emailCcList |
string[] |
|
| fileLinks |
File |
|
| id |
string minLength: 0maxLength: 16 pattern: ^([0-9]{10}|[0-9]{15}|[0-9]{1,9}|[0-9]{16}|[0-9]-[0-9]{13})$ |
|
| lastClosedDate |
string (date-time) |
|
| lastModifiedDate |
string (date-time) |
|
| lastUpdatedBy | ||
| newNote | ||
| notes | ||
| organization | ||
| primaryContact | ||
| productId |
string |
|
| productName |
string |
|
| severity |
Service |
|
| status |
Service |
|
| supportTopicDescription |
string |
|
| supportTopicId |
string |
|
| supportTopicName |
string |
|
| title |
string maxLength: 255 |
Antworten
| Name | Typ | Beschreibung |
|---|---|---|
| 204 No Content |
Erfolg Media Types: "text/plain", "application/json", "text/json" |
|
| 400 Bad Request |
Ungültige Anforderung Media Types: "text/plain", "application/json", "text/json" |
|
| 403 Forbidden |
Verboten Media Types: "text/plain", "application/json", "text/json" |
|
| 404 Not Found |
Nicht gefunden Media Types: "text/plain", "application/json", "text/json" |
|
| Other Status Codes |
Fehler Media Types: "text/plain", "application/json", "text/json" |
Definitionen
BookingAppointment
| Name | Typ | Beschreibung |
|---|---|---|
| customerEmailAddress |
string |
customerEmailAddress |
| customerName |
string |
|
| customerPhone |
string |
|
| end | ||
| notes |
string |
|
| serviceRequestId |
string |
|
| start |
DateTimeTimeZone
| Name | Typ | Beschreibung |
|---|---|---|
| dateTime |
string |
|
| timeZone |
string |
FileInfo
| Name | Typ | Beschreibung |
|---|---|---|
| comment |
string |
|
| extensionType |
string |
|
| fileNameWithoutExtension |
string |
|
| fileSize |
integer (int64) |
|
| id |
string |
|
| location |
string |
ProblemDetails
| Name | Typ | Beschreibung |
|---|---|---|
| detail |
string |
|
| instance |
string |
|
| status |
integer (int32) |
|
| title |
string |
|
| type |
string |
ResourceAttributes
| Name | Typ | Beschreibung |
|---|---|---|
| etag |
string |
|
| objectType |
string |
ServiceRequest
| Name | Typ | Beschreibung |
|---|---|---|
| additionalInfo | ||
| appointment | ||
| attributes | ||
| countryCode |
string |
|
| createdDate |
string (date-time) |
|
| creationChannel |
string |
|
| description |
string |
|
| emailCcList |
string[] |
|
| fileLinks |
File |
|
| id |
string minLength: 0maxLength: 16 pattern: ^([0-9]{10}|[0-9]{15}|[0-9]{1,9}|[0-9]{16}|[0-9]-[0-9]{13})$ |
|
| lastClosedDate |
string (date-time) |
|
| lastModifiedDate |
string (date-time) |
|
| lastUpdatedBy | ||
| newNote | ||
| notes | ||
| organization | ||
| primaryContact | ||
| productId |
string |
|
| productName |
string |
|
| severity |
Service |
|
| status |
Service |
|
| supportTopicDescription |
string |
|
| supportTopicId |
string |
|
| supportTopicName |
string |
|
| title |
string maxLength: 255 |
ServiceRequestAdditionalInfo
| Name | Typ | Beschreibung |
|---|---|---|
| payLoad | ||
| type |
string |
ServiceRequestContact
| Name | Typ | Beschreibung |
|---|---|---|
| contactId |
string |
|
|
string (email) |
||
| firstName |
string |
|
| lastName |
string |
|
| organization | ||
| phoneNumber |
string |
|
| preferredContactMethod |
string |
ServiceRequestNote
| Name | Typ | Beschreibung |
|---|---|---|
| createdByName |
string |
|
| createdDate |
string (date-time) |
|
| text |
string |
|
| updatedByName |
string |
ServiceRequestOrganization
| Name | Typ | Beschreibung |
|---|---|---|
| id |
string |
|
| name |
string |
|
| phoneNumber |
string |
ServiceRequestSeverity
| Wert | Beschreibung |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 |
ServiceRequestStatus
| Wert | Beschreibung |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 |