openapi: 3.0.0
info:
  title: igus updateData igus
  version: 1.0.0
servers:
  - url: https://cloud.connect.igus.net
paths:
  /LIVE_updateData:
    post:
      tags:
        - General
      summary: updateData
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                operation:
                  type: string
                  description: updateDataEncrypted updateDataPlain
                  example: updateDataPlain
                token:
                  type: string
                  example: '{{accessToken}}'
                subscriberKey:
                  type: string
                  example: 0036M00004mBlD9QAK
                email:
                  type: string
                  example: jonas.lamberty+demo21@fluentcx.com
                encryptedSubscriberKey:
                  type: string
                  description: >-
                    irrelevant for SFSC - 000xxxxxxAffinity(encrypted):
                    TJhozF4hInpQn9Poh/lzxzPaegouRToRrWVLquqhLx0=
                encryptedEmail:
                  type: string
                  description: >-
                    irrelevant for SFSC -
                    dDhFKhHSWgZqe2zaiNDnJ0B2BjPxmAqo9m1zAFxBDL8%3d -
                liftRelaxedBlockEmail:
                  type: boolean
                  description: use to remove a relaxed block
                  example: 'true'
                liftStrictBlockEmail:
                  type: boolean
                  description: use to remove a strict block
                  example: 'true'
                sourceCategory:
                  type: string
                  description: static
                  example: SFSC
                source:
                  type: string
                  description: 'static, this is the MA used for "inviteForMarketing" '
                  example: MA00000174
                context:
                  type: string
                  description: >-
                    -> mandatory,use the locale__c field value. This determines
                    the SFMC internal routing (which BU we go to to log and send
                    emails). If not using "locale", we will also use it for
                    determining email language.
                  example: de_AT
                permissionChanges:
                  type: string
                  description: >-
                    change permissions, reference:
                    https://igusdev.atlassian.net/wiki/spaces/DREAM/pages/4518805723/updateData+permissionChanges+sample+Payloads
                  example: >-
                    [{"systemType": "permission","permissionType":
                    "rbtxLowCostRobotix","channel": "email","state":
                    "requested"}]
                sfmcStatusChange:
                  type: string
                  description: use to reset a hardbounce
                  example: active
                locale:
                  type: string
                  description: >-
                    optional. ->defines the language of potential emails sent.
                    if empty, "context" is reused
                  example: de_DE
                utmSource:
                  type: string
                utmMedium:
                  type: string
                utmCampaign:
                  type: string
                utmContent:
                  type: string
                utmTerm:
                  type: string
                affinityChanges:
                  type: string
                  description: for future reference
                  example: >-
                    [{"affinityKey": "11020__sfmc","state":
                    "active","affinityValue":""},{"affinityKey":
                    "trackingParam__sfmc","state":
                    "active","affinityValue":"myValue"}]
                affinitySource:
                  type: string
                  description: for future reference
                  example: MA00000xx
                environment:
                  type: string
                includeTranslations:
                  type: string
                  description: for future reference (affinity)
                test endpoint URL:
                  type: string
                  description: https://cloud.connect.igus.net/TEST_updateData
                live endpoint URL:
                  type: string
                  description: https://cloud.connect.igus.net/LIVE_updateData
                firstname:
                  type: string
                  example: first
                lastname:
                  type: string
                  example: last
                externalKey:
                  type: string
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/x-www-form-urlencoded
        - name: accept-encoding
          in: header
          schema:
            type: string
          example: gzip
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
