openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OXT_GENTABDEF_GET:
    post:
      tags:
      - OXT_TASK_API
      operationId: /rfc/OXT_GENTABDEF_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_TASKID:
                  type: string
                  maxLength: 32
                  description: ID of OXT Task
              required:
              - I_TASKID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TAB_HEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLE_NAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        KEY_TABLE:
                          type: array
                          items:
                            type: object
                            properties:
                              FIELDNAME:
                                type: string
                                maxLength: 30
                                description: Fieldname for generic Interface
                              FIELDVALUE:
                                type: string
                                maxLength: 255
                                description: Field Values for Table Entries
                        FIELD_TABLE:
                          type: array
                          items:
                            type: object
                            properties:
                              LINE_ENTRIES:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    FIELDNAME:
                                      type: string
                                      maxLength: 30
                                      description: Fieldname for generic Interface
                                    FIELDVALUE:
                                      type: string
                                      maxLength: 255
                                      description: Field Values for Table Entries
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
