openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCMS_CONT_IMPORT:
    post:
      tags:
      - SCMS_TR
      operationId: /rfc/SCMS_CONT_IMPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATAFILE:
                  type: string
                  maxLength: 255
                  description: File Name of KPro Transport File
                DIR_LOGGING:
                  type: string
                  maxLength: 1024
                DIR_TRANS:
                  type: string
                  maxLength: 1024
                  description: Character 1024
                REQUEST:
                  type: string
                  maxLength: 20
                  description: Request/Task
                SAPRL:
                  type: string
                  maxLength: 4
                SYSID:
                  type: string
                  maxLength: 8
                TRACE:
                  type: string
                  maxLength: 1
                BAD_CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      STOR_CAT:
                        type: string
                        maxLength: 10
                        description: Category for physical documents
                      STATUS:
                        type: string
                        maxLength: 3
                        description: HTTP status code
                      MESSAGE:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                BAD_DOCUMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      STOR_CAT:
                        type: string
                        maxLength: 10
                        description: Category for physical documents
                      DOC_ID:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      STATUS:
                        type: string
                        maxLength: 3
                        description: HTTP status code
                      MESSAGE:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      STOR_CAT:
                        type: string
                        maxLength: 10
                        description: Category for physical documents
                      URL:
                        type: string
                        maxLength: 4096
                        description: 'SAP ArchiveLink: Data Element for Absolute URI'
                      PROXY:
                        type: string
                        maxLength: 60
                        description: HTTP proxy host name
                      PROXY_USER:
                        type: string
                        maxLength: 60
                        description: User name for HTTP proxy
                      PROXY_PWD:
                        type: string
                        maxLength: 60
                        description: Password for HTTP proxy
              required:
              - DATAFILE
              - DIR_LOGGING
              - SAPRL
              - SYSID
              - TRACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: string
                    maxLength: 256
                  RETURN_CODE:
                    type: string
                    maxLength: 3
                  BAD_CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        STOR_CAT:
                          type: string
                          maxLength: 10
                          description: Category for physical documents
                        STATUS:
                          type: string
                          maxLength: 3
                          description: HTTP status code
                        MESSAGE:
                          type: string
                          maxLength: 256
                          description: Text, 256 Characters
                  BAD_DOCUMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        STOR_CAT:
                          type: string
                          maxLength: 10
                          description: Category for physical documents
                        DOC_ID:
                          type: string
                          maxLength: 32
                          description: UUID in character form
                        STATUS:
                          type: string
                          maxLength: 3
                          description: HTTP status code
                        MESSAGE:
                          type: string
                          maxLength: 256
                          description: Text, 256 Characters
                  CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        STOR_CAT:
                          type: string
                          maxLength: 10
                          description: Category for physical documents
                        URL:
                          type: string
                          maxLength: 4096
                          description: 'SAP ArchiveLink: Data Element for Absolute URI'
                        PROXY:
                          type: string
                          maxLength: 60
                          description: HTTP proxy host name
                        PROXY_USER:
                          type: string
                          maxLength: 60
                          description: User name for HTTP proxy
                        PROXY_PWD:
                          type: string
                          maxLength: 60
                          description: Password for HTTP proxy
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
