openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIVOBJECT_GET_PROTOCOL:
    post:
      tags:
      - OPTV
      operationId: /rfc/ARCHIVOBJECT_GET_PROTOCOL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROTOCOL:
                  type: string
                  maxLength: 8
                VERSION:
                  type: string
                  maxLength: 4
                APPLICATION_CUST:
                  type: array
                  items:
                    type: object
                    properties:
                      S_METHODE:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Sample OLE methods'
                      APPLICATIO:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      POSIT:
                        type: integer
                        format: int32
                        description: Natural number
                      APPLICPHYS:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      KOMMTYP:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Communication type'
                      KIND:
                        type: string
                        maxLength: 1
                        description: SAP ArchiveLink:OLE type (method,set property,get property)
                      OLEVERB:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      EXPORTING:
                        type: string
                        maxLength: 255
                        description: 'SAP ArchiveLink: OLE export parameter'
                      IMPORTING:
                        type: string
                        maxLength: 255
                        description: 'SAP ArchiveLink: Import parameter'
                      PROPERTYNA:
                        type: string
                        maxLength: 255
                        description: 'SAP ArchiveLink: Property name'
                      PROPERTYVA:
                        type: string
                        maxLength: 255
                        description: 'SAP ArchiveLink: Property value'
                      CLEAR_OBJ:
                        type: string
                        maxLength: 1
                        description: SAP ArchiveLink:OLE type (method,set property,get property)
                      RESERVE1:
                        type: string
                        maxLength: 255
                        description: SAP ArchiveLink reserve field
                      RESERVE2:
                        type: string
                        maxLength: 255
                        description: SAP ArchiveLink reserve field
                      RESERVE3:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE4:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE5:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE6:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                EXECUTE_CUST:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_TYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP ArchiveLink: Document class'
                      PLATTFORM:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Platform'
                      AR_STATUS:
                        type: string
                        maxLength: 1
                        description: 'SAP ArchiveLink: Status (X = active, otherwise inactive)  enumValues: X=Active,""=Inactive'
                        enum:
                        - X
                        - ''
                      VIEWER:
                        type: string
                        maxLength: 70
                        description: SAP ArchiveLink file paths
                      SCAN:
                        type: string
                        maxLength: 70
                        description: SAP ArchiveLink file paths
                PROTOCOL_CUST:
                  type: array
                  items:
                    type: object
                    properties:
                      PROTOKOLL:
                        type: string
                        maxLength: 8
                        description: 'SAP ArchiveLink: Storage connection protocol'
                      VERSION:
                        type: string
                        maxLength: 4
                        description: 'SAP ArchiveLink: Version number  enumValues: 0031=SAP ArchiveLink Interface 3.1,*=SAP ArchiveLink Interface Default Version ''*'',0045=SAP ArchiveLink HTTP Content Server Interface 4.5,0046=SAP ArchiveLink HTTP Content Server Interface 4.6'
                        enum:
                        - '0031'
                        - '*'
                        - '0045'
                        - '0046'
                      APPLMETHOD:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Logical methods'
                      DOC_TYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP ArchiveLink: Document class'
                      SUPPORTED:
                        type: string
                        maxLength: 1
                        description: 'SAP ArchiveLink: Status field  enumValues: X=Active,""=Inactive'
                        enum:
                        - X
                        - ''
                      KOMMTYP:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Communication type'
                      APPLICATIO:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      S_METHODE:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Sample OLE methods'
                      RESERVE1:
                        type: string
                        maxLength: 255
                        description: SAP ArchiveLink reserve field
                      RESERVE2:
                        type: string
                        maxLength: 255
                        description: SAP ArchiveLink reserve field
                      RESERVE3:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE4:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE5:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                      RESERVE6:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
              required:
              - PROTOCOL
              - VERSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APPLICATION_CUST:
                    type: array
                    items:
                      type: object
                      properties:
                        S_METHODE:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Sample OLE methods'
                        APPLICATIO:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        POSIT:
                          type: integer
                          format: int32
                          description: Natural number
                        APPLICPHYS:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        KOMMTYP:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Communication type'
                        KIND:
                          type: string
                          maxLength: 1
                          description: SAP ArchiveLink:OLE type (method,set property,get property)
                        OLEVERB:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        EXPORTING:
                          type: string
                          maxLength: 255
                          description: 'SAP ArchiveLink: OLE export parameter'
                        IMPORTING:
                          type: string
                          maxLength: 255
                          description: 'SAP ArchiveLink: Import parameter'
                        PROPERTYNA:
                          type: string
                          maxLength: 255
                          description: 'SAP ArchiveLink: Property name'
                        PROPERTYVA:
                          type: string
                          maxLength: 255
                          description: 'SAP ArchiveLink: Property value'
                        CLEAR_OBJ:
                          type: string
                          maxLength: 1
                          description: SAP ArchiveLink:OLE type (method,set property,get property)
                        RESERVE1:
                          type: string
                          maxLength: 255
                          description: SAP ArchiveLink reserve field
                        RESERVE2:
                          type: string
                          maxLength: 255
                          description: SAP ArchiveLink reserve field
                        RESERVE3:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE4:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE5:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE6:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                  EXECUTE_CUST:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_TYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP ArchiveLink: Document class'
                        PLATTFORM:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Platform'
                        AR_STATUS:
                          type: string
                          maxLength: 1
                          description: 'SAP ArchiveLink: Status (X = active, otherwise inactive)  enumValues: X=Active,""=Inactive'
                          enum:
                          - X
                          - ''
                        VIEWER:
                          type: string
                          maxLength: 70
                          description: SAP ArchiveLink file paths
                        SCAN:
                          type: string
                          maxLength: 70
                          description: SAP ArchiveLink file paths
                  PROTOCOL_CUST:
                    type: array
                    items:
                      type: object
                      properties:
                        PROTOKOLL:
                          type: string
                          maxLength: 8
                          description: 'SAP ArchiveLink: Storage connection protocol'
                        VERSION:
                          type: string
                          maxLength: 4
                          description: 'SAP ArchiveLink: Version number  enumValues: 0031=SAP ArchiveLink Interface 3.1,*=SAP ArchiveLink Interface Default Version ''*'',0045=SAP ArchiveLink HTTP Content Server Interface 4.5,0046=SAP ArchiveLink HTTP Content Server Interface 4.6'
                          enum:
                          - '0031'
                          - '*'
                          - '0045'
                          - '0046'
                        APPLMETHOD:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Logical methods'
                        DOC_TYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP ArchiveLink: Document class'
                        SUPPORTED:
                          type: string
                          maxLength: 1
                          description: 'SAP ArchiveLink: Status field  enumValues: X=Active,""=Inactive'
                          enum:
                          - X
                          - ''
                        KOMMTYP:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Communication type'
                        APPLICATIO:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        S_METHODE:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Sample OLE methods'
                        RESERVE1:
                          type: string
                          maxLength: 255
                          description: SAP ArchiveLink reserve field
                        RESERVE2:
                          type: string
                          maxLength: 255
                          description: SAP ArchiveLink reserve field
                        RESERVE3:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE4:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE5:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                        RESERVE6:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
