openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_CALL_CONTROLLER:
    post:
      tags:
      - SDCI
      operationId: /rfc/SDOK_CALL_CONTROLLER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  maxLength: 64
                AUTOEND:
                  type: string
                  maxLength: 1
                DOCUSPACE:
                  type: string
                  maxLength: 10
                PACKAGE:
                  type: string
                  maxLength: 64
                VISIBLE:
                  type: string
                  maxLength: 1
                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'
                IROBJECTS:
                  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
                PACKINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1022
                        description: Line for text document contents, length as during upload
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: integer
                    format: int64
                  TESTNAME:
                    type: string
                    maxLength: 64
                  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'
                  IROBJECTS:
                    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
                  PACKINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1022
                          description: Line for text document contents, length as during upload
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
