openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/__SAUNIT_GET_METRICS_INTERNAL:
    post:
      tags:
      - SAUNIT_PROG_METRICS
      operationId: /rfc/__SAUNIT_GET_METRICS_INTERNAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROG_NAME:
                  type: string
                  maxLength: 40
                CLAS_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASNAME:
                        type: string
                        maxLength: 30
                        description: Name of Class
                      LITLID:
                        type: integer
                        format: int32
                        description: 'Name of Class: Index in Load Table LITLINDEX'
                      CREFME:
                        type: integer
                        format: int32
                        description: 'Index in Load Table CREF: Entry for This Class'
                      CREFSUPER:
                        type: integer
                        format: int32
                        description: 'Index in Load Table CREF: Entry for Superclass'
                      INHERITLEV:
                        type: integer
                        format: int32
                        description: Inheritance Depth
                      PUBSTAMP:
                        type: string
                        maxLength: 14
                        description: Version of Public Interface
                      PRVSTAMP:
                        type: string
                        maxLength: 14
                        description: Version of Non-Public Interface
                      VTABPUBIND:
                        type: integer
                        format: int32
                        description: 'Index in Load-Tabelle VTAB:  Start of Public Section'
                      VTABPPAIND:
                        type: integer
                        format: int32
                        description: 'Index in Load Table VTAB: Start of Non-Public Section'
                      VTABPRTIND:
                        type: integer
                        format: int32
                        description: 'Index in Load Table VTAB: Start of Protected Section'
                      VTABPRVIND:
                        type: integer
                        format: int32
                        description: 'Index in Load Table VTAB: Start of Private Section'
                      VTABSEGIND:
                        type: integer
                        format: int32
                        description: 'Index in Load-Tabelle VTAB: Last Entry in this Class'
                      INTIRUDI:
                        type: integer
                        format: int32
                        description: 'Index in Load Table INTI: Start of INTI Area'
                      INTILEN:
                        type: integer
                        format: int32
                        description: Length of INTI area
                      CLSATTRXTP:
                        type: integer
                        format: int32
                        description: 'Index in Load Table TYPE: Type of Class Attributes'
                      CLSCNSTXTP:
                        type: integer
                        format: int32
                        description: 'Index in Load Table TYPE: Type of Constants'
                      INSTXTYP:
                        type: integer
                        format: int32
                        description: 'Index in Load Table TYPE: Type of Instance'
                      INSTMEXTYP:
                        type: integer
                        format: int32
                        description: 'Index in Load Table TYPE: Type of ME'
                      PUBOFFS:
                        type: integer
                        format: int32
                        description: Offset of Public Data in Instance
                      EVTDESCOFF:
                        type: integer
                        format: int32
                        description: 'Index in Load Table EVNT: Start of Area for This Class'
                      EVTDESCEND:
                        type: integer
                        format: int32
                        description: 'Index in Load Table EVNT: Index of Last Entry'
                      EVTIPUBCNT:
                        type: integer
                        format: int32
                        description: Number of Public Instance Events
                      EVTIPRVCNT:
                        type: integer
                        format: int32
                        description: Number of Non-Public Instance Events
                      EVTCPUBCNT:
                        type: integer
                        format: int32
                        description: Number of Public Class Events
                      EVTCPRVCNT:
                        type: integer
                        format: int32
                        description: Number of Non-Public Class Events
                      CLFRID:
                        type: integer
                        format: int32
                        description: 'Index in load table CLFR: start of area for this class'
                      CLFRNO:
                        type: integer
                        format: int32
                        description: Size of area in the load table CLFR
                      DSTRFUNCID:
                        type: integer
                        format: int32
                        description: Index of C Destructor in Destructor Table
                      DSTRARGOFF:
                        type: integer
                        format: int32
                        description: Offset of Destructor Argument in Instance
                      LOCALCLASS:
                        type: string
                        maxLength: 1
                        description: 'Flag: Classe is local?'
                      CONSTR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Has class constructor?'
                      CLCONSTR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Has class class constructor?'
                      CLDESTR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Has class class destructor?'
                      DESTR:
                        type: string
                        maxLength: 1
                        description: 'Flag: Class has C destructor?'
                      DESTISPUB:
                        type: string
                        maxLength: 1
                        description: 'Flag: Destructor argument is public?'
                      DESTENDMOD:
                        type: string
                        maxLength: 1
                        description: 'Flag: Destructor also runs at end of mode'
                      ABSTRACT:
                        type: string
                        maxLength: 1
                        description: 'Flag: Class is abstract?'
                      FINAL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Classe is final?'
                      CREATEPROT:
                        type: string
                        maxLength: 1
                        description: 'Flag: create protected?'
                      CREATEPRIV:
                        type: string
                        maxLength: 1
                        description: 'Flag: create private?'
                TRIG_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT:
                        type: integer
                        format: int32
                        description: Offset of First Cont CB of Processing Block
                      EXTO:
                        type: string
                        maxLength: 61
                        description: External Name
                      NEXT:
                        type: integer
                        format: int32
                        description: Flag for similar subsequent event (0 or 1)
                      INIO:
                        type: integer
                        format: int32
                        description: Offset of Event Initial Value in the Load Table INIT
                      INIL:
                        type: integer
                        format: int32
                        description: Length of Local Data in Initial Record Layout for Procedure
                      PCNT:
                        type: integer
                        format: int32
                        description: Number of Data Control Blocks in the DATP Table
                      HASH:
                        type: integer
                        format: int32
                        description: Hash value for the trigger table
                      NAME:
                        type: string
                        maxLength: 4
                        description: 'Internal name of event (..., #PBO, #PAI, Fnnn, Cnnn)'
                      FLOCL:
                        type: string
                        maxLength: 1
                        description: Flag for events with local data (SPACE or X)
                      FSYST:
                        type: string
                        maxLength: 1
                        description: Flag for system events (SYEX or TRDIR-RSTAT = 'S')
                      FFORM:
                        type: string
                        maxLength: 1
                        description: Flag for FORM or FUNCTION (SPACE or X)
                      FUNIT:
                        type: string
                        maxLength: 1
                        description: Flag for FUNCTION (SPACE or X)
                      FMODL:
                        type: string
                        maxLength: 1
                        description: Flag for MODULE (SPACE or X)
                      FGLOB:
                        type: string
                        maxLength: 1
                        description: Flag for FUNCTION with global interface (SPACE or X)
                      FRFC:
                        type: string
                        maxLength: 1
                        description: Flag for RFC function or FORM (SPACE or X)
                      FSYEX:
                        type: string
                        maxLength: 1
                        description: Flag for event SYSTEM-EXIT (SPACE or X)
                      LBAS:
                        type: integer
                        format: int32
                        description: Start of DSEG in Stack Frame
                      LATT:
                        type: integer
                        format: int32
                        description: Start of ATTA in Stack Frame
                      LDAT:
                        type: integer
                        format: int32
                        description: Start of DATTABE_PARAM in Stack Frame
                      LLOC:
                        type: integer
                        format: int32
                        description: Length of Static Part of Stack Frame (Stored in INIT)
                      BCNT:
                        type: integer
                        format: int32
                        description: Number of Local Base Entries (DSEG, ATTA)
                      FMETH:
                        type: string
                        maxLength: 1
                        description: Flag for METHOD (SPACE or X)
                      ENVKIND:
                        type: string
                        maxLength: 1
                        description: 'Type of Environment (I : Interface or C : Klasse)'
                      ENVID:
                        type: integer
                        format: int32
                        description: Index in INTI (ENVKIND = I) or Index in CLAS (ENVKIND = C)
                      DATLBEG:
                        type: integer
                        format: int32
                        description: Index in the Load Table DATL
                      DATLCNT:
                        type: integer
                        format: int32
                        description: Number of Data Control Blocks in the Load Table DATL
              required:
              - PROG_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CLAS_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASNAME:
                          type: string
                          maxLength: 30
                          description: Name of Class
                        LITLID:
                          type: integer
                          format: int32
                          description: 'Name of Class: Index in Load Table LITLINDEX'
                        CREFME:
                          type: integer
                          format: int32
                          description: 'Index in Load Table CREF: Entry for This Class'
                        CREFSUPER:
                          type: integer
                          format: int32
                          description: 'Index in Load Table CREF: Entry for Superclass'
                        INHERITLEV:
                          type: integer
                          format: int32
                          description: Inheritance Depth
                        PUBSTAMP:
                          type: string
                          maxLength: 14
                          description: Version of Public Interface
                        PRVSTAMP:
                          type: string
                          maxLength: 14
                          description: Version of Non-Public Interface
                        VTABPUBIND:
                          type: integer
                          format: int32
                          description: 'Index in Load-Tabelle VTAB:  Start of Public Section'
                        VTABPPAIND:
                          type: integer
                          format: int32
                          description: 'Index in Load Table VTAB: Start of Non-Public Section'
                        VTABPRTIND:
                          type: integer
                          format: int32
                          description: 'Index in Load Table VTAB: Start of Protected Section'
                        VTABPRVIND:
                          type: integer
                          format: int32
                          description: 'Index in Load Table VTAB: Start of Private Section'
                        VTABSEGIND:
                          type: integer
                          format: int32
                          description: 'Index in Load-Tabelle VTAB: Last Entry in this Class'
                        INTIRUDI:
                          type: integer
                          format: int32
                          description: 'Index in Load Table INTI: Start of INTI Area'
                        INTILEN:
                          type: integer
                          format: int32
                          description: Length of INTI area
                        CLSATTRXTP:
                          type: integer
                          format: int32
                          description: 'Index in Load Table TYPE: Type of Class Attributes'
                        CLSCNSTXTP:
                          type: integer
                          format: int32
                          description: 'Index in Load Table TYPE: Type of Constants'
                        INSTXTYP:
                          type: integer
                          format: int32
                          description: 'Index in Load Table TYPE: Type of Instance'
                        INSTMEXTYP:
                          type: integer
                          format: int32
                          description: 'Index in Load Table TYPE: Type of ME'
                        PUBOFFS:
                          type: integer
                          format: int32
                          description: Offset of Public Data in Instance
                        EVTDESCOFF:
                          type: integer
                          format: int32
                          description: 'Index in Load Table EVNT: Start of Area for This Class'
                        EVTDESCEND:
                          type: integer
                          format: int32
                          description: 'Index in Load Table EVNT: Index of Last Entry'
                        EVTIPUBCNT:
                          type: integer
                          format: int32
                          description: Number of Public Instance Events
                        EVTIPRVCNT:
                          type: integer
                          format: int32
                          description: Number of Non-Public Instance Events
                        EVTCPUBCNT:
                          type: integer
                          format: int32
                          description: Number of Public Class Events
                        EVTCPRVCNT:
                          type: integer
                          format: int32
                          description: Number of Non-Public Class Events
                        CLFRID:
                          type: integer
                          format: int32
                          description: 'Index in load table CLFR: start of area for this class'
                        CLFRNO:
                          type: integer
                          format: int32
                          description: Size of area in the load table CLFR
                        DSTRFUNCID:
                          type: integer
                          format: int32
                          description: Index of C Destructor in Destructor Table
                        DSTRARGOFF:
                          type: integer
                          format: int32
                          description: Offset of Destructor Argument in Instance
                        LOCALCLASS:
                          type: string
                          maxLength: 1
                          description: 'Flag: Classe is local?'
                        CONSTR:
                          type: string
                          maxLength: 1
                          description: 'Flag: Has class constructor?'
                        CLCONSTR:
                          type: string
                          maxLength: 1
                          description: 'Flag: Has class class constructor?'
                        CLDESTR:
                          type: string
                          maxLength: 1
                          description: 'Flag: Has class class destructor?'
                        DESTR:
                          type: string
                          maxLength: 1
                          description: 'Flag: Class has C destructor?'
                        DESTISPUB:
                          type: string
                          maxLength: 1
                          description: 'Flag: Destructor argument is public?'
                        DESTENDMOD:
                          type: string
                          maxLength: 1
                          description: 'Flag: Destructor also runs at end of mode'
                        ABSTRACT:
                          type: string
                          maxLength: 1
                          description: 'Flag: Class is abstract?'
                        FINAL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Classe is final?'
                        CREATEPROT:
                          type: string
                          maxLength: 1
                          description: 'Flag: create protected?'
                        CREATEPRIV:
                          type: string
                          maxLength: 1
                          description: 'Flag: create private?'
                  TRIG_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT:
                          type: integer
                          format: int32
                          description: Offset of First Cont CB of Processing Block
                        EXTO:
                          type: string
                          maxLength: 61
                          description: External Name
                        NEXT:
                          type: integer
                          format: int32
                          description: Flag for similar subsequent event (0 or 1)
                        INIO:
                          type: integer
                          format: int32
                          description: Offset of Event Initial Value in the Load Table INIT
                        INIL:
                          type: integer
                          format: int32
                          description: Length of Local Data in Initial Record Layout for Procedure
                        PCNT:
                          type: integer
                          format: int32
                          description: Number of Data Control Blocks in the DATP Table
                        HASH:
                          type: integer
                          format: int32
                          description: Hash value for the trigger table
                        NAME:
                          type: string
                          maxLength: 4
                          description: 'Internal name of event (..., #PBO, #PAI, Fnnn, Cnnn)'
                        FLOCL:
                          type: string
                          maxLength: 1
                          description: Flag for events with local data (SPACE or X)
                        FSYST:
                          type: string
                          maxLength: 1
                          description: Flag for system events (SYEX or TRDIR-RSTAT = 'S')
                        FFORM:
                          type: string
                          maxLength: 1
                          description: Flag for FORM or FUNCTION (SPACE or X)
                        FUNIT:
                          type: string
                          maxLength: 1
                          description: Flag for FUNCTION (SPACE or X)
                        FMODL:
                          type: string
                          maxLength: 1
                          description: Flag for MODULE (SPACE or X)
                        FGLOB:
                          type: string
                          maxLength: 1
                          description: Flag for FUNCTION with global interface (SPACE or X)
                        FRFC:
                          type: string
                          maxLength: 1
                          description: Flag for RFC function or FORM (SPACE or X)
                        FSYEX:
                          type: string
                          maxLength: 1
                          description: Flag for event SYSTEM-EXIT (SPACE or X)
                        LBAS:
                          type: integer
                          format: int32
                          description: Start of DSEG in Stack Frame
                        LATT:
                          type: integer
                          format: int32
                          description: Start of ATTA in Stack Frame
                        LDAT:
                          type: integer
                          format: int32
                          description: Start of DATTABE_PARAM in Stack Frame
                        LLOC:
                          type: integer
                          format: int32
                          description: Length of Static Part of Stack Frame (Stored in INIT)
                        BCNT:
                          type: integer
                          format: int32
                          description: Number of Local Base Entries (DSEG, ATTA)
                        FMETH:
                          type: string
                          maxLength: 1
                          description: Flag for METHOD (SPACE or X)
                        ENVKIND:
                          type: string
                          maxLength: 1
                          description: 'Type of Environment (I : Interface or C : Klasse)'
                        ENVID:
                          type: integer
                          format: int32
                          description: Index in INTI (ENVKIND = I) or Index in CLAS (ENVKIND = C)
                        DATLBEG:
                          type: integer
                          format: int32
                          description: Index in the Load Table DATL
                        DATLCNT:
                          type: integer
                          format: int32
                          description: Number of Data Control Blocks in the Load Table DATL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
