openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_LOIOS_XML_STRUCTURE_INFO:
    post:
      tags:
      - SDOK_XML
      operationId: /rfc/SDOK_LOIOS_XML_STRUCTURE_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEPTH:
                  type: integer
                  format: int64
                  default: 0
                  description: Depth of a Structure
                X_FOLLOW_EXPORT_MODEL:
                  type: string
                  default: X
                  maxLength: 1
                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
                RELATION_CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                ROOT_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      READ_ONLY:
                        type: string
                        maxLength: 1
                        description: Flag for Read-Only Mode
                STRUCTURES:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTLEVEL:
                        type: integer
                        format: int64
                        description: Level in a structure
                      CLASSLO:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDLO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASSPH:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDPH:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASSRE:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDRE:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      LOCKED:
                        type: string
                        maxLength: 1
                        description: Flag for "Locked"
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Short Description
                STRUCTURE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTLEVEL:
                        type: integer
                        format: int64
                        description: Level in a structure
                      CLASSLO:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDLO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASSPH:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDPH:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASSRE:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDRE:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      LOCKED:
                        type: string
                        maxLength: 1
                        description: Flag for "Locked"
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Short Description
                      DOCUMENT_FORMAT:
                        type: string
                        maxLength: 64
                        description: Attribute Value
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
                  RELATION_CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                  ROOT_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        READ_ONLY:
                          type: string
                          maxLength: 1
                          description: Flag for Read-Only Mode
                  STRUCTURES:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTLEVEL:
                          type: integer
                          format: int64
                          description: Level in a structure
                        CLASSLO:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDLO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASSPH:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDPH:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASSRE:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDRE:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LOCKED:
                          type: string
                          maxLength: 1
                          description: Flag for "Locked"
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Short Description
                  STRUCTURE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTLEVEL:
                          type: integer
                          format: int64
                          description: Level in a structure
                        CLASSLO:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDLO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASSPH:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDPH:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASSRE:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDRE:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LOCKED:
                          type: string
                          maxLength: 1
                          description: Flag for "Locked"
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Short Description
                        DOCUMENT_FORMAT:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
