openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FLOW_LOGIC_SHUFFLER_CALL:
    post:
      tags:
      - SAL_SHUFFLER
      operationId: /rfc/FLOW_LOGIC_SHUFFLER_CALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SELECTION_STRING:
                  type: string
                  maxLength: 1024
                  description: 'Mon. arch.: Contains selection string in "Name=Value" format'
                SHUFFLERMODE:
                  type: string
                  default: R
                  maxLength: 1
                  description: Single-Character Flag
                SHUFFLER_CONTENT_FB:
                  type: string
                  maxLength: 255
                  description: 'WWW: Name of function module that returns shuffler content'
                SELECTION_CATALOG:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Shuffler selection ID
                      NAME:
                        type: string
                        maxLength: 32
                        description: Shuffler selection name
                      DESCR:
                        type: string
                        maxLength: 255
                        description: Shuffler selection description
                      GROUP:
                        type: string
                        maxLength: 32
                        description: Name of Parameter Group
                      RELOAD:
                        type: string
                        maxLength: 1
                        description: If reload, then "X"
                      SELECTION:
                        type: integer
                        format: int32
                        description: Contains the index of the selected shuffler entry
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Shuffler selection type
                      DEFAULT:
                        type: string
                        maxLength: 255
                        description: Default Value for Shuffler Selection
                      CAPTION:
                        type: string
                        maxLength: 255
                        description: Name of entry for shuffler selection
                      DISPLAY:
                        type: string
                        maxLength: 3
                        description: Shuffler Display Parameters
                      LAYOUT:
                        type: string
                        maxLength: 3
                        description: Shuffler Display Parameters
                      FIELDLEN:
                        type: integer
                        format: int32
                        description: Field Length in Text Input Field
                      MAXFLLEN:
                        type: integer
                        format: int32
                        description: Field Length in Text Input Field
                      MINVALUE:
                        type: integer
                        format: int32
                        description: Defines the Valid Text Input Area
                      MAXVALUE:
                        type: integer
                        format: int32
                        description: Defines the Valid Text Input Area
                SELECTION_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Shuffler selection ID
                      EINDEX:
                        type: integer
                        format: int32
                        description: Index entry for shuffler selection
                      VALUE:
                        type: string
                        maxLength: 128
                        description: Contents of shuffler selection entry
                      CAPTION:
                        type: string
                        maxLength: 255
                        description: Name of entry for shuffler selection
                SELECTION_GROUP:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Name of Parameter Group
                      CAPTION:
                        type: string
                        maxLength: 64
                        description: Parameter Group Heading
                      DESCR:
                        type: string
                        maxLength: 128
                        description: Parameter Group Description
              required:
              - SHUFFLER_CONTENT_FB
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_STRING:
                    type: string
                    maxLength: 255
                    description: Value for WWW query string name/value pair
                  SHUFFLER_INFO:
                    type: object
                    properties:
                      SEL_NUM:
                        type: integer
                        format: int32
                        description: Number of shuffler selections
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Shuffler text
                      CUSTOMIZE:
                        type: string
                        maxLength: 1
                        description: Is 'X' if Shuffler should offer enhanced customizing
                      BREAK:
                        type: string
                        maxLength: 1
                        description: Is 'X' if a line break is permitted for Shuffler
                      LAYOUT:
                        type: string
                        maxLength: 1
                        description: Describes the layout of the Shuffler
                      ONCHANGE:
                        type: string
                        maxLength: 1
                        description: Is 'X' if Shuffler automatically reloads for a parameter
                      PERS_KEY:
                        type: string
                        maxLength: 30
                        description: Personalization object key
                  SELECTION_CATALOG:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Shuffler selection ID
                        NAME:
                          type: string
                          maxLength: 32
                          description: Shuffler selection name
                        DESCR:
                          type: string
                          maxLength: 255
                          description: Shuffler selection description
                        GROUP:
                          type: string
                          maxLength: 32
                          description: Name of Parameter Group
                        RELOAD:
                          type: string
                          maxLength: 1
                          description: If reload, then "X"
                        SELECTION:
                          type: integer
                          format: int32
                          description: Contains the index of the selected shuffler entry
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Shuffler selection type
                        DEFAULT:
                          type: string
                          maxLength: 255
                          description: Default Value for Shuffler Selection
                        CAPTION:
                          type: string
                          maxLength: 255
                          description: Name of entry for shuffler selection
                        DISPLAY:
                          type: string
                          maxLength: 3
                          description: Shuffler Display Parameters
                        LAYOUT:
                          type: string
                          maxLength: 3
                          description: Shuffler Display Parameters
                        FIELDLEN:
                          type: integer
                          format: int32
                          description: Field Length in Text Input Field
                        MAXFLLEN:
                          type: integer
                          format: int32
                          description: Field Length in Text Input Field
                        MINVALUE:
                          type: integer
                          format: int32
                          description: Defines the Valid Text Input Area
                        MAXVALUE:
                          type: integer
                          format: int32
                          description: Defines the Valid Text Input Area
                  SELECTION_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Shuffler selection ID
                        EINDEX:
                          type: integer
                          format: int32
                          description: Index entry for shuffler selection
                        VALUE:
                          type: string
                          maxLength: 128
                          description: Contents of shuffler selection entry
                        CAPTION:
                          type: string
                          maxLength: 255
                          description: Name of entry for shuffler selection
                  SELECTION_GROUP:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Name of Parameter Group
                        CAPTION:
                          type: string
                          maxLength: 64
                          description: Parameter Group Heading
                        DESCR:
                          type: string
                          maxLength: 128
                          description: Parameter Group Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
