openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COM_SES_GET_ATTRS_OF_OBJ_TYPE:
    post:
      tags:
      - COM_SES_SEARCH
      summary: Get the attribute list of one object type
      operationId: /rfc/COM_SES_GET_ATTRS_OF_OBJ_TYPE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_OBJECT_TYPE_KEY:
                  type: object
                  properties:
                    BUSOBJ:
                      type: string
                      maxLength: 10
                      description: Business Object for Search Engine Service (SES)
                    OBJECT_TYPE:
                      type: string
                      maxLength: 10
                      description: Type of Business Object
                IV_LANGUAGE:
                  type: string
                  maxLength: 2
                  description: Language according to ISO 639
              required:
              - IS_OBJECT_TYPE_KEY
              - IV_LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ORDERING_NUMBER:
                          type: integer
                          format: int32
                          description: Status Number on Selection Screen
                        ATTRIBUTE_NAME:
                          type: string
                          maxLength: 64
                          description: Attribute name
                        ATTRIBUTE_TYPE:
                          type: string
                          maxLength: 1
                          description: Attribute type
                        DIGITS_BEFORE:
                          type: integer
                          format: int64
                          description: 'Only for type X: Digits before the decimal point'
                        DIGITS_AFTER:
                          type: integer
                          format: int64
                          description: 'Only for type X: Digits behind the decimal point'
                        FREESTYLE_RELEVANT:
                          type: string
                          maxLength: 1
                          description: Attribute is relevant for freestyle search
                        LANGUAGE_DEPENDENT:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')'
                        DISPLAY_NAME:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        ATTRIBUTE_GROUP:
                          type: string
                          maxLength: 64
                          description: Attribute Group
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
