Get all service requests with contacts
get
/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/serviceRequests/$views/serviceRequestContacts
Request
Query Parameters
-
$fields: string
Restricts the resource fields. Only the specified fields and mandatory system fields are returned.
-
$filter: string
The resource collection will be queried using the specified filter condition.
-
$limit: integer
Restricts the number of resource items returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resource items.Default Value:
25 -
$offset: integer
Defines the starting position of the resource collection. If offset exceeds the resource count then no resource items are returned.Default Value:
0 -
$sortBy: string
Orders a resource collection based on the specified fields. The parameter value is a comma-separated string of field names, each optionally followed by a colon and "asc" (default) or "desc".
There's no request body for this operation.
Back to TopResponse
Default Response
Successful response of retrieving view serviceRequestContacts for resource Service Requests
Nested Schema : items-allOf[1]
Type:
Show Source
object-
closedDate: string
(date-time)
Title:
Date ClosedThe date when the service request was closed, if closed. -
contacts:
contacts
-
createdBy: string
Title:
Created ByRead Only:trueThe user who created the record. -
criticalFlag: boolean
Title:
CriticalIndicates whether the service request is critical. If critical, the value is Y, else the value is N. -
id: string
(big-integer)
Title:
Service Request IDRead Only:trueThe unique identifier of the service request record. -
lastReopenDate: string
(date-time)
Title:
Date ReopenedThe date and time when the service request was last reopened. -
lastResolvedDate: string
(date-time)
Title:
Resolution DateThe date and time when the service request was resolved. -
number: string
Title:
Reference NumberRead Only:trueThe unique number that's used to identify a service request. You can edit the service request number to a format that's best suitable to your organizational requirements. -
openDate: string
(date-time)
Title:
Date ReportedThe date when the service request was reported by the customer. -
problemDescription: string
Title:
Problem DescriptionThe service request's problem description or statement and the steps to reproduce the issue. -
resolveDescription: string
Title:
Solution DescriptionRead Only:trueThe description of how the service request has been resolved. -
timeCreated: string
(date-time)
Title:
Created OnRead Only:trueThe date and time when the record was created. -
timeUpdated: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
title: string
Title:
TitleThe brief title of the service request. -
updatedBy: string
Title:
Last Updated ByRead Only:trueThe user who last updated the record.
Nested Schema : items-allOf[1]
Type:
Show Source
object-
accessLevelCode:
accessLevelCode
-
contact:
contact
-
contactTypeCode:
contactTypeCode
-
createdBy: string
Title:
Created ByRead Only:trueThe user who created the record. -
memberId: string
(big-integer)
Title:
Member IDRead Only:trueThe unique identifier of the contact. -
timeCreated: string
(date-time)
Title:
Created OnRead Only:trueThe date and time when the record was created. -
timeUpdated: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByRead Only:trueThe user who last updated the record.
Nested Schema : accessLevelCode
Match All
The access level granted to the service request contact.
Show Source
Nested Schema : contactTypeCode
Match All
The service request contact type such as Customer or Partner.
Show Source
Nested Schema : id
Match All
Show Source
-
string(big-integer)
Read Only:
true -
string
Title:
Person IDThe unique identifier of the person profile.
Examples
The following example shows how to get all service requests with contacts by submitting a GET request on the REST resource using cURL.
cURL Command
curl --location 'https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/$en-US/serviceRequests/$views/serviceRequestContacts' \
--header 'Authorization: Bearer <token>'
Example of Response Body
The following shows an example of the response body in JSON format.
{
"items": [
{
"id": "300100617342400",
"number": "SR0000067268",
"title": "24A_SA_Interaction2",
"createdBy": "SALES_ADMIN",
"timeCreated": "2024-09-27T10:19:49Z",
"updatedBy": "FUSION_APPS_CRM_ESS_APPID",
"timeUpdated": "2024-09-27T10:19:56.484Z",
"criticalFlag": true,
"closedDate": null,
"openDate": "2023-07-27T07:26:09.385Z",
"lastReopenDate": null,
"lastResolvedDate": null,
"problemDescription": "LAPTOP:NO:(87773999- Not working)",
"resolveDescription": null,
"cust_ora_cxService_core_srMgmt__CustomText": null,
"cust_ora_cxService_core_srMgmt__CustomNumber": null,
"$id": "SR0000067268",
"$context": {
"etag": "2",
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/$en-US/serviceRequests/SR0000067268"
}
}
},
"contacts": {
"items": [
{
"memberId": "300100617342401",
"createdBy": "SALES_ADMIN",
"timeCreated": "2024-09-27T10:19:52.528Z",
"updatedBy": "SALES_ADMIN",
"timeUpdated": "2024-09-27T10:19:54.115Z",
"accessLevelCode": "ORA_SVC_REG_SR_ACCESS",
"contactTypeCode": "ORA_SVC_CUSTOMER",
"$id": "300100617342401",
"$context": {
"etag": "1",
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/$en-US/serviceRequests/SR0000067268/contacts/300100617342401"
}
}
},
"contact": {
"id": "300100617333097",
"registryId": "CDRM_973098",
"firstName": "24A_FAWQA_CONTACT12",
"lastName": "Roy",
"name": "24A_FAWQA_CONTACT12 Roy",
"$id": "CDRM_973098",
"$context": {
"etag": "3",
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxSalesCommon/customerMgmt/v1/$en-US/contacts/CDRM_973098"
}
}
}
}
}
],
"hasMore": false
}
}
],
"hasMore": true
}