Provide support - Update a service request
Actualiza una solicitud de servicio
PATCH https://api.partnercenter.microsoft.com/v1/servicerequests/{service_request_id}
Parámetros de identificador URI
| Nombre | En | Requerido | Tipo | Description |
|---|---|---|---|---|
|
service_request_id
|
path | True |
string |
Identificador de solicitud de servicio |
Encabezado de la solicitud
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Nombre | Requerido | Tipo | Description |
|---|---|---|---|
| IncludeOrganizationRequests |
string |
Cuando esté presente, autorizará al autor de la llamada para el rol de administrador de solicitudes de soporte técnico antes de intentar actualizar una solicitud de servicio. La autorización como administrador de solicitudes de soporte técnico es necesaria para actualizar una solicitud de servicio de la organización. |
Cuerpo de la solicitud
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Nombre | Tipo | Description |
|---|---|---|
| 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 |
Respuestas
| Nombre | Tipo | Description |
|---|---|---|
| 204 No Content |
Éxito Media Types: "text/plain", "application/json", "text/json" |
|
| 400 Bad Request |
Solicitud incorrecta Media Types: "text/plain", "application/json", "text/json" |
|
| 403 Forbidden |
Prohibido Media Types: "text/plain", "application/json", "text/json" |
|
| 404 Not Found |
No encontrado Media Types: "text/plain", "application/json", "text/json" |
|
| Other Status Codes |
Error Media Types: "text/plain", "application/json", "text/json" |
Definiciones
BookingAppointment
| Nombre | Tipo | Description |
|---|---|---|
| customerEmailAddress |
string |
customerEmailAddress |
| customerName |
string |
|
| customerPhone |
string |
|
| end | ||
| notes |
string |
|
| serviceRequestId |
string |
|
| start |
DateTimeTimeZone
| Nombre | Tipo | Description |
|---|---|---|
| dateTime |
string |
|
| timeZone |
string |
FileInfo
| Nombre | Tipo | Description |
|---|---|---|
| comment |
string |
|
| extensionType |
string |
|
| fileNameWithoutExtension |
string |
|
| fileSize |
integer (int64) |
|
| id |
string |
|
| location |
string |
ProblemDetails
| Nombre | Tipo | Description |
|---|---|---|
| detail |
string |
|
| instance |
string |
|
| status |
integer (int32) |
|
| title |
string |
|
| type |
string |
ResourceAttributes
| Nombre | Tipo | Description |
|---|---|---|
| etag |
string |
|
| objectType |
string |
ServiceRequest
| Nombre | Tipo | Description |
|---|---|---|
| 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
| Nombre | Tipo | Description |
|---|---|---|
| payLoad | ||
| type |
string |
ServiceRequestContact
| Nombre | Tipo | Description |
|---|---|---|
| contactId |
string |
|
|
string (email) |
||
| firstName |
string |
|
| lastName |
string |
|
| organization | ||
| phoneNumber |
string |
|
| preferredContactMethod |
string |
ServiceRequestNote
| Nombre | Tipo | Description |
|---|---|---|
| createdByName |
string |
|
| createdDate |
string (date-time) |
|
| text |
string |
|
| updatedByName |
string |
ServiceRequestOrganization
| Nombre | Tipo | Description |
|---|---|---|
| id |
string |
|
| name |
string |
|
| phoneNumber |
string |
ServiceRequestSeverity
| Valor | Description |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 |
ServiceRequestStatus
| Valor | Description |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 |