Provide support - Get all service requests for a customer
hämtar en växlingslista över tjänstbegäranden
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/servicerequests
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/servicerequests?Field={Field}&Value={Value}&offset={offset}&size={size}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
klientorganisations-ID:t för kunden som är associerad med tjänstbegäran |
Field
|
query |
string |
||
offset
|
query |
integer int32 |
vilken sida som ska returneras |
|
size
|
query |
integer int32 |
antal element i som ska returneras |
|
Value
|
query |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Framgång Media Types: "text/plain", "application/json", "text/json" |
|
404 Not Found |
Hittades inte Media Types: "text/plain", "application/json", "text/json" |
|
Other Status Codes |
Fel Media Types: "text/plain", "application/json", "text/json" |
Definitioner
BookingAppointment
Name | Typ | Description |
---|---|---|
customerEmailAddress |
string |
customerEmailAddress |
customerName |
string |
|
customerPhone |
string |
|
end | ||
notes |
string |
|
serviceRequestId |
string |
|
start |
DateTimeTimeZone
Name | Typ | Description |
---|---|---|
dateTime |
string |
|
timeZone |
string |
FileInfo
Name | Typ | Description |
---|---|---|
comment |
string |
|
extensionType |
string |
|
fileNameWithoutExtension |
string |
|
fileSize |
integer |
|
id |
string |
|
location |
string |
KeyValuePair`2
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |
Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers | ||
method |
string |
|
uri |
string |
ProblemDetails
Name | Typ | Description |
---|---|---|
detail |
string |
|
instance |
string |
|
status |
integer |
|
title |
string |
|
type |
string |
ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection`1
Name | Typ | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
ServiceRequest
Name | Typ | 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
Name | Typ | Description |
---|---|---|
payLoad | ||
type |
string |
ServiceRequestContact
Name | Typ | Description |
---|---|---|
contactId |
string |
|
string |
||
firstName |
string |
|
lastName |
string |
|
organization | ||
phoneNumber |
string |
|
preferredContactMethod |
string |
ServiceRequestNote
Name | Typ | Description |
---|---|---|
createdByName |
string |
|
createdDate |
string |
|
text |
string |
|
updatedByName |
string |
ServiceRequestOrganization
Name | Typ | Description |
---|---|---|
id |
string |
|
name |
string |
|
phoneNumber |
string |
ServiceRequestSeverity
Name | Typ | Description |
---|---|---|
0 |
Integer |
|
1 |
Integer |
|
2 |
Integer |
|
3 |
Integer |
ServiceRequestStatus
Name | Typ | Description |
---|---|---|
0 |
Integer |
|
1 |
Integer |
|
2 |
Integer |
|
3 |
Integer |