openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_STRUCTURE_EXPORT_FOR_DISPL:
    post:
      tags:
      - SI62
      summary: Export structure object for display
      operationId: /rfc/IWB_STRUCTURE_EXPORT_FOR_DISPL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTH_CHECK_FOR_CONTENT:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_NODES_WITHOUT_LOIO:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_NODES_WITHOUT_PHIO:
                  type: string
                  default: ' '
                  maxLength: 1
                PHIO_OBJECT_ID:
                  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
                FILE_ACCESS_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      BINARY_FLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for binary files  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FIRST_LINE:
                        type: integer
                        format: int64
                        description: Line number in internal table
                      LAST_LINE:
                        type: integer
                        format: int64
                        description: Line number in internal table
                      PATHNAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      URI:
                        type: string
                        maxLength: 4096
                        description: 'SAP ArchiveLink: Data Element for Absolute URI'
                FILE_CONTENT_ASCII:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1022
                        description: Line for text document contents, length as during upload
                FILE_CONTENT_BINARY:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
              required:
              - PHIO_OBJECT_ID
      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
                  FILE_ACCESS_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        FILE_SIZE:
                          type: integer
                          format: int64
                          description: File size (in bytes)
                        BINARY_FLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for binary files  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FIRST_LINE:
                          type: integer
                          format: int64
                          description: Line number in internal table
                        LAST_LINE:
                          type: integer
                          format: int64
                          description: Line number in internal table
                        PATHNAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        URI:
                          type: string
                          maxLength: 4096
                          description: 'SAP ArchiveLink: Data Element for Absolute URI'
                  FILE_CONTENT_ASCII:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1022
                          description: Line for text document contents, length as during upload
                  FILE_CONTENT_BINARY:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
