openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STRALAN_GET_OBJECT_POOL_RFC:
    post:
      tags:
      - STRALAN0
      operationId: /rfc/STRALAN_GET_OBJECT_POOL_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_OBJECT_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 22
                  description: User-Defined Key in Table INDX
                OT_COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                OT_OBJECT_POOL:
                  type: array
                  items:
                    type: object
                    properties:
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      OBJ_NAME:
                        type: string
                        maxLength: 62
                        description: Object Name
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                        enum:
                        - M
                        - ''
                        - D
                        - K
                      SORTFLAG:
                        type: string
                        maxLength: 1
                        description: Sort Criterion
                OT_OBJECT_POOL_K:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      MASTERTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MASTERNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: Do not use
                      TABKEY:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      SORTFLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                OT_SEL_COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Selection option
                      LOW:
                        type: string
                        maxLength: 30
                        description: Software Component
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Software Component
                OT_SEL_PACKAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 30
                        description: Package
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Package
                OT_SEL_TRANS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: ''
                      OPTION:
                        type: string
                        maxLength: 2
                        description: ''
                      LOW:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      HIGH:
                        type: string
                        maxLength: 20
                        description: Request/Task
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_REPOSITORY:
                    type: string
                    maxLength: 1
                    description: Flag (X or blank)
                  EX_SPECIALS:
                    type: string
                    maxLength: 1
                    description: Flag (X or blank)
                  EX_TEXTTABLES:
                    type: string
                    maxLength: 1
                    description: Flag (X or blank)
                  OT_COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                  OT_OBJECT_POOL:
                    type: array
                    items:
                      type: object
                      properties:
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Original Language in Repository objects
                        OBJ_NAME:
                          type: string
                          maxLength: 62
                          description: Object Name
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                          enum:
                          - M
                          - ''
                          - D
                          - K
                        SORTFLAG:
                          type: string
                          maxLength: 1
                          description: Sort Criterion
                  OT_OBJECT_POOL_K:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: Do not use
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        SORTFLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  OT_SEL_COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Selection option
                        LOW:
                          type: string
                          maxLength: 30
                          description: Software Component
                        HIGH:
                          type: string
                          maxLength: 30
                          description: Software Component
                  OT_SEL_PACKAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 30
                          description: Package
                        HIGH:
                          type: string
                          maxLength: 30
                          description: Package
                  OT_SEL_TRANS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ''
                        OPTION:
                          type: string
                          maxLength: 2
                          description: ''
                        LOW:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        HIGH:
                          type: string
                          maxLength: 20
                          description: Request/Task
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
