openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_IF_IO_CHECK_OUT_PREPARE:
    post:
      tags:
      - SI19
      operationId: /rfc/IWB_IF_IO_CHECK_OUT_PREPARE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BAD_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
                      ERROR_KEY:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                      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
                CHECK_OUT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      LO_CLASS:
                        type: string
                        maxLength: 10
                        description: Class of logical document
                      LOIO_ID:
                        type: string
                        maxLength: 32
                        description: Logical document
                      TASK_NAME:
                        type: string
                        maxLength: 10
                        description: Task to be executed with log./phys. document
                      START_FLG:
                        type: string
                        maxLength: 1
                        description: 'Start flag for immediate execution of task  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FA_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      FAIO_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      PH_CLASS:
                        type: string
                        maxLength: 10
                        description: Physical document class
                      PHIO_ID:
                        type: string
                        maxLength: 32
                        description: Physical document
                      PHIO_ROLE:
                        type: string
                        maxLength: 10
                        description: Role of object in task
                      COUT_MODE:
                        type: string
                        maxLength: 1
                        description: 'KPro: check-out mode for PHIO edit/readonly/only meta data  enumValues: 0=Only transfer properties to client (no content),2=Actual check-out of physical info object,1=Transfer copy of physical info object to client'
                        enum:
                        - '0'
                        - '2'
                        - '1'
                      OPEN_FLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for indicating documents to be opened  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                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
                INFO_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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_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
                        ERROR_KEY:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                        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
                  CHECK_OUT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        LO_CLASS:
                          type: string
                          maxLength: 10
                          description: Class of logical document
                        LOIO_ID:
                          type: string
                          maxLength: 32
                          description: Logical document
                        TASK_NAME:
                          type: string
                          maxLength: 10
                          description: Task to be executed with log./phys. document
                        START_FLG:
                          type: string
                          maxLength: 1
                          description: 'Start flag for immediate execution of task  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FA_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        FAIO_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        PH_CLASS:
                          type: string
                          maxLength: 10
                          description: Physical document class
                        PHIO_ID:
                          type: string
                          maxLength: 32
                          description: Physical document
                        PHIO_ROLE:
                          type: string
                          maxLength: 10
                          description: Role of object in task
                        COUT_MODE:
                          type: string
                          maxLength: 1
                          description: 'KPro: check-out mode for PHIO edit/readonly/only meta data  enumValues: 0=Only transfer properties to client (no content),2=Actual check-out of physical info object,1=Transfer copy of physical info object to client'
                          enum:
                          - '0'
                          - '2'
                          - '1'
                        OPEN_FLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for indicating documents to be opened  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  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
                  INFO_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
