openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XDA_INTERRUPT_JOB:
    post:
      tags:
      - ARCXDA
      summary: Interrupt Write Job(s)
      operationId: /rfc/XDA_INTERRUPT_JOB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXT_USER:
                  type: string
                  maxLength: 16
                  description: Name of a User in an External Management Tool
                OBJECT:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Archiving Object
                REQUESTED_SESSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
                SUCCESSFUL_REQUESTS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_SESSIONS:
                    type: integer
                    format: int32
                    description: Number of Interrupted Sessions
                  REQUESTED_SESSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
                  SUCCESSFUL_REQUESTS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
