| Description | Query Marketing Permission Channel Permission In (Operation FindByElements) |
| Name | QueryMarketingPermissionChannelPermissionIn |
| Namespace | http://sap.com/xi/A1S/Global |
| Process Component Description | Campaign Management |
| Process Component Name | CampaignManagement |
| Process Component Namespace | http://sap.com/xi/AP/CRM/Global |
| Deploymnent Unit Description | Customer Relationship Management |
| Endpoint Activation | By Scoping of Process Component | Operations |
| Release Status | Deprecated |
An interface to query marketing channel permission data.
The web service interface QueryMarketingPermissionChannelPermissionIn enables you to connect external applications to your SAP system and to query and read marketing channel permission data in your system. The web service interface is relevant if your company wants to access and manage marketing channel permission data from external applications.
It has the FindByElements operation which is used to query for one or more instances of Marketing Permission Channel Permission based on the query filter parameters passed.
Example structure:
<n0:MarketingPermissionChannelPermissionbyElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"><MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <SelectionByBusinessPartnerID>...</SelectionByBusinessPartnerID><SelectionByCommunicationChannelCode>...</SelectionByCommunicationChannelCode><SelectionByMarketingPermissionCode>...</SelectionByMarketingPermissionCode> <SelectionBySystemAdministrativeDataLastChangeDateTime>... </SelectionBySystemAdministrativeDataLastChangeDateTime> </MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <ProcessingConditions> <QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue> <QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator> <LastReturnedObjectID/> </ProcessingConditions> <RequestedElements> <MarketingPermission/> </RequestedElements> </n0:MarketingPermissionChannelPermissionbyElementsQuery_sync>
Marketing channel permissions should exist in the system in order to get a positive result.
Example:
<ProcessingConditions> <QueryHitsMaximumNumberValue>300</QueryHitsMaximumNumberValue> <QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator> </ProcessingConditions>
Example for requesting all data (code snippet):
<RequestedElements marketingPermissionTransmissionRequestCode="1"> <MarketingPermission channelPermissionTransmissionRequestCode="1"/> </RequestedElements>
or (default is '1')
<RequestedElements />
or do not specify this element.
You can find general information about Web services, their structure and consumption in the Web Services documentation.
Find a Marketing Permission
for a certain business partner
for a certain communication channel
etc.
Example to find a marketing channel permission for a certain business partner ID ('1234') and a certain communication channel ('TEL'):
<?xml version="1.0"?> <n0:MarketingPermissionChannelPermissionbyElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> -<MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <SelectionByBusinessPartnerID> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryIdentifier>1234</LowerBoundaryIdentifier> <UpperBoundaryIdentifier/> </SelectionByBusinessPartnerID> <SelectionByCommunicationChannelCode> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryCode>TEL</LowerBoundaryCode> <UpperBoundaryCode/> </SelectionByCommunicationChannelCode> </MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <ProcessingConditions> <QueryHitsMaximumNumberValue>109</QueryHitsMaximumNumberValue> <QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator> <LastReturnedObjectID/> </ProcessingConditions> <RequestedElements> <MarketingPermission/> </RequestedElements> </n0:MarketingPermissionChannelPermissionbyElementsQuery_sync>
| Description | Find marketing channel permissions |
| Name | FindByElements |
| Synchronous | yes |
| Release Status | Deprecated |
To query marketing channel permission data by elements.
The request message of the operation FinByElements contains the QueryByElements that group all possible selection parameters.
| Selection Parameter | UI elements |
|---|---|
| <SelectionByBusinessPartnerUUID> | no UI element; Business Partner UUID |
| <SelectionByBusinessPartnerID> | Business Partner ID |
| <SelectionByBusinessPartnerRoleCode> | no UI element; Business Role |
| <SelectionByCommunicationChannelCode> | Communication Channel |
| <SelectionByMarketingPermissionCode> | Marketing Permission |
| <SelectionBySystemAdministrativeDataLastChangeDateTime> | no UI element; point in time when the marketing permission is changed. It is an accurate-to-the-second time-point of a calendar day in time zone UTC. |
The supported Interval Boundary Type Code values depend on the type of the selection element:
| Selection Parameter Type | Supported Interval Boundary Type Code values |
|---|---|
| ID | All values are allowed. |
| Date Time | All values are allowed. |
| Code | Only value '1' (= Equal to) without wildcards is allowed. |
Example to find a marketing channel permission for a certain business partner ID ('1234') and a certain communication channel ('TEL')
<?xml version="1.0"?> <n0:MarketingPermissionChannelPermissionbyElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global"> -<MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <SelectionByBusinessPartnerID> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryIdentifier>1234</LowerBoundaryIdentifier> <UpperBoundaryIdentifier/> </SelectionByBusinessPartnerID> <SelectionByCommunicationChannelCode> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <LowerBoundaryCode>TEL</LowerBoundaryCode> <UpperBoundaryCode/> </SelectionByCommunicationChannelCode> </MarketingPermissionChannelPermissionByElementsQuerySelectionByElements> <ProcessingConditions> <QueryHitsMaximumNumberValue>109</QueryHitsMaximumNumberValue> <QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator> <LastReturnedObjectID/> </ProcessingConditions> <RequestedElements> <MarketingPermission/> </RequestedElements> </n0:MarketingPermissionChannelPermissionbyElementsQuery_sync>
The response contains the list of found marketing permission channel permission, log items and processing conditions.
Show full documentation