openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_REPOSITORY:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Looks up the repository information of the modeler
      operationId: /rfc/SWFMOD_GET_REPOSITORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_USER:
                  type: string
                  maxLength: 12
                  description: SAP System, User Logon Name
                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
                ET_USER_WF:
                  type: array
                  items:
                    type: object
                    properties:
                      WF_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      WF_STEXT:
                        type: string
                        maxLength: 12
                        description: Task abbreviation
                      WF_NAME:
                        type: string
                        maxLength: 40
                        description: Task name
                      LAST_WF:
                        type: string
                        maxLength: 1
                        description: General flag
                      CREATED_BY_MODEL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                        enum:
                        - X
                      FOLDER_ID:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      TECHNICAL_NAME:
                        type: string
                        maxLength: 30
                        description: Folder Technical name
                      TXTSH:
                        type: string
                        maxLength: 35
                        description: Short description
                      TXTLG:
                        type: string
                        maxLength: 255
                        description: Long description
                      FOLDER_ID_P:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      FOLDER_ID_CHILD:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                ET_WF_COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      WF_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      WF_STEXT:
                        type: string
                        maxLength: 12
                        description: Task abbreviation
                      WF_NAME:
                        type: string
                        maxLength: 40
                        description: Task name
                      LAST_WF:
                        type: string
                        maxLength: 1
                        description: General flag
                      CREATED_BY_MODEL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                        enum:
                        - X
                      FOLDER_ID:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      TECHNICAL_NAME:
                        type: string
                        maxLength: 30
                        description: Folder Technical name
                      TXTSH:
                        type: string
                        maxLength: 35
                        description: Short description
                      TXTLG:
                        type: string
                        maxLength: 255
                        description: Long description
                      FOLDER_ID_P:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      FOLDER_ID_CHILD:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                ET_WF_TEMPLATES:
                  type: array
                  items:
                    type: object
                    properties:
                      WF_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      WF_STEXT:
                        type: string
                        maxLength: 12
                        description: Task abbreviation
                      WF_NAME:
                        type: string
                        maxLength: 40
                        description: Task name
                      LAST_WF:
                        type: string
                        maxLength: 1
                        description: General flag
                      CREATED_BY_MODEL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                        enum:
                        - X
                      FOLDER_ID:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      TECHNICAL_NAME:
                        type: string
                        maxLength: 30
                        description: Folder Technical name
                      TXTSH:
                        type: string
                        maxLength: 35
                        description: Short description
                      TXTLG:
                        type: string
                        maxLength: 255
                        description: Long description
                      FOLDER_ID_P:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
                      FOLDER_ID_CHILD:
                        type: string
                        maxLength: 32
                        description: Folder unique identification number GUID
              required:
              - IV_USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  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
                  ET_USER_WF:
                    type: array
                    items:
                      type: object
                      properties:
                        WF_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        WF_STEXT:
                          type: string
                          maxLength: 12
                          description: Task abbreviation
                        WF_NAME:
                          type: string
                          maxLength: 40
                          description: Task name
                        LAST_WF:
                          type: string
                          maxLength: 1
                          description: General flag
                        CREATED_BY_MODEL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                          enum:
                          - X
                        FOLDER_ID:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        TECHNICAL_NAME:
                          type: string
                          maxLength: 30
                          description: Folder Technical name
                        TXTSH:
                          type: string
                          maxLength: 35
                          description: Short description
                        TXTLG:
                          type: string
                          maxLength: 255
                          description: Long description
                        FOLDER_ID_P:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        FOLDER_ID_CHILD:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                  ET_WF_COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        WF_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        WF_STEXT:
                          type: string
                          maxLength: 12
                          description: Task abbreviation
                        WF_NAME:
                          type: string
                          maxLength: 40
                          description: Task name
                        LAST_WF:
                          type: string
                          maxLength: 1
                          description: General flag
                        CREATED_BY_MODEL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                          enum:
                          - X
                        FOLDER_ID:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        TECHNICAL_NAME:
                          type: string
                          maxLength: 30
                          description: Folder Technical name
                        TXTSH:
                          type: string
                          maxLength: 35
                          description: Short description
                        TXTLG:
                          type: string
                          maxLength: 255
                          description: Long description
                        FOLDER_ID_P:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        FOLDER_ID_CHILD:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                  ET_WF_TEMPLATES:
                    type: array
                    items:
                      type: object
                      properties:
                        WF_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        WF_STEXT:
                          type: string
                          maxLength: 12
                          description: Task abbreviation
                        WF_NAME:
                          type: string
                          maxLength: 40
                          description: Task name
                        LAST_WF:
                          type: string
                          maxLength: 1
                          description: General flag
                        CREATED_BY_MODEL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Is component/template created within the modeler?  enumValues: X=Yes'
                          enum:
                          - X
                        FOLDER_ID:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        TECHNICAL_NAME:
                          type: string
                          maxLength: 30
                          description: Folder Technical name
                        TXTSH:
                          type: string
                          maxLength: 35
                          description: Short description
                        TXTLG:
                          type: string
                          maxLength: 255
                          description: Long description
                        FOLDER_ID_P:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
                        FOLDER_ID_CHILD:
                          type: string
                          maxLength: 32
                          description: Folder unique identification number GUID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
