openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_GET_USAGE:
    post:
      tags:
      - STERM_USAGE
      operationId: /rfc/TERM_GET_USAGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONCEPT:
                  type: string
                  maxLength: 32
                DISPLAY_USAGE:
                  type: object
                  properties:
                    BAPIFLAG:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                TITEL:
                  type: string
                  maxLength: 60
                USAGE_TYPE:
                  type: string
                  default: ' '
                  maxLength: 32
                REFERENCES:
                  type: array
                  items:
                    type: object
                    properties:
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: 'Hypertext: Object Class'
                      OBJ_NAME:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      OBJ_EXTEND:
                        type: string
                        maxLength: 60
                        description: CHAR60 data element for SYST
                      OBJ_TITLE:
                        type: string
                        maxLength: 60
                        description: CHAR60 data element for SYST
                      CREA_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CREA_NAME:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      CREA_ORG:
                        type: string
                        maxLength: 10
                        description: Address number
                      CREA_PERS:
                        type: string
                        maxLength: 10
                        description: Person number
                      CHAN_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CHAN_NAME:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      CHAN_ORG:
                        type: string
                        maxLength: 10
                        description: Address number
                      CHAN_PERS:
                        type: string
                        maxLength: 10
                        description: Person number
              required:
              - CONCEPT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REFERENCES:
                    type: array
                    items:
                      type: object
                      properties:
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: 'Hypertext: Object Class'
                        OBJ_NAME:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        OBJ_EXTEND:
                          type: string
                          maxLength: 60
                          description: CHAR60 data element for SYST
                        OBJ_TITLE:
                          type: string
                          maxLength: 60
                          description: CHAR60 data element for SYST
                        CREA_TSTUT:
                          type: integer
                          format: int64
                          description: Timestamp (date and time) related to UTC (GMT)
                        CREA_NAME:
                          type: string
                          maxLength: 12
                          description: Author of the Repository object
                        CREA_ORG:
                          type: string
                          maxLength: 10
                          description: Address number
                        CREA_PERS:
                          type: string
                          maxLength: 10
                          description: Person number
                        CHAN_TSTUT:
                          type: integer
                          format: int64
                          description: Timestamp (date and time) related to UTC (GMT)
                        CHAN_NAME:
                          type: string
                          maxLength: 12
                          description: Author of the Repository object
                        CHAN_ORG:
                          type: string
                          maxLength: 10
                          description: Address number
                        CHAN_PERS:
                          type: string
                          maxLength: 10
                          description: Person number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
