openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_QUERY_BASEDATA:
    post:
      tags:
      - SWOR
      summary: Request basic data
      operationId: /rfc/SWO_QUERY_BASEDATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                OBJTYPE:
                  type: string
                  maxLength: 10
                TEXT:
                  type: string
                  default: ' '
                  maxLength: 1
              required:
              - OBJTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BASEDATA:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJTYPECLS:
                        type: string
                        maxLength: 2
                        description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                        enum:
                        - '01'
                        - '99'
                        - ''
                        - '06'
                        - '03'
                      MODOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Delegation Type
                      PARENT:
                        type: string
                        maxLength: 10
                        description: Supertype
                      PROGNAME:
                        type: string
                        maxLength: 40
                        description: Implementation program
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Object name
                      EPRIMETHOD:
                        type: string
                        maxLength: 32
                        description: Default method
                      EPRIATTRIB:
                        type: string
                        maxLength: 32
                        description: Default attribute
                      APPLIC:
                        type: string
                        maxLength: 1
                        description: Application
                      VERSION:
                        type: string
                        maxLength: 6
                        description: Object type version
                      NOCLIENT:
                        type: string
                        maxLength: 1
                        description: 'Cross-client object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KEYWORD:
                        type: string
                        maxLength: 20
                        description: Name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      MAXHLPIND:
                        type: integer
                        format: int64
                        description: WinHelp index
                      WINHLPIND:
                        type: integer
                        format: int64
                        description: WinHelp index
                      UDMENTID:
                        type: string
                        maxLength: 26
                        description: Data Model Name
                      AGGREGTYPE:
                        type: string
                        maxLength: 10
                        description: Aggregate Object Type
                      OWNOBJTYPE:
                        type: string
                        maxLength: 1
                        description: 'Object type will be redefined  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OWNHANDLE:
                        type: string
                        maxLength: 1
                        description: 'Own object handle  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GUIOBJTYPE:
                        type: string
                        maxLength: 1
                        description: 'GUI-specific delegation  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLASS_ORG:
                        type: string
                        maxLength: 1
                        description: 'Organizational object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MODELONLY:
                        type: string
                        maxLength: 1
                        description: 'Release status object type  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                        enum:
                        - X
                        - ''
                        - R
                      CLASS_ABS:
                        type: string
                        maxLength: 1
                        description: 'Abstract interface type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Object type generated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CCHILDREN:
                        type: integer
                        format: int64
                        description: Number of direct children
                      DELEGTEXT:
                        type: string
                        maxLength: 20
                        description: Keyword for object types
                      PARENTTEXT:
                        type: string
                        maxLength: 20
                        description: Keyword for object types
                      AGGREGTEXT:
                        type: string
                        maxLength: 20
                        description: Keyword for object types
                      APPLICTEXT:
                        type: string
                        maxLength: 30
                        description: Application texts (program attributes)
                      UDMENTTEXT:
                        type: string
                        maxLength: 60
                        description: Short text
                      ACTIVELANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      RESP_USER:
                        type: string
                        maxLength: 12
                        description: Person responsible
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: First changed by
                      CREA_DATE:
                        type: string
                        format: date
                        description: Date of first change
                      CREA_TIME:
                        type: string
                        maxLength: 6
                        description: Time of first change
                      CREA_REL:
                        type: string
                        maxLength: 4
                        description: Release at Creation
                      CHAN_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHAN_DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHAN_TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      CHAN_REL:
                        type: string
                        maxLength: 4
                        description: Last Changed in Release
                      ACTV_USER:
                        type: string
                        maxLength: 12
                        description: Last activated by
                      ACTV_DATE:
                        type: string
                        format: date
                        description: Date of last activation
                      ACTV_TIME:
                        type: string
                        maxLength: 6
                        description: Time of last activation
                      REL_USER:
                        type: string
                        maxLength: 12
                        description: Released By
                      REL_DATE:
                        type: string
                        format: date
                        description: Date of release
                      REL_REL:
                        type: string
                        maxLength: 4
                        description: Release for release
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
                      KORRNUM:
                        type: string
                        maxLength: 20
                        description: Name of the locked correction
                      TRANSNUM:
                        type: string
                        maxLength: 20
                        description: Last change by transport
                      CLSID_OLB:
                        type: string
                        maxLength: 38
                        description: OLE class ID type OLB
                      CLSID:
                        type: string
                        maxLength: 38
                        description: OLE class ID
                      PARENTCLS:
                        type: string
                        maxLength: 2
                        description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                        enum:
                        - '01'
                        - '99'
                        - ''
                        - '06'
                        - '03'
                      IFAGGREGAT:
                        type: string
                        maxLength: 1
                        description: 'Aggregate interface supported  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OBJCLASS:
                        type: integer
                        format: int64
                        description: 'Object classification  enumValues: 01=Organizational object type,02=Abstract interface type,00=Other'
                        enum:
                        - '01'
                        - '02'
                        - '00'
                      CLASS_BO:
                        type: string
                        maxLength: 1
                        description: 'Business Object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KEYLENGTH:
                        type: integer
                        format: int64
                        description: Length of type-specific key
                      RELEASED:
                        type: string
                        maxLength: 1
                        description: 'Object type is released for operational use  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OBSOLETE:
                        type: string
                        maxLength: 4
                        description: Release in which object type was set as obsolete
                      STATETXT:
                        type: string
                        maxLength: 20
                        description: Text for object type status
                      GENTXT:
                        type: string
                        maxLength: 20
                        description: Text for object type status
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Person Responsible for a Repository Object
                      TEXTLANG:
                        type: string
                        maxLength: 1
                        description: Language in which texts are transferred
                  RETURN:
                    type: object
                    properties:
                      CODE:
                        type: integer
                        format: int64
                        description: Exception for method
                      ERRORTYPE:
                        type: integer
                        format: int64
                        description: 'Error type  enumValues: 1=Application Error,2=System error,0=Temporary error'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      WORKAREA:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MESSAGE:
                        type: integer
                        format: int64
                        description: Message number
                      TEXT:
                        type: string
                        maxLength: 256
                        description: Error Message
                      VARIABLE1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      VARIABLE2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      VARIABLE3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      VARIABLE4:
                        type: string
                        maxLength: 50
                        description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
