openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIV_GET_DOCTYPE_LIST:
    post:
      tags:
      - OPTV
      operationId: /rfc/ARCHIV_GET_DOCTYPE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROTOKOLL_FLAG:
                  type: string
                  maxLength: 1
                SAP_OBJECT:
                  type: string
                  maxLength: 10
                DOCTYPE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SAP_OBJECT:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Object type of business object'
                      OBJECT_ID:
                        type: string
                        maxLength: 50
                        description: 'SAP ArchiveLink: Object ID (object identifier)'
                      ARCHIV_ID:
                        type: string
                        maxLength: 2
                        description: Content Repository Identification
                      ARC_DOC_ID:
                        type: string
                        maxLength: 40
                        description: 'SAP ArchiveLink: Document ID'
                      AR_OBJECT:
                        type: string
                        maxLength: 10
                        description: Document type
                      AR_DATE:
                        type: string
                        format: date
                        description: 'SAP ArchiveLink: Storage date'
                      DEL_DATE:
                        type: string
                        format: date
                        description: Expiry Date
                      RESERVE:
                        type: string
                        maxLength: 27
                        description: 'SAP ArchiveLink: Reserved for future application'
                DOCTYPE_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      AR_OBJECT:
                        type: string
                        maxLength: 10
                        description: Document type
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OBJECTTEXT:
                        type: string
                        maxLength: 40
                        description: 'SAP ArchiveLink: Document type'
              required:
              - SAP_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SAP_OBJECT_TEXT:
                    type: string
                    maxLength: 80
                  DOCTYPE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SAP_OBJECT:
                          type: string
                          maxLength: 10
                          description: 'SAP ArchiveLink: Object type of business object'
                        OBJECT_ID:
                          type: string
                          maxLength: 50
                          description: 'SAP ArchiveLink: Object ID (object identifier)'
                        ARCHIV_ID:
                          type: string
                          maxLength: 2
                          description: Content Repository Identification
                        ARC_DOC_ID:
                          type: string
                          maxLength: 40
                          description: 'SAP ArchiveLink: Document ID'
                        AR_OBJECT:
                          type: string
                          maxLength: 10
                          description: Document type
                        AR_DATE:
                          type: string
                          format: date
                          description: 'SAP ArchiveLink: Storage date'
                        DEL_DATE:
                          type: string
                          format: date
                          description: Expiry Date
                        RESERVE:
                          type: string
                          maxLength: 27
                          description: 'SAP ArchiveLink: Reserved for future application'
                  DOCTYPE_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        AR_OBJECT:
                          type: string
                          maxLength: 10
                          description: Document type
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        OBJECTTEXT:
                          type: string
                          maxLength: 40
                          description: 'SAP ArchiveLink: Document type'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
