openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_XSERVICE_GET_CONTENT:
    post:
      tags:
      - SDOK_XML
      operationId: /rfc/SDOK_XSERVICE_GET_CONTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LINK_MODE:
                  type: string
                  default: L
                  maxLength: 1
                RESOLUTION_MODE:
                  type: string
                  default: ' '
                  maxLength: 1
                ROOT_LOIO:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                XSLT_LOIO:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
              required:
              - ROOT_LOIO
              - XSLT_LOIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_TYPE:
                    type: string
                  RESULT:
                    type: string
                    format: byte
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
