openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_GET_PROF_LIST:
    post:
      tags:
      - SPF2
      operationId: /rfc/PFL_GET_PROF_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HEADER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PFNAME:
                        type: string
                        maxLength: 30
                        description: Name of profile for system parameterization
                      VERSNR:
                        type: integer
                        format: int64
                        description: Version Number
                      TXT:
                        type: string
                        maxLength: 50
                        description: Profile short description
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Profile type for system parameterization
                      STATE:
                        type: string
                        maxLength: 1
                        description: Status of profile for system parameterization
                      CREFPF:
                        type: string
                        maxLength: 30
                        description: 'Start profile: Instance profile used to start programs'
                      MDATE:
                        type: string
                        format: date
                        description: Data of last profile change
                      MTIME:
                        type: string
                        maxLength: 6
                        description: Time of last profile change
                      MUSR:
                        type: string
                        maxLength: 12
                        description: Name of last user to change profile
                      GDATE:
                        type: string
                        format: date
                        description: Data part last profile generation
                      GTIME:
                        type: string
                        maxLength: 6
                        description: Time part last profile generation
                      GUSR:
                        type: string
                        maxLength: 12
                        description: User name of last profile generation
                      PFFILE:
                        type: string
                        maxLength: 60
                        description: Name of profile on operating system level
                      OPSYS:
                        type: string
                        maxLength: 20
                        description: '''uname'' of an application server, corresponds to SY-OPSYS'
                      SYSNR:
                        type: string
                        maxLength: 2
                        description: SAP system number (00 - 99)
                      SYSNAME:
                        type: string
                        maxLength: 3
                        description: SAP System Name
                      SERVERNAME:
                        type: string
                        maxLength: 20
                        description: Server Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBRC:
                    type: integer
                    format: int32
                    description: Return code
                  HEADER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PFNAME:
                          type: string
                          maxLength: 30
                          description: Name of profile for system parameterization
                        VERSNR:
                          type: integer
                          format: int64
                          description: Version Number
                        TXT:
                          type: string
                          maxLength: 50
                          description: Profile short description
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Profile type for system parameterization
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of profile for system parameterization
                        CREFPF:
                          type: string
                          maxLength: 30
                          description: 'Start profile: Instance profile used to start programs'
                        MDATE:
                          type: string
                          format: date
                          description: Data of last profile change
                        MTIME:
                          type: string
                          maxLength: 6
                          description: Time of last profile change
                        MUSR:
                          type: string
                          maxLength: 12
                          description: Name of last user to change profile
                        GDATE:
                          type: string
                          format: date
                          description: Data part last profile generation
                        GTIME:
                          type: string
                          maxLength: 6
                          description: Time part last profile generation
                        GUSR:
                          type: string
                          maxLength: 12
                          description: User name of last profile generation
                        PFFILE:
                          type: string
                          maxLength: 60
                          description: Name of profile on operating system level
                        OPSYS:
                          type: string
                          maxLength: 20
                          description: '''uname'' of an application server, corresponds to SY-OPSYS'
                        SYSNR:
                          type: string
                          maxLength: 2
                          description: SAP system number (00 - 99)
                        SYSNAME:
                          type: string
                          maxLength: 3
                          description: SAP System Name
                        SERVERNAME:
                          type: string
                          maxLength: 20
                          description: Server Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
