openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_TREE_GET_BUSINESS_OBJECTS:
    post:
      tags:
      - SWOT
      summary: Read all BOs and org. types assigned to component
      operationId: /rfc/SWO_TREE_GET_BUSINESS_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOBJECTS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read short texts for object types
                BUSOBJECTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read short texts for object types
                COMPONENT:
                  type: string
                  maxLength: 20
                  description: Application component
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Read short texts for object types
                OBJECTS_WITH_API_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read short texts for object types
                ORGOBJECTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read short texts for object types
                WITH_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read short texts for object types
                OBJECTTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 10
                        description: Object Type
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Object name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      CLASS_BO:
                        type: string
                        maxLength: 1
                        description: 'Business Object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLASS_ORG:
                        type: string
                        maxLength: 1
                        description: 'Organizational object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ISLINK:
                        type: string
                        maxLength: 1
                        description: Reference
                      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
                      DELEGTYPE:
                        type: string
                        maxLength: 10
                        description: Delegation Type
              required:
              - COMPONENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECTTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 10
                          description: Object Type
                        EDITELEM:
                          type: string
                          maxLength: 32
                          description: Object name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        CLASS_BO:
                          type: string
                          maxLength: 1
                          description: 'Business Object  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLASS_ORG:
                          type: string
                          maxLength: 1
                          description: 'Organizational object type  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ISLINK:
                          type: string
                          maxLength: 1
                          description: Reference
                        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
                        DELEGTYPE:
                          type: string
                          maxLength: 10
                          description: Delegation Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
