Definition
An interface to query service requests created from messages originating in an external provider.
Business Context and Use
The web service interface Query Service Request Extension For Social Media Integration In enables you to connect external applications to your SAP CRM OnDemand solution and to query the list of service requests and their details.
This web service interface includes the following operation: Find By Elements
Constraints and Integrity Conditions
Communication Time Out
This web service is synchronous and mass enabled. Requesting large amounts of data can cause communication timeout. The web service consumer is responsible for ensuring requests are of a reasonable size for mass operations.
Request Message
The structure of the request message consists of the following:
Service Request
Processing Conditions
Requested Elements
Example of Request Message
<n0:ServiceRequestSimpleByElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<ServiceRequest>
<SelectionByID>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryID>2919</LowerBoundaryID>
</SelectionByID>
</ServiceRequest>
<ProcessingConditions>
<QueryHitsUnlimitedIndicator>true</QueryHitsUnlimitedIndicator>
</ProcessingConditions>
<RequestedElements SocialMediaUserProfileTransmissionRequestCode="1" />
</n0:ServiceRequestSimpleByElementsQuery_sync>
Response Message
The structure of the response message consists of the following three parts:
A list of service requests matching the query criteria
Processing conditions
Log entries consisting of: system messages, including errors; warnings; and information messages raised by the system during processing of the web service request message.
More Information
General Information
You can find general information about Web services, their structure and consumption in the Web Services documentation.
Definition
To find service request data by elements.
Business Context and Use
The operation Find By Elements processes the requests from external systems and returns the service requests matching the given query criteria.
It includes the following nodes:
- Request Message
- Response Message
Structure
Request Message
The request message of the operation contains the following nodes:
- Service Request
- Processing Conditions
- Requested Elements
Service Request
This node contains the following elements:
| Element |
Description |
| SELECTION_BY_ID |
Search for service requests by ID |
| SELECTION_BY_BUYERID |
Search for service requests by customer ID |
| SELECTION_BY_BUYERNAME |
Search for service requests by customer name |
| SELECTION_BY_LIFECYCLESTATUS |
Search for service requests by status |
| SELECTION_BY_PRODUCTID |
Search service requests for specific products |
| SELECTION_BY_PRIORITYCODE |
Search for serivce requests based on their priority |
| SELECTION_BY_SEARCHTEXT |
Search for service requests based on free text |
| SELECTION_BY_PARTYID |
Search for service requests related to a particular party ID |
| SELECTION_BY_PARTYNAME |
Search for service requests related to a particular party name |
| SELECTION_BY_PARTYROLECODE |
Search for service requests related to a particular party role code |
Response Message
The response message contains the list of found service requests, log, and processing conditions.
Service Request
This node contains the following elements:
| Element |
Description |
| ID |
Service Request ID |
| BUYER_ID |
Buyer ID |
| BUYER_NAME |
Buyer Name |
| SERVICE_REQUEST_STATUS_CODE |
Status of the Service Request |
| SOLUTION_STATUS_CODE |
Solution Status Code |
| SERVICE_PRIORITY_CODE |
Priority Code for Service Request |
| PROCESSOR_ID |
Agent/Processor ID |
| PROCESSOR_NAME |
Agent/Processor Name |
| SERVICE_ORGANISATION_ID |
Service Organisation ID |
| SERVICE_ORGANISATION_NAME |
Service Organisation Name |
| INCIDENT_SRV_ISSUE_CAT |
Service Issue Category |
| SERVICE_REFERENCE_OBJECT |
Service Reference Object |
| ATTACHMENT_FOLDER |
Attachment |
| SOLUTION_PROPOSAL |
Solution Proposal |
| SERVICE_TERMS |
Service Terms |
| TAGS |
Tags |
| CHAT_TEXT_COL |
Chat Text |
| INTRNL_NOTES_TEXT_COL |
Internal Notes |