> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mastermindcms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MarketingServiceImpl

> Aufruf öffentlicher Servicemethoden über die REST API: marketingServiceImpl

<ResponseField name="beanId" type="string">
  Die Spring-Bean-ID des aufzurufenden Services.

  marketingServiceImpl
</ResponseField>

<ResponseField name="scope" type="string" default="PROTOTYPE">
  Bean-Scope. Für Serviceaufrufe wird PROTOTYPE verwendet.
</ResponseField>

<ResponseField name="functionName" type="string">
  Der öffentliche Methodenname des Services, der in der Signatur angegeben ist.
</ResponseField>

<ResponseField name="args" type="object[]">
  Das Argument-Array der Methode. Jedes Argument wird mit dem Index 0, 1 usw. übergeben; der Wert muss dem Java-Parametertyp entsprechen.
</ResponseField>

## Headers

```http theme={null}
POST /api/v1/bean/request
Content-Type: application/json
Lang-Context: de
Site-Context: my-site
Authorization: Bearer <token>
```

Senden Sie `Lang-Context` und `Site-Context` mit jeder Anfrage. Für geschützte Methoden senden Sie das JWT im Header `Authorization` im Format `Bearer <token>`.

**Zugriff:** ADMIN. **Bearer Token:** bedingt für USER/ADMIN.

* GUEST — nicht angemeldete Benutzer; nur Whitelist-Services sind verfügbar.
* USER — Authentifizierung erforderlich; Methoden mit USER-Prüfung sind verfügbar.
* ADMIN — vollständiger Zugriff auf öffentliche Methoden aller Services.
* Wenn eine Methode intern eine Rolle prüft, kann GUEST null erhalten.

## Methoden

<ResponseField name="searchUserAnalytics" type="LinkedHashSet<UserAuditSettings>">
  | Argument      | Typ      | Beschreibung                |
  | ------------- | -------- | --------------------------- |
  | `requestJson` | `String` | Übergeben über `args[0].0`. |

  ### searchUserAnalytics

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "searchUserAnalytics",
    "args": [
      {
        "0": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="searchUserAnalyticsPaged" type="Page<UserAuditSettings>">
  | Argument      | Typ      | Beschreibung                |
  | ------------- | -------- | --------------------------- |
  | `requestJson` | `String` | Übergeben über `args[0].0`. |

  ### searchUserAnalyticsPaged

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "searchUserAnalyticsPaged",
    "args": [
      {
        "0": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="getPaginationAnalyticsData" type="Deque<Map<String, Object>>">
  | Argument      | Typ      | Beschreibung                |
  | ------------- | -------- | --------------------------- |
  | `requestJson` | `String` | Übergeben über `args[0].0`. |

  ### getPaginationAnalyticsData

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "getPaginationAnalyticsData",
    "args": [
      {
        "0": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="generateDashlyHash" type="String">
  | Argument | Typ | Beschreibung                              |
  | -------- | --- | ----------------------------------------- |
  | —        | —   | Diese Methode akzeptiert keine Argumente. |

  ### generateDashlyHash

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "generateDashlyHash",
    "args": []
  }
  ```
</ResponseField>

<ResponseField name="getSeoMetaData" type="Map<String,Object>">
  | Argument         | Typ      | Beschreibung                |
  | ---------------- | -------- | --------------------------- |
  | `seoUrl`         | `String` | Übergeben über `args[0].0`. |
  | `repositoryName` | `String` | Übergeben über `args[1].1`. |

  ### getSeoMetaData

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "getSeoMetaData",
    "args": [
      {
        "0": null,
        "1": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="getSeoUrl" type="String">
  | Argument         | Typ      | Beschreibung                |
  | ---------------- | -------- | --------------------------- |
  | `id`             | `String` | Übergeben über `args[0].0`. |
  | `repositoryName` | `String` | Übergeben über `args[1].1`. |

  ### getSeoUrl

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "getSeoUrl",
    "args": [
      {
        "0": null,
        "1": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="getSeoUrlAsValue" type="Map<String, Object>">
  | Argument         | Typ      | Beschreibung                |
  | ---------------- | -------- | --------------------------- |
  | `id`             | `String` | Übergeben über `args[0].0`. |
  | `repositoryName` | `String` | Übergeben über `args[1].1`. |

  ### getSeoUrlAsValue

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "getSeoUrlAsValue",
    "args": [
      {
        "0": null,
        "1": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="getSeoUrlByLang" type="String">
  | Argument         | Typ      | Beschreibung                |
  | ---------------- | -------- | --------------------------- |
  | `id`             | `String` | Übergeben über `args[0].0`. |
  | `lang`           | `String` | Übergeben über `args[1].1`. |
  | `repositoryName` | `String` | Übergeben über `args[2].2`. |

  ### getSeoUrlByLang

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "getSeoUrlByLang",
    "args": [
      {
        "0": null,
        "1": null,
        "2": null
      }
    ]
  }
  ```
</ResponseField>

<ResponseField name="saveSearchRequest" type="boolean">
  | Argument     | Typ      | Beschreibung                |
  | ------------ | -------- | --------------------------- |
  | `searchTerm` | `String` | Übergeben über `args[0].0`. |

  ### saveSearchRequest

  ```json theme={null}
  {
    "beanId": "marketingServiceImpl",
    "scope": "PROTOTYPE",
    "functionName": "saveSearchRequest",
    "args": [
      {
        "0": null
      }
    ]
  }
  ```
</ResponseField>
