openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/AKB_GET_TADIR:
    post:
      tags:
      - PA_AKB
      operationId: /rfc/AKB_GET_TADIR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                OBJ_NAME:
                  type: string
                  maxLength: 40
                  description: Object Name in Object Directory
                OBJ_TYPE:
                  type: string
                  maxLength: 4
                  description: Object Type
              required:
              - OBJ_NAME
              - OBJ_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TADIR:
                    type: object
                    properties:
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      KORRNUM:
                        type: string
                        maxLength: 10
                        description: Request/task up to and including Release 3.0
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Person Responsible for a Repository Object
                      SRCDEP:
                        type: string
                        maxLength: 1
                        description: 'Repair Flag for Repository Object  enumValues: R=Object is in a repair in an unreleased request,""=Object is not in a repair in an unreleased request'
                        enum:
                        - R
                        - ''
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                        enum:
                        - X
                        - T
                        - ''
                      EDTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object can only be edited with a special editor  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      CPROJECT:
                        type: string
                        maxLength: 8
                        description: Internal Use
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      VERSID:
                        type: string
                        maxLength: 20
                        description: Internal Use
                      PAKNOCHECK:
                        type: string
                        maxLength: 1
                        description: 'Exception Indicator for Package Check  enumValues: F=Can be Used as Foreign Key,C=Exception as User: Can call everything (eg system programs),""=No Exception,S=Exception as Provider: Can be Called from Everywhere,X=Exception as User and Provider'
                        enum:
                        - F
                        - C
                        - ''
                        - S
                        - X
                      OBJSTABLTY:
                        type: string
                        maxLength: 1
                        description: 'Release Status of a Development Object  enumValues: ""=Not Supported (Set by Developer),O=Obsolete,N=Not Supported (Set by Default),S=Supported'
                        enum:
                        - ''
                        - O
                        - N
                        - S
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      CRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      DELFLAG:
                        type: string
                        maxLength: 1
                        description: 'Deletion Flag  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      TRANSLTTXT:
                        type: string
                        maxLength: 1
                        description: 'Translate Technical Texts into Development Language  enumValues: X=Translation into Development Languages,""=No Translation'
                        enum:
                        - X
                        - ''
                  TDEVC:
                    type: object
                    properties:
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      INTSYS:
                        type: string
                        maxLength: 10
                        description: Obsolete field (do not use anymore)
                      CONSYS:
                        type: string
                        maxLength: 10
                        description: Obsolete field (do not use anymore)
                      CTEXT:
                        type: string
                        maxLength: 60
                        description: Obsolete field (do not use anymore)
                      KORRFLAG:
                        type: string
                        maxLength: 1
                        description: 'Changes Recorded  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Person responsible for a package
                      PDEVCLASS:
                        type: string
                        maxLength: 4
                        description: Transport Layer in ABAP Workbench
                      DLVUNIT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      COMPONENT:
                        type: string
                        maxLength: 20
                        description: Application Component
                      NAMESPACE:
                        type: string
                        maxLength: 10
                        description: Namespace
                      TPCLASS:
                        type: string
                        maxLength: 1
                        description: 'Flag for Customer Delivery  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      SHIPMENT:
                        type: string
                        maxLength: 8
                        description: Delivery Component
                      PARENTCL:
                        type: string
                        maxLength: 30
                        description: Previous Package
                      APPLICAT:
                        type: string
                        maxLength: 2
                        description: Application area for package
                      ERRSEVRTY:
                        type: string
                        maxLength: 4
                        description: 'Error Severity  enumValues: WARN=Warning,OBSO=Obsolete,ERRO=Error,NONE=No response,INFO=Information'
                        enum:
                        - WARN
                        - OBSO
                        - ERRO
                        - NONE
                        - INFO
                      PERMINHER:
                        type: string
                        maxLength: 1
                        description: 'Flag: Inherit Use Accesses from Surrounding Package  enumValues: X=Package inherits use accesses from parent package,""=Package does not inherit any use accesses'
                        enum:
                        - X
                        - ''
                      INTFPREFX:
                        type: string
                        maxLength: 6
                        description: Prefix for Package Interfaces (Suggested Value)
                      PACKTYPE:
                        type: string
                        maxLength: 1
                        description: 'Package Type (Permitted Object Types)  enumValues: D=Package contains descriptive objects only,F=Package contains functional objects only,""=No restrictions,O=Package Contains Online Text Repository Objects Only'
                        enum:
                        - D
                        - F
                        - ''
                        - O
                      RESTRICTED:
                        type: string
                        maxLength: 1
                        description: 'Constraint on Extending Package  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      MAINPACK:
                        type: string
                        maxLength: 1
                        description: 'Main Package Indicator  enumValues: ""=Not a Main Package,S=Structure Package,X=Main Package'
                        enum:
                        - ''
                        - S
                        - X
                      CREATED_BY:
                        type: string
                        maxLength: 12
                        description: Author
                      CREATED_ON:
                        type: string
                        format: date
                        description: Created on
                      CHANGED_BY:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHANGED_ON:
                        type: string
                        format: date
                        description: Changed On
                      SRV_CHECK:
                        type: string
                        maxLength: 1
                        description: 'Flag for Package Check as Server  enumValues: ""=Check Deactivated,X=Check Activated'
                        enum:
                        - ''
                        - X
                      CLI_CHECK:
                        type: string
                        maxLength: 1
                        description: 'Flag: Package Check as Client  enumValues: ""=Check Deactivated,X=Check Activated'
                        enum:
                        - ''
                        - X
                      EXT_ALIAS:
                        type: string
                        maxLength: 6
                        description: Alias for R/3 Enterprise Extension in Transaction FIBF
                      PROJECT_GUID:
                        type: string
                        format: byte
                        description: GUID for cPro Project
                      PROJECT_PASSDOWN:
                        type: string
                        maxLength: 1
                        description: Pass On Project Assignment for Subpackages
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
