openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MODEL_VIEW_REPLICATE:
    post:
      tags:
      - BD22
      operationId: /rfc/MODEL_VIEW_REPLICATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                VIEW:
                  type: object
                  properties:
                    CUSTMODEL:
                      type: string
                      maxLength: 10
                      description: View of ALE model
                    OWNER_LOGS:
                      type: string
                      maxLength: 10
                      description: Maintenance system for view of model
                    GENDATE:
                      type: string
                      format: date
                      description: Changed On
                    GENUSER:
                      type: string
                      maxLength: 12
                      description: Changed by
                    MODELTEXT:
                      type: string
                      maxLength: 80
                      description: Short description of view of distribution model
                    BEGDATE:
                      type: string
                      format: date
                      description: Start Date
                    ENDDATE:
                      type: string
                      format: date
                      description: End Date
                BFLT:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTMODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SNDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      RCVSYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      BOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                      ACTION:
                        type: string
                        maxLength: 1
                        description: 'Filter action  enumValues: ""=Receiver determination,3=Field reduction of method parameter,2=Full reduction of method parameter,1=Parameter filtering'
                        enum:
                        - ''
                        - '3'
                        - '2'
                        - '1'
                      APARAM:
                        type: string
                        maxLength: 32
                        description: Parameter for method
                      COMBINENUM:
                        type: integer
                        format: int64
                        description: Filter group
                      FTYPE:
                        type: string
                        maxLength: 1
                        description: 'Filter type  enumValues: 1=Filter object,3=Reference to message type,2=Class,4=Reference to method'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '4'
                      FOBJTYPE:
                        type: string
                        maxLength: 30
                        description: Filter object type
                      FOBJVALUE:
                        type: string
                        maxLength: 70
                        description: Object value
                      FBOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      FMETHOD:
                        type: string
                        maxLength: 32
                        description: Method
                      FMESTYP:
                        type: string
                        maxLength: 30
                        description: Message Type
                      FFIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                BLINK:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTMODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SNDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      RCVSYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      BOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                MFLT:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTMODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SNDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      RCVSYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      MESTYP:
                        type: string
                        maxLength: 30
                        description: Message Type
                      COMBINENUM:
                        type: integer
                        format: int64
                        description: Filter group
                      FTYPE:
                        type: string
                        maxLength: 1
                        description: 'Filter type  enumValues: 1=Filter object,3=Reference to message type,2=Class,4=Reference to method'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '4'
                      FOBJTYPE:
                        type: string
                        maxLength: 30
                        description: Filter object type
                      FOBJVALUE:
                        type: string
                        maxLength: 70
                        description: Object value
                      FMESTYP:
                        type: string
                        maxLength: 30
                        description: Message Type
                MLINK:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTMODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SNDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      RCVSYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      MESTYP:
                        type: string
                        maxLength: 30
                        description: Message Type
              required:
              - VIEW
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  BFLT:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTMODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SNDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        RCVSYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        BOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                        ACTION:
                          type: string
                          maxLength: 1
                          description: 'Filter action  enumValues: ""=Receiver determination,3=Field reduction of method parameter,2=Full reduction of method parameter,1=Parameter filtering'
                          enum:
                          - ''
                          - '3'
                          - '2'
                          - '1'
                        APARAM:
                          type: string
                          maxLength: 32
                          description: Parameter for method
                        COMBINENUM:
                          type: integer
                          format: int64
                          description: Filter group
                        FTYPE:
                          type: string
                          maxLength: 1
                          description: 'Filter type  enumValues: 1=Filter object,3=Reference to message type,2=Class,4=Reference to method'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                          - '4'
                        FOBJTYPE:
                          type: string
                          maxLength: 30
                          description: Filter object type
                        FOBJVALUE:
                          type: string
                          maxLength: 70
                          description: Object value
                        FBOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        FMETHOD:
                          type: string
                          maxLength: 32
                          description: Method
                        FMESTYP:
                          type: string
                          maxLength: 30
                          description: Message Type
                        FFIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                  BLINK:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTMODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SNDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        RCVSYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        BOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                  MFLT:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTMODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SNDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        RCVSYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        MESTYP:
                          type: string
                          maxLength: 30
                          description: Message Type
                        COMBINENUM:
                          type: integer
                          format: int64
                          description: Filter group
                        FTYPE:
                          type: string
                          maxLength: 1
                          description: 'Filter type  enumValues: 1=Filter object,3=Reference to message type,2=Class,4=Reference to method'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                          - '4'
                        FOBJTYPE:
                          type: string
                          maxLength: 30
                          description: Filter object type
                        FOBJVALUE:
                          type: string
                          maxLength: 70
                          description: Object value
                        FMESTYP:
                          type: string
                          maxLength: 30
                          description: Message Type
                  MLINK:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTMODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SNDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        RCVSYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        MESTYP:
                          type: string
                          maxLength: 30
                          description: Message Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
