Provide support - Update a service request
更新服务请求
PATCH https://api.partnercenter.microsoft.com/v1/servicerequests/{service_request_id}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
service_request_id
|
path | True |
string |
服务请求标识符 |
请求头
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
IncludeOrganizationRequests |
string |
如果存在,在尝试更新服务请求之前,将为支持请求管理员角色的调用方授权。 需要作为支持请求管理员进行授权才能更新组织服务请求。 |
请求正文
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
名称 | 类型 | 说明 |
---|---|---|
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 |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
成功 Media Types: "text/plain", "application/json", "text/json" |
|
400 Bad Request |
请求错误 Media Types: "text/plain", "application/json", "text/json" |
|
403 Forbidden |
禁止 Media Types: "text/plain", "application/json", "text/json" |
|
404 Not Found |
找不到 Media Types: "text/plain", "application/json", "text/json" |
|
Other Status Codes |
错误 Media Types: "text/plain", "application/json", "text/json" |
定义
BookingAppointment
名称 | 类型 | 说明 |
---|---|---|
customerEmailAddress |
string |
customerEmailAddress |
customerName |
string |
|
customerPhone |
string |
|
end | ||
notes |
string |
|
serviceRequestId |
string |
|
start |
DateTimeTimeZone
名称 | 类型 | 说明 |
---|---|---|
dateTime |
string |
|
timeZone |
string |
FileInfo
名称 | 类型 | 说明 |
---|---|---|
comment |
string |
|
extensionType |
string |
|
fileNameWithoutExtension |
string |
|
fileSize |
integer (int64) |
|
id |
string |
|
location |
string |
ProblemDetails
名称 | 类型 | 说明 |
---|---|---|
detail |
string |
|
instance |
string |
|
status |
integer (int32) |
|
title |
string |
|
type |
string |
ResourceAttributes
名称 | 类型 | 说明 |
---|---|---|
etag |
string |
|
objectType |
string |
ServiceRequest
名称 | 类型 | 说明 |
---|---|---|
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
名称 | 类型 | 说明 |
---|---|---|
payLoad | ||
type |
string |
ServiceRequestContact
名称 | 类型 | 说明 |
---|---|---|
contactId |
string |
|
string (email) |
||
firstName |
string |
|
lastName |
string |
|
organization | ||
phoneNumber |
string |
|
preferredContactMethod |
string |
ServiceRequestNote
名称 | 类型 | 说明 |
---|---|---|
createdByName |
string |
|
createdDate |
string (date-time) |
|
text |
string |
|
updatedByName |
string |
ServiceRequestOrganization
名称 | 类型 | 说明 |
---|---|---|
id |
string |
|
name |
string |
|
phoneNumber |
string |
ServiceRequestSeverity
值 | 说明 |
---|---|
0 | |
1 | |
2 | |
3 |
ServiceRequestStatus
值 | 说明 |
---|---|
0 | |
1 | |
2 | |
3 |