openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IO_C_CHECK_IN:
    post:
      tags:
      - SI61
      operationId: /rfc/IO_C_CHECK_IN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  maxLength: 70
                  description: Screens, Function Code Triggered by PAI
                FTP_KEEP_OPEN:
                  type: string
                  maxLength: 1
                BAD_PHYS_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
                      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
                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
                PHYS_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
                      DOC_FORMAT:
                        type: string
                        maxLength: 4
                        description: Document format (TEXT, TIFF, RTF, PDF, ...)
                      DOC_FMTVER:
                        type: string
                        maxLength: 10
                        description: Document format version
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      DIRECTORY:
                        type: string
                        maxLength: 255
                        description: Directory on target computer
                PHYS_OBJECTS_WITH_COMPONENTS:
                  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
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      FILE_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of data transfer  enumValues: ""=Type of data transfernot specified,T=Text data,B=Binary data'
                        enum:
                        - ''
                        - T
                        - B
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      PROPERTY:
                        type: string
                        maxLength: 4
                        description: Component attribute for the application
                      DIRECTORY:
                        type: string
                        maxLength: 255
                        description: Directory on target computer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_PHYS_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
                        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
                  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
                  PHYS_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
                        DOC_FORMAT:
                          type: string
                          maxLength: 4
                          description: Document format (TEXT, TIFF, RTF, PDF, ...)
                        DOC_FMTVER:
                          type: string
                          maxLength: 10
                          description: Document format version
                        FILE_SIZE:
                          type: integer
                          format: int64
                          description: File size (in bytes)
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        DIRECTORY:
                          type: string
                          maxLength: 255
                          description: Directory on target computer
                  PHYS_OBJECTS_WITH_COMPONENTS:
                    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
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        FILE_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of data transfer  enumValues: ""=Type of data transfernot specified,T=Text data,B=Binary data'
                          enum:
                          - ''
                          - T
                          - B
                        FILE_SIZE:
                          type: integer
                          format: int64
                          description: File size (in bytes)
                        PROPERTY:
                          type: string
                          maxLength: 4
                          description: Component attribute for the application
                        DIRECTORY:
                          type: string
                          maxLength: 255
                          description: Directory on target computer
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
