openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIVE_ADMIN_GET_JOBS:
    post:
      tags:
      - AADM
      operationId: /rfc/ARCHIVE_ADMIN_GET_JOBS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MAX_NUMBER_OF_JOBS:
                  type: integer
                  format: int32
                  default: 500
                JOBS:
                  type: array
                  items:
                    type: object
                    properties:
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Name of the Archive Job
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Identification Number of the Archive Job
                      OBJECT:
                        type: string
                        maxLength: 10
                        description: Archiving Object
                      VARIANT:
                        type: string
                        maxLength: 14
                        description: Variant with which the archiving program was executed
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
                      ARCHIV_KEY:
                        type: string
                        maxLength: 20
                        description: Key for Archive File
                      USER_NAME:
                        type: string
                        maxLength: 12
                        description: Name of the user who started the archiving
                      JOBTYPE:
                        type: string
                        maxLength: 3
                        description: 'Category of Data Archiving Job  enumValues: PRE=Preprocessing Job,RET=Retrieval Job,STO=Storage Job,WRP=Write Job from Parallel Process Scheduling,SUB=Schedule Job,FIN=Postprocessing Job (from SARA),DEL=Delete Job,END=Postprocessing Job (from ADK),IDX=Index Job,CON=Conversion Job,REL=Reload Job,REA=Write Job,WRC=Continuation Write Job (Only Used as Subtype)'
                        enum:
                        - PRE
                        - RET
                        - STO
                        - WRP
                        - SUB
                        - FIN
                        - DEL
                        - END
                        - IDX
                        - CON
                        - REL
                        - REA
                        - WRC
                      EXT_USER:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: Name of user in external management tool'
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client from which the archiving was started
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBS:
                    type: array
                    items:
                      type: object
                      properties:
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Name of the Archive Job
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Identification Number of the Archive Job
                        OBJECT:
                          type: string
                          maxLength: 10
                          description: Archiving Object
                        VARIANT:
                          type: string
                          maxLength: 14
                          description: Variant with which the archiving program was executed
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
                        ARCHIV_KEY:
                          type: string
                          maxLength: 20
                          description: Key for Archive File
                        USER_NAME:
                          type: string
                          maxLength: 12
                          description: Name of the user who started the archiving
                        JOBTYPE:
                          type: string
                          maxLength: 3
                          description: 'Category of Data Archiving Job  enumValues: PRE=Preprocessing Job,RET=Retrieval Job,STO=Storage Job,WRP=Write Job from Parallel Process Scheduling,SUB=Schedule Job,FIN=Postprocessing Job (from SARA),DEL=Delete Job,END=Postprocessing Job (from ADK),IDX=Index Job,CON=Conversion Job,REL=Reload Job,REA=Write Job,WRC=Continuation Write Job (Only Used as Subtype)'
                          enum:
                          - PRE
                          - RET
                          - STO
                          - WRP
                          - SUB
                          - FIN
                          - DEL
                          - END
                          - IDX
                          - CON
                          - REL
                          - REA
                          - WRC
                        EXT_USER:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: Name of user in external management tool'
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client from which the archiving was started
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
