openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ACTION_PROFILES:
    post:
      tags:
      - SWFMOD_ACTION_GEN
      summary: Read all action profiles for an application
      operationId: /rfc/SWFMOD_GET_ACTION_PROFILES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_APPL:
                  type: string
                  maxLength: 30
                  description: 'PPF: Application Name'
                IP_BYPASS_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IP_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: R/3 System, current language
                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
              required:
              - IP_BYPASS_BUFFER
              - IP_LANGU
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: 'PPF: Name of Action Profile'
                        CLASS:
                          type: string
                          maxLength: 30
                          description: 'PPF: Class Name'
                        APPLNAME:
                          type: string
                          maxLength: 30
                          description: Application Name
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'PPF: Description of Action Profile'
                        TIMEPROF:
                          type: string
                          maxLength: 12
                          description: Name of Date Profile
                        OBJCATID:
                          type: string
                          maxLength: 2
                          description: Category of Objects in Persistent Object References
                        OBJTYPEID:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        CNTXTCLS:
                          type: string
                          maxLength: 30
                          description: 'PPF: Class Name'
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
