openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIVE_ADMIN_CREATE_REMOTE:
    post:
      tags:
      - AADM
      operationId: /rfc/ARCHIVE_ADMIN_CREATE_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT:
                  type: string
                  maxLength: 10
                SYSID:
                  type: string
                  maxLength: 8
                FILES_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
                      ARCHIV_KEY:
                        type: string
                        maxLength: 20
                        description: Key for Archive File
                      CREAT_DATE:
                        type: string
                        format: date
                        description: Creation Date of Archive File
                      CREAT_TIME:
                        type: string
                        maxLength: 6
                        description: Time when an archive file was generated
                      OBJ_COUNT:
                        type: integer
                        format: int32
                        description: Number of objects in an archive file
                      FILE_SIZE:
                        type: number
                        description: Size of an Archive File in Bytes
                      FILENAME:
                        type: string
                        maxLength: 255
                        description: File name of archive file
                      STATUS_OPT:
                        type: string
                        maxLength: 1
                        description: 'Status of archive in storage  enumValues: 3=@0A@ Storage Error,6=@09@ Incompletely Stored,4=@08@ Retrieval is Running,0=@0A@ Not Stored,1=@09@ Storage is Running,5=@08@ Retrieval Error,2=@08@ Stored'
                        enum:
                        - '3'
                        - '6'
                        - '4'
                        - '0'
                        - '1'
                        - '5'
                        - '2'
                      STATUS_FIL:
                        type: string
                        maxLength: 1
                        description: 'Status of an individual archive file of an archive session  enumValues: 7=@06@ Backup Completed,5=@17@ Reloaded,0=@5C@ Write is Running,3=@5B@ Deletion Completed,1=@5D@ Deletion is Running,6=@3H@ Converted,2=@5D@ Archiving Completed,4=@5C@ Terminated'
                        enum:
                        - '7'
                        - '5'
                        - '0'
                        - '3'
                        - '1'
                        - '6'
                        - '2'
                        - '4'
                      COMMENTS:
                        type: string
                        maxLength: 60
                        description: Note for an archive file
                      STATUS_IDX:
                        type: string
                        maxLength: 1
                        description: 'Archive status for index  enumValues: 0=@0A@ No index,1=@08@ Index created,2=@09@ Index deleted'
                        enum:
                        - '0'
                        - '1'
                        - '2'
                      PATHINTERN:
                        type: string
                        maxLength: 60
                        description: Logical path name
                      CREP:
                        type: string
                        maxLength: 30
                        description: Storage Repository for Physical Objects
                      ARCH_DOCID:
                        type: string
                        maxLength: 40
                        description: Document ID of the stored file (ArchiveLink or CMS)
                      DELETING:
                        type: string
                        maxLength: 1
                        description: 'Delete Is Running or Is Scheduled  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                RUN_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
                      OBJECT:
                        type: string
                        maxLength: 10
                        description: Archiving Object
                      CREAT_DATE:
                        type: string
                        format: date
                        description: Date of an archiving session
                      CREAT_TIME:
                        type: string
                        maxLength: 6
                        description: Start time of archive session
                      USER_NAME:
                        type: string
                        maxLength: 12
                        description: Name of the user who started the archiving
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of an archiving session  enumValues: 1=@08@ Complete,6=results from reloading,2=@0A@ Canceled,3=@17@ Reloaded,4=@3H@ Converted,5=is being reloaded,0=@09@ Incomplete'
                        enum:
                        - '1'
                        - '6'
                        - '2'
                        - '3'
                        - '4'
                        - '5'
                        - '0'
                      COMMENTS:
                        type: string
                        maxLength: 60
                        description: Archiving Session Note
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client from which the archiving was started
                      DELETE_FLG:
                        type: string
                        maxLength: 1
                        description: 'Archiving note for administrative data  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OLD_DOCUMN:
                        type: integer
                        format: int64
                        description: Original archiving session ID
                      NOTGUILTY:
                        type: string
                        maxLength: 1
                        description: Archive file invalid
                      SPOOLID:
                        type: integer
                        format: int32
                        description: Spool request number
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      TOBE_INTER:
                        type: string
                        maxLength: 1
                        description: 'Interruption Request for Archiving Session  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INTERRUPTD:
                        type: string
                        maxLength: 1
                        description: 'Archiving Session Interrupted  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      VARIANTWRI:
                        type: string
                        maxLength: 14
                        description: Variant with which the archiving program was executed
                      WRITING:
                        type: string
                        maxLength: 1
                        description: 'Write Phase Running  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TOBE_CONT:
                        type: string
                        maxLength: 1
                        description: 'Continuation Request for Archiving Session  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                SKIP_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ARCHIV_KEY:
                        type: string
                        maxLength: 20
                        description: Key for Archive File
                      ARC_OFFSET:
                        type: integer
                        format: int32
                        description: Archive file data object offset
                VARIA_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUMENT:
                        type: integer
                        format: int64
                        description: Archiving Session Number
                      SEQUENCE:
                        type: integer
                        format: int64
                        description: Number of the record in the archive hierarchy
                      SELNAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTI:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
              required:
              - OBJECT
              - SYSID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILES_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
                        ARCHIV_KEY:
                          type: string
                          maxLength: 20
                          description: Key for Archive File
                        CREAT_DATE:
                          type: string
                          format: date
                          description: Creation Date of Archive File
                        CREAT_TIME:
                          type: string
                          maxLength: 6
                          description: Time when an archive file was generated
                        OBJ_COUNT:
                          type: integer
                          format: int32
                          description: Number of objects in an archive file
                        FILE_SIZE:
                          type: number
                          description: Size of an Archive File in Bytes
                        FILENAME:
                          type: string
                          maxLength: 255
                          description: File name of archive file
                        STATUS_OPT:
                          type: string
                          maxLength: 1
                          description: 'Status of archive in storage  enumValues: 3=@0A@ Storage Error,6=@09@ Incompletely Stored,4=@08@ Retrieval is Running,0=@0A@ Not Stored,1=@09@ Storage is Running,5=@08@ Retrieval Error,2=@08@ Stored'
                          enum:
                          - '3'
                          - '6'
                          - '4'
                          - '0'
                          - '1'
                          - '5'
                          - '2'
                        STATUS_FIL:
                          type: string
                          maxLength: 1
                          description: 'Status of an individual archive file of an archive session  enumValues: 7=@06@ Backup Completed,5=@17@ Reloaded,0=@5C@ Write is Running,3=@5B@ Deletion Completed,1=@5D@ Deletion is Running,6=@3H@ Converted,2=@5D@ Archiving Completed,4=@5C@ Terminated'
                          enum:
                          - '7'
                          - '5'
                          - '0'
                          - '3'
                          - '1'
                          - '6'
                          - '2'
                          - '4'
                        COMMENTS:
                          type: string
                          maxLength: 60
                          description: Note for an archive file
                        STATUS_IDX:
                          type: string
                          maxLength: 1
                          description: 'Archive status for index  enumValues: 0=@0A@ No index,1=@08@ Index created,2=@09@ Index deleted'
                          enum:
                          - '0'
                          - '1'
                          - '2'
                        PATHINTERN:
                          type: string
                          maxLength: 60
                          description: Logical path name
                        CREP:
                          type: string
                          maxLength: 30
                          description: Storage Repository for Physical Objects
                        ARCH_DOCID:
                          type: string
                          maxLength: 40
                          description: Document ID of the stored file (ArchiveLink or CMS)
                        DELETING:
                          type: string
                          maxLength: 1
                          description: 'Delete Is Running or Is Scheduled  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  RUN_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
                        OBJECT:
                          type: string
                          maxLength: 10
                          description: Archiving Object
                        CREAT_DATE:
                          type: string
                          format: date
                          description: Date of an archiving session
                        CREAT_TIME:
                          type: string
                          maxLength: 6
                          description: Start time of archive session
                        USER_NAME:
                          type: string
                          maxLength: 12
                          description: Name of the user who started the archiving
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'Status of an archiving session  enumValues: 1=@08@ Complete,6=results from reloading,2=@0A@ Canceled,3=@17@ Reloaded,4=@3H@ Converted,5=is being reloaded,0=@09@ Incomplete'
                          enum:
                          - '1'
                          - '6'
                          - '2'
                          - '3'
                          - '4'
                          - '5'
                          - '0'
                        COMMENTS:
                          type: string
                          maxLength: 60
                          description: Archiving Session Note
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client from which the archiving was started
                        DELETE_FLG:
                          type: string
                          maxLength: 1
                          description: 'Archiving note for administrative data  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OLD_DOCUMN:
                          type: integer
                          format: int64
                          description: Original archiving session ID
                        NOTGUILTY:
                          type: string
                          maxLength: 1
                          description: Archive file invalid
                        SPOOLID:
                          type: integer
                          format: int32
                          description: Spool request number
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        TOBE_INTER:
                          type: string
                          maxLength: 1
                          description: 'Interruption Request for Archiving Session  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INTERRUPTD:
                          type: string
                          maxLength: 1
                          description: 'Archiving Session Interrupted  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        VARIANTWRI:
                          type: string
                          maxLength: 14
                          description: Variant with which the archiving program was executed
                        WRITING:
                          type: string
                          maxLength: 1
                          description: 'Write Phase Running  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TOBE_CONT:
                          type: string
                          maxLength: 1
                          description: 'Continuation Request for Archiving Session  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  SKIP_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ARCHIV_KEY:
                          type: string
                          maxLength: 20
                          description: Key for Archive File
                        ARC_OFFSET:
                          type: integer
                          format: int32
                          description: Archive file data object offset
                  VARIA_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUMENT:
                          type: integer
                          format: int64
                          description: Archiving Session Number
                        SEQUENCE:
                          type: integer
                          format: int64
                          description: Number of the record in the archive hierarchy
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTI:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
