openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_GET_PROFILE_LIST:
    post:
      tags:
      - SPFL
      operationId: /rfc/PFL_GET_PROFILE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROFILE_TYPE:
                  type: string
                  maxLength: 1
                PROFILE_HEADER_TBL:
                  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
              required:
              - PROFILE_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROFILE_HEADER_TBL:
                    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.
