openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIV_BARCODE_GLOBAL:
    post:
      tags:
      - OPTE
      operationId: /rfc/ARCHIV_BARCODE_GLOBAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AR_OBJECT:
                  type: string
                  maxLength: 10
                  description: ArchiveLink document type
                BARCODE:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Value entered for bar code
                NO_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'': No active check'
                NO_DOC_CHANGE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: If 'X' document type cannot be changed manually
                NO_POPUP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'': Bar code dialog box will not be displayed'
                OBJECT_ID:
                  type: string
                  maxLength: 50
                  description: Object ID of SAP object type
                SAP_OBJECT:
                  type: string
                  maxLength: 10
                  description: SAP object type
                UPDATETASK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Update takes place in UPDATE TASK
              required:
              - OBJECT_ID
              - SAP_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: integer
                    format: int64
                    description: Value entered for bar code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
