openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_INFO_OBJECT_CLOSE_REQUEST:
    post:
      tags:
      - SI16
      operationId: /rfc/SIW_INFO_OBJECT_CLOSE_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BLN_END_EDIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-Character Flag
                BLN_SAVE_OK:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-Character Flag
                DST_PHIO:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                LOIO:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                SRC_PHIO:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                DST_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
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      PROPERTY:
                        type: string
                        maxLength: 4
                        description: Component attribute for the application
                SRC_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
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      PROPERTY:
                        type: string
                        maxLength: 4
                        description: Component attribute for the application
              required:
              - LOIO
              - SRC_PHIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  DST_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
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        PROPERTY:
                          type: string
                          maxLength: 4
                          description: Component attribute for the application
                  SRC_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
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        PROPERTY:
                          type: string
                          maxLength: 4
                          description: Component attribute for the application
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
