Provide support - Get all service requests for a customer
gets a paged list of service requests
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 Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
the tenant Id of the customer associated with the service request |
Field
|
query |
string |
||
offset
|
query |
integer int32 |
which page to return |
|
size
|
query |
integer int32 |
number of elements in the to return |
|
Value
|
query |
string |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success Media Types: "text/plain", "application/json", "text/json" |
|
404 Not Found |
Not Found Media Types: "text/plain", "application/json", "text/json" |
|
Other Status Codes |
Error Media Types: "text/plain", "application/json", "text/json" |
Definitions
BookingAppointment
Name | Type | Description |
---|---|---|
customerEmailAddress |
string |
customerEmailAddress |
customerName |
string |
|
customerPhone |
string |
|
end | ||
notes |
string |
|
serviceRequestId |
string |
|
start |
DateTimeTimeZone
Name | Type | Description |
---|---|---|
dateTime |
string |
|
timeZone |
string |
FileInfo
Name | Type | Description |
---|---|---|
comment |
string |
|
extensionType |
string |
|
fileNameWithoutExtension |
string |
|
fileSize |
integer |
|
id |
string |
|
location |
string |
KeyValuePair`2
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |
Link
Name | Type | Description |
---|---|---|
body |
string |
|
headers | ||
method |
string |
|
uri |
string |
ProblemDetails
Name | Type | Description |
---|---|---|
detail |
string |
|
instance |
string |
|
status |
integer |
|
title |
string |
|
type |
string |
ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection`1
Name | Type | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self |
ServiceRequest
Name | 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
Name | Type | Description |
---|---|---|
payLoad |
|
|
type |
string |
ServiceRequestContact
Name | Type | Description |
---|---|---|
contactId |
string |
|
string |
||
firstName |
string |
|
lastName |
string |
|
organization | ||
phoneNumber |
string |
|
preferredContactMethod |
string |
ServiceRequestNote
Name | Type | Description |
---|---|---|
createdByName |
string |
|
createdDate |
string |
|
text |
string |
|
updatedByName |
string |
ServiceRequestOrganization
Name | Type | Description |
---|---|---|
id |
string |
|
name |
string |
|
phoneNumber |
string |
ServiceRequestSeverity
Name | Type | Description |
---|---|---|
0 |
Integer |
|
1 |
Integer |
|
2 |
Integer |
|
3 |
Integer |
ServiceRequestStatus
Name | Type | Description |
---|---|---|
0 |
Integer |
|
1 |
Integer |
|
2 |
Integer |
|
3 |
Integer |