| Description | Manage SociaMediaActivity |
| Name | ManageSocialMediaActivityIn |
| Namespace | http://sap.com/xi/A1S/Global |
| Process Component Description | Activity Management |
| Process Component Name | ActivityManagement |
| Process Component Namespace | http://sap.com/xi/AP/FO/Activity/Global |
| Deploymnent Unit Description | Foundation |
| Endpoint Activation | By Scoping of Process Component | Operations |
| Release Status | Deprecated |
An interface to create, change or delete social media activities from messages originating in an external social media provider.
The web service interface Manage Social Media Activity In enables you to connect external applications to your SAP CRM OnDemand system and maintain social media activities.
This web service interface includes the following operations:
Check Maintain Bundle
Maintain Bundle
In order to create social media activities, you will need to maintain social media user profiles first. You can use the corresponding web service interface "Manage Social Media User Profile In" to maintain social media user profiles.
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.
The structure of the request message consists of the following:
Message Header
Social Media Activity
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="01">
<SocialMediaMessageID>1002</SocialMediaMessageID>
<ParentSocialMediaMessageID>1001</ParentSocialMediaMessageID>
<RootSocialMediaMessageID>1001</RootSocialMediaMessageID>
<SocialMediaUserProfileID>42</SocialMediaUserProfileID>
<SocialMediaActivityProviderID>GenericCh01</SocialMediaActivityProviderID>
<SocialMediaMessageCreationDateTime>2012-07-11T12:00:00.1234567Z</SocialMediaMessageCreationDateTime>
<SocialMediaMessageURI>http://generic.ch/message/1001</SocialMediaMessageURI>
<PrivateSocialMediaMessageIndicator>false</PrivateSocialMediaMessageIndicator>
<InteractionContent actionCode="01">
<Text languageCode="EN">This is a test message.</Text>
</InteractionContent>
</SocialMediaActivity>
</glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
</soapenv:Body>
</soapenv:Envelope>
The structure of the response message consists of two parts:
A business document-specific part containing the returned business documents
Log items containing system messages including errors, warnings, and information messages raised by the system during processing of the web service request
| Value | Description |
|---|---|
| 10018 | Product Specification |
| 10019 | Application |
| 10020 | Protocol |
| 10021 | Job Description |
| 10022 | Inspection Instruction |
| 10023 | Inspection Method |
| 10024 | Sample-Drawing Instruction |
| 10025 | Certificate of Analysis |
| 10026 | Technical Delivery Terms |
| 10027 | Quality Assurance Agreement |
| 10028 | Finding |
| 10029 | Plain Invoice Text |
| 10030 | System Status Information |
| 10031 | Product Safety Sheet |
| 10032 | Manual Visit Report |
| 10033 | Catalog Data |
| 10034 | Catalog Pictures |
| 10035 | Specification & Results |
| 10036 | CAD Viewable |
| 10037 | Primary CAD Viewable |
| 10038 | Confidential |
| 10039 | Incoming Messsage/File |
| 10040 | Outgoing Message/File |
| 10041 | Technical Service Parameters |
| 10042 | Product Requirement Specification |
| 10043 | Details for Supplier |
| 10044 | Invoice |
| 10045 | Deliver Note |
| 10046 | Export accompanying document (EAD) |
| 10047 | Multimedia |
| 10048 | Web Document |
| 10049 | Maps |
| 10050 | News |
| 10051 | Web Page |
| 10052 | Maps |
| 10053 | Search Engines |
| 10054 | DATEV Header File |
| 10055 | DATEV Postings File |
| 10056 | DATEV Customer Masterdata File |
| 10057 | DATEV Supplier Masterdata File |
| 10058 | DATEV Account Masterdata File |
| 10059 | Manual |
| 10060 | FAQ |
| 10061 | Best Practice |
| 10062 | Manual |
| 10063 | Guideline |
| 10064 | Declaration File |
| 10065 | Itemized List |
| 10066 | Proof of Export |
| 10067 | Export Message File |
| 10068 | Internal Attachment |
| 10069 | WEKTRA Help Document |
| 10070 | Marketing Information |
| 10071 | Project Document |
| 10072 | Warehouse Confirmation |
| 10073 | IT Administration Script |
| 10074 | Contact data |
| 10075 | Inventory Notification |
| 10076 | Pro Forma Invoice |
| 10077 | Quality Assurance Document |
| 10078 | Avatar Image |
| 10079 | Account-Specific Attachment |
| 10080 | Employee-Specific Attachment |
| 10081 | House Bank-Specific Attachment |
| 10082 | Supplier-Specific Attachment |
| 10083 | Tax Authority-Specific Attachment |
| Value | Description |
|---|---|
| amount | Amount |
| anyURI | URI (Uniform Resource Identifier) |
| binary | Binary object |
| boolean | Boolean |
| code | Code |
| complex | Complex |
| date | Date |
| dateTime | Timestamp (Date and Time combination) |
| decimal | Decimal number |
| duration | Duration |
| float | Floating point number |
| id | Identifier |
| integer | Integer |
| measure | Measure |
| percent | Percent |
| quantity | Quantity |
| ratio | Ratio |
| string | Free Text |
| text | Text |
| time | Time of day |
| Description | Check maintenance of social media activity |
| Name | CheckMaintainBundle |
| Synchronous | yes |
| Release Status | Deprecated |
To check if social media activity can be created, updated or deleted without errors.
The operation Check Maintain Bundle processes the requests from external systems to check if a social medial activity can be maintained.
This operation does not alter the data.
It includes the following nodes:
Request Message
Response Message
The request message of the operation contains the following nodes:
Basic Message Header
Social Media User Profile
This node contains the following elements:
| Element | Description |
|---|---|
| ID | Identifier of an instance of a business document message |
| UUID | Unique identifier of an instance of a business document message |
| ReferenceID | Identifier of a referenced instance of a business document message |
| ReferenceUUID | Reference unique identifier of a referenced instance of a business document message |
| Element | Description |
|---|---|
| actionCode | A coded representation of an instruction to the system receiving the message on how to process a transmitted element |
| Action Codes: 01= Create; 02 = Change; 03 = Delete; 04 = Save; 05 = Remove; 06 = No action (check) | |
| UUID | Universally unique identifier of the social media activity |
| ID | Human readable identifier of the social media activity |
| SocialMediaMessageID | Identifier of the message from the social media channel |
| ParentSocialMediaMessageID | Identifier of the parent social media message to support threads |
| RootSocialMediaMessageID | Identifier of the root social media message to support threads |
| SocialMediaUserProfileID | Identifier of the social media user profile |
| SocialMediaActivityProviderID | Human readable identifier of social media activity provider |
| SocialMediaMessageCreationDateTime | Point in time at which social media message was created in the social media channel |
| CategoryCode | Coded representation of the category of a social media activity |
| SocialMediaMessageURI | Social media message URL |
| PrivateSocialMediaMessageIndicator | Indicator that social media activity is posted privately |
| LifeCycleStatusCode | Coded representation of the lifecycle status |
| ChangeStateID | An identifier of a change state |
| The change state identifier is provided when calling a modifying operation. The system does not perform the operation if the state of the business object instance in the database has changed since the change state identifier was computed. By specifying the change state identifier, the client is enabled to implement optimisic locking. | |
| ObjectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| These elements allow the service consumer to relate elements in the confirmation with the originating parts. In addition, they allow the service consumer to relate log messages with the originating parts in the client application. |
| Element | Description |
|---|---|
| actionCode | Action code for create, update |
| Text | Social media message text |
| ObjectNodeSenderTechnicalID | A technical node identifier of an object or object node |
The response message of the operation contains the following nodes:
Social Media Activity
Log
This node contains the following elements:
| Element | Description |
|---|---|
| ID | Social media activity ID |
| UUID | Universally unique identifier of the social media activity |
| objectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| ChangeStateID | An identifier of a change state |
This node contains the following elements:
| Element | Description |
|---|---|
| BusinessDocumentProcessingResultCode | Result of processing of a business document |
| MaximumLogItemSeverityCode | Coded representation of the maximum severity of a log message in a given log |
| Maximum Severity Codes: 1 = Information; 2 = Warning; 3 = Error; 4 = Abort | |
| objectNodeSenderTechnicalID | A technical node identifier of an object or object node |
Using the Check Maintain operation you can verify the correctness of a maintain message. Any changes will be processed but not persisted.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="01">
<SocialMediaMessageID>1002</SocialMediaMessageID>
<ParentSocialMediaMessageID>1001</ParentSocialMediaMessageID>
<RootSocialMediaMessageID>1001</RootSocialMediaMessageID>
<SocialMediaUserProfileID>42</SocialMediaUserProfileID>
<SocialMediaActivityProviderID>GenericCh3</SocialMediaActivityProviderID>
<SocialMediaMessageCreationDateTime>2006-03-28T12:00:00.1234567Z</SocialMediaMessageCreationDateTime>
<SocialMediaMessageURI>http://generic.ch/message/1002</SocialMediaMessageURI>
<PrivateSocialMediaMessageIndicator>false</PrivateSocialMediaMessageIndicator>
<InteractionContent actionCode="01">
<Text languageCode="EN">This is a test message.</Text>
</InteractionContent>
</SocialMediaActivity>
</glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="02">
<SocialMediaMessageID>1002</SocialMediaMessageID>
<ParentSocialMediaMessageID>1001</ParentSocialMediaMessageID>
<RootSocialMediaMessageID>1001</RootSocialMediaMessageID>
<SocialMediaUserProfileID>42</SocialMediaUserProfileID>
<SocialMediaActivityProviderID>GenericCh3</SocialMediaActivityProviderID>
<SocialMediaMessageCreationDateTime>2006-03-28T12:00:00.1234567Z</SocialMediaMessageCreationDateTime>
<SocialMediaMessageURI>http://generic.ch/message/1002</SocialMediaMessageURI>
<PrivateSocialMediaMessageIndicator>false</PrivateSocialMediaMessageIndicator>
<ChangeStateID>20120710190306.4038090</ChangeStateID>
<InteractionContent actionCode="01">
<Text languageCode="EN">This is an updated message.</Text>
</InteractionContent>
</SocialMediaActivity>
</glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="05">
<SocialMediaMessageID>1002</SocialMediaMessageID>
</SocialMediaActivity>
</glob:SocialMediaActivityRequestBundleCheckMaintainQuerysync>
</soapenv:Body>
</soapenv:Envelope>
| Description | Maintain multiple social media activities |
| Name | MaintainBundle |
| Synchronous | yes |
| Release Status | Deprecated |
To create, change or delete social media messages sent by an external social media provider.
The operation Maintain Bundle processes the requests from external systems to to create, modify or delete a social media activities.
It includes the following nodes:
Request Message
Response Message
The request message of the operation contains the following nodes:
Basic Message Header
Social Media Activity
This node contains the following elements:
| Element | Description |
|---|---|
| ID | Identifier of an instance of a business document message |
| UUID | Unique identifier of an instance of a business document message |
| ReferenceID | Identifier of a referenced instance of a business document message |
| ReferenceUUID | Reference unique identifier of a referenced instance of a business document message |
| Element | Description |
|---|---|
| actionCode | A coded representation of an instruction to the system receiving the message on how to process a transmitted element |
| Action Codes: 01= Create; 02 = Change; 03 = Delete; 04 = Save; 05 = Remove; 06 = No action (check) | |
| UUID | Universally unique identifier of the social media activity |
| ID | Human readable identifier of the social media activity |
| SocialMediaMessageID | Identifier of the message from the social media channel |
| ParentSocialMediaMessageID | Identifier of the parent social media message to support threads |
| RootSocialMediaMessageID | Identifier of the root social media message to support threads |
| SocialMediaUserProfileID | Identifier of the social media user profile |
| SocialMediaActivityProviderID | Human readable identifier of social media activity provider |
| SocialMediaMessageCreationDateTime | Point in time at which social media message was created in the social media channel |
| CategoryCode | Coded representation of the category of a social media activity |
| SocialMediaMessageURI | Social media message URL |
| PrivateSocialMediaMessageIndicator | Indicator that social media activity is posted privately |
| LifeCycleStatusCode | Coded representation of the lifecycle status |
| ChangeStateID | An identifier of a change state |
| The change state identifier is provided when calling a modifying operation. The system does not perform the operation if the state of the business object instance in the database has changed since the change state identifier was computed. By specifying the change state identifier, the client is enabled to implement optimisic locking. | |
| ObjectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| These elements allow the service consumer to relate elements in the confirmation with the originating parts. In addition, they allow the service consumer to relate log messages with the originating parts in the client application. |
This node contains the following sub nodes
| Node | Name | Description |
|---|---|---|
| InteractionContent | Interaction Content | 1 |
| AttachmentFolder | Attachment Folder | 0..1 |
| Element | Description |
|---|---|
| actionCode | Action code for create, update |
| Text | Social media message text |
| ObjectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| Element | Description |
|---|---|
| DocumentListCompleteTransmissionIndicator | Complete Transmittion indicator |
| UUID | Unqiue Identifier |
| Document | External Document ID |
| ActionCode | Action code for create, update |
| Element | Description |
|---|---|
| UUID | Unique Identfier |
| LinkInternalIndicator | Internal Link Indicator |
| VisibleIndicator | Indicator to be visible for the Agent |
| CategoryCode | Document Category: 1 Folder, 2 Document, 3 Link |
| TypeCode | Type of the document |
| MIMECode | Internet mail Extension Code |
| Name | Document Name |
| AlternativeName | Alternative Document Name |
| InternalLinkUUID | |
| Description | Description |
| ExternalLinkWebURI | External Link |
| PropertyListCompleteTransmissionIndicator | Property node list transmission indicator |
| ActionCode | Action Code |
| Element | Description |
|---|---|
| TechnicalID | Technial ID |
| Name | Property name |
| DataTypeFormatCode | Data type of property |
| VisibleIndicator | Visible Indicatory |
| ChangeAllowedIndicator | Change allowed by the user Indicator |
| MultipleValueIndicator | Multiple Value |
| NamespaceURI | Namespace |
| Description | Desription of the property |
| PropertyValue | Value of the Property |
| PropertyValueListCompleteTransmissionIndicator | List complete transmittion indicator |
| ActionCode | Action Code |
| Element | Description |
|---|---|
| TechnicalID | Technial ID |
| Text | Text Value |
| Indicator | Indicatory value |
| DateTime | Date time value |
| IntegerValue | Integer value |
| ActionCode | Action Code |
The response message of the operation contains the following nodes:
Social Media Activity
Log
This node contains the following elements:
| Element | Description |
|---|---|
| ID | Social media activity ID |
| UUID | Universally unique identifier of the social media activity |
| ReferenceObjectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| ChangeStateID | An identifier of a change state |
This node contains the following elements:
| Element | Description |
|---|---|
| BusinessDocumentProcessingResultCode | Result of processing of a business document |
| MaximumLogItemSeverityCode | Coded representation of the maximum severity of a log message in a given log |
| Maximum Severity Codes: 1 = Information; 2 = Warning; 3 = Error; 4 = Abort | |
| objectNodeSenderTechnicalID | A technical node identifier of an object or object node |
| Element Name | Description |
|---|---|
| TypeID | TypeID |
| CategoryCode | Category Code |
| SeverityCode | Severity Code: 1 Information, 2 Warning, 3 Error, 4 Abort |
| ReferenceObjectNodeSenderTechnicalID | Reference Technical ID |
| ReferenceMessageElementName | Reference Message Element Name |
| Note | Note |
| NoteTemplateText | Note Template Text |
| LogItemNotePlaceholderSubstitutionList | Log Item Note Place holder Substitution List |
| WebURI | Web URI |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityBundleMaintainRequestsync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="01">
<SocialMediaMessageID>1002</SocialMediaMessageID>
<ParentSocialMediaMessageID>1001</ParentSocialMediaMessageID>
<RootSocialMediaMessageID>1001</RootSocialMediaMessageID>
<SocialMediaUserProfileID>42</SocialMediaUserProfileID>
<SocialMediaActivityProviderID>GenericCh3</SocialMediaActivityProviderID>
<SocialMediaMessageCreationDateTime>2006-03-28T12:00:00.1234567Z</SocialMediaMessageCreationDateTime>
<SocialMediaMessageURI>http://generic.ch/message/1002</SocialMediaMessageURI>
<PrivateSocialMediaMessageIndicator>false</PrivateSocialMediaMessageIndicator>
<InteractionContent actionCode="01">
<Text languageCode="EN">This is a test message.</Text>
</InteractionContent>
</SocialMediaActivity>
</glob:SocialMediaActivityBundleMaintainRequestsync>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityBundleMaintainRequestsync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="02">
<SocialMediaMessageID>1002</SocialMediaMessageID>
<ParentSocialMediaMessageID>1001</ParentSocialMediaMessageID>
<RootSocialMediaMessageID>1001</RootSocialMediaMessageID>
<SocialMediaUserProfileID>42</SocialMediaUserProfileID>
<SocialMediaActivityProviderID>GenericCh3</SocialMediaActivityProviderID>
<SocialMediaMessageCreationDateTime>2006-03-28T12:00:00.1234567Z</SocialMediaMessageCreationDateTime>
<SocialMediaMessageURI>http://generic.ch/message/1002</SocialMediaMessageURI>
<PrivateSocialMediaMessageIndicator>false</PrivateSocialMediaMessageIndicator>
<ChangeStateID>20120712004203.9242870</ChangeStateID>
<InteractionContent actionCode="01">
<Text languageCode="EN">This is an updated test message.</Text>
</InteractionContent>
</SocialMediaActivity>
</glob:SocialMediaActivityBundleMaintainRequestsync>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SocialMediaActivityBundleMaintainRequestsync>
<BasicMessageHeader/>
<SocialMediaActivity actionCode="05">
<SocialMediaMessageID>1002</SocialMediaMessageID>
</SocialMediaActivity>
</glob:SocialMediaActivityBundleMaintainRequestsync>
</soapenv:Body>
</soapenv:Envelope>
Show full documentation