openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UWSP_SEND_MAIL_PARALLEL:
    post:
      tags:
      - UWSP
      operationId: /rfc/UWSP_SEND_MAIL_PARALLEL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ID_APPLICATION:
                  type: string
                  maxLength: 30
                  description: Application
                ID_MAIL_BODY:
                  type: string
                  description: Service ID
                ID_MAIL_HEADER:
                  type: string
                  description: Service ID
                ID_SERVICE_ID:
                  type: string
                  maxLength: 64
                  description: Service ID
                IT_RECEIVER:
                  type: array
                  items:
                    type: object
                    properties:
                      EMAIL:
                        type: string
                        description: E-Mail Address
                      BUSINESS_PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FULLNAME:
                        type: string
                        maxLength: 80
                        description: Full Name of Person
                      APPLICATION:
                        type: string
                        maxLength: 30
                        description: Application
                      SURVEY_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      SURVEY_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      FORM_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      FORM_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      TARGET_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      TARGET_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      DATA_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      DATA_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      STATUS:
                        type: string
                        maxLength: 2
                        description: Send Status of a Questionnaire
                      PUBLISHING_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      COUNTER:
                        type: string
                        maxLength: 16
                        description: Counter
                      JOB_GUID:
                        type: string
                        maxLength: 32
                        description: GUID
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      T_SERVICE_PARAMETER:
                        type: array
                        items:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 254
                              description: Service Parameter Name
                            VALUE:
                              type: string
                              maxLength: 254
                              description: Service Parameter Value
                      T_TARGET_ATTR:
                        type: array
                        items:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 254
                              description: Service Parameter Name
                            VALUE:
                              type: string
                              maxLength: 254
                              description: Service Parameter Value
              required:
              - ID_APPLICATION
              - ID_MAIL_HEADER
              - ID_SERVICE_ID
              - IT_RECEIVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RECEIVER_PACKAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        EMAIL:
                          type: string
                          description: E-Mail Address
                        BUSINESS_PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FULLNAME:
                          type: string
                          maxLength: 80
                          description: Full Name of Person
                        APPLICATION:
                          type: string
                          maxLength: 30
                          description: Application
                        SURVEY_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        SURVEY_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        FORM_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        FORM_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        TARGET_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        TARGET_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        DATA_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        DATA_VERSION:
                          type: integer
                          format: int64
                          description: Version
                        STATUS:
                          type: string
                          maxLength: 2
                          description: Send Status of a Questionnaire
                        PUBLISHING_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        COUNTER:
                          type: string
                          maxLength: 16
                          description: Counter
                        JOB_GUID:
                          type: string
                          maxLength: 32
                          description: GUID
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        T_SERVICE_PARAMETER:
                          type: array
                          items:
                            type: object
                            properties:
                              NAME:
                                type: string
                                maxLength: 254
                                description: Service Parameter Name
                              VALUE:
                                type: string
                                maxLength: 254
                                description: Service Parameter Value
                        T_TARGET_ATTR:
                          type: array
                          items:
                            type: object
                            properties:
                              NAME:
                                type: string
                                maxLength: 254
                                description: Service Parameter Name
                              VALUE:
                                type: string
                                maxLength: 254
                                description: Service Parameter Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
