openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ALL_COMP_INFO:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Find the Input, Output Parameters of a WF Component
      operationId: /rfc/SWFMOD_GET_ALL_COMP_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_BYPASSING_BUFFER:
                  type: string
                  maxLength: 1
                  description: 'Indicator: Test Run'
                ET_COMP_INFO_I:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      DESCRIPTION:
                        type: string
                        maxLength: 80
                        description: Description
                      TYPE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                      COMP_ID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                ET_COMP_INFO_O:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      DESCRIPTION:
                        type: string
                        maxLength: 80
                        description: Description
                      TYPE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                      COMP_ID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                ET_COMP_INFO_OTHER:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      DESCRIPTION:
                        type: string
                        maxLength: 80
                        description: Description
                      TYPE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                      COMP_ID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                ET_COMP_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      OBJ_ID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                ET_ELTTYPE_VALUES_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ELTTYPE:
                        type: string
                        maxLength: 40
                        description: Text, 40 Characters Long
                      VALUE:
                        type: string
                        maxLength: 10
                        description: 'Values for Domains: Single Value / Upper Limit'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Short Text for Fixed Values
                ET_MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                ET_MESSAGE_STRUCT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_AGENT_ASSIGN:
                    type: string
                    maxLength: 1
                    description: Task requires agent assignment. Use only if FM called for 1 specific component
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ET_COMP_INFO_I:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        DESCRIPTION:
                          type: string
                          maxLength: 80
                          description: Description
                        TYPE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
                        COMP_ID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  ET_COMP_INFO_O:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        DESCRIPTION:
                          type: string
                          maxLength: 80
                          description: Description
                        TYPE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
                        COMP_ID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  ET_COMP_INFO_OTHER:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        DESCRIPTION:
                          type: string
                          maxLength: 80
                          description: Description
                        TYPE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
                        COMP_ID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  ET_COMP_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                        OBJ_ID:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  ET_ELTTYPE_VALUES_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ELTTYPE:
                          type: string
                          maxLength: 40
                          description: Text, 40 Characters Long
                        VALUE:
                          type: string
                          maxLength: 10
                          description: 'Values for Domains: Single Value / Upper Limit'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Short Text for Fixed Values
                  ET_MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  ET_MESSAGE_STRUCT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
