openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSO_EXPORT_OBJECT_DOCU:
    post:
      tags:
      - RSO_XML_DOC_API
      operationId: /rfc/RSO_EXPORT_OBJECT_DOCU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_OBJNM:
                  type: string
                  maxLength: 40
                I_OBJVERS:
                  type: string
                  default: RS_C_OBJVERS-DELIVERY
                  maxLength: 1
                I_TLOGO:
                  type: string
                  maxLength: 4
              required:
              - I_LANGU
              - I_OBJNM
              - I_OBJVERS
              - I_TLOGO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SX_TLOGO_OBJECT_DOCU:
                    type: object
                    properties:
                      PROPERTIES:
                        type: object
                        properties:
                          TXTLG:
                            type: string
                            maxLength: 60
                            description: Long description
                          TXTSH:
                            type: string
                            maxLength: 20
                            description: Short description
                          ICON:
                            type: string
                            maxLength: 4
                            description: Icon in text fields (substitute display, alias)
                          CONTREL:
                            type: string
                            maxLength: 6
                            description: Content release
                          CONTTIMESTMP:
                            type: integer
                            format: int64
                            description: 'Content time stamp: Last modification to the object by SAP'
                          OBJSTAT:
                            type: string
                            maxLength: 3
                            description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                            enum:
                            - 'OFF'
                            - INA
                            - ACT
                            - PRO
                          OWNER:
                            type: string
                            maxLength: 12
                            description: Owner (Person Responsible)
                          TSTPNM:
                            type: string
                            maxLength: 12
                            description: Last changed by
                          TIMESTMP:
                            type: integer
                            format: int64
                            description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                          IOBJTP:
                            type: string
                            maxLength: 3
                            description: 'Type of an InfoObject  enumValues: DPA=Data packet characteristic,KYF=Key figure,UNI=Unit of measurement,CHA=Characteristic,TIM=Time characteristic'
                            enum:
                            - DPA
                            - KYF
                            - UNI
                            - CHA
                            - TIM
                          QUERY_ELEMENT_TYPE:
                            type: string
                            maxLength: 3
                            description: 'Definition type of an element  enumValues: NIL=No definition,FML=Formula,VAR=Variable,REP=Query,SOB=Filter,CKF=Calculated key figure,SEL=Restricted Key Figure,STR=Structure'
                            enum:
                            - NIL
                            - FML
                            - VAR
                            - REP
                            - SOB
                            - CKF
                            - SEL
                            - STR
                      TLOGO_TEXT:
                        type: string
                        maxLength: 60
                        description: TLOGO Type Text
                      DEPENDENT_OBJECTS:
                        type: array
                        items:
                          type: object
                          properties:
                            TLOGO:
                              type: string
                              maxLength: 4
                              description: 'BW: Object Type (TLOGO)'
                            OBJNM:
                              type: string
                              maxLength: 40
                              description: Object Name in Object Directory
                            ASC_TYPE:
                              type: integer
                              format: int64
                              description: Association type in BW Repository
                            SUBTYPE:
                              type: string
                              maxLength: 4
                              description: 'BW Metadata Repository: Subtype of TLOGO Type'
                            ASC_TYPE_TEXT:
                              type: string
                              maxLength: 60
                              description: Text of Association in BW Repository
                            TXTLG:
                              type: string
                              maxLength: 60
                              description: Long description
                            TXTSH:
                              type: string
                              maxLength: 20
                              description: Short description
                            ICON:
                              type: string
                              maxLength: 4
                              description: Icon in text fields (substitute display, alias)
                            TLOGO_TEXT:
                              type: string
                              maxLength: 60
                              description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
