openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_ALE_MODEL_GET:
    post:
      tags:
      - BD02
      summary: 'BAPI: read ALE distribution model'
      operationId: /rfc/BAPI_ALE_MODEL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BAPIFILTERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SENDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      REC_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      OBJ_TYPE:
                        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'
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter for method
                      COMBIN:
                        type: integer
                        format: int64
                        description: Filter group
                      FILTERTYPE:
                        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
                      OBJECT:
                        type: string
                        maxLength: 70
                        description: Object value
                BAPILINKS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SENDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      REC_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      OBJ_TYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                BAPIS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                      OBJECTNAME:
                        type: string
                        maxLength: 32
                        description: Object name
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                FILTEROBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      FOBJTYPE:
                        type: string
                        maxLength: 30
                        description: Filter object type
                      OBJECT:
                        type: string
                        maxLength: 70
                        description: Object value
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Short description of filter object values
                FILTEROBJECTTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      FOBJTYPE:
                        type: string
                        maxLength: 30
                        description: Filter object type
                      SHRT_TXT:
                        type: string
                        maxLength: 60
                        description: Short description of filter object type
                      OBJECT_TYP:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                MESSAGETYPEFILTERS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SENDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      REC_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      LOG_MESS:
                        type: string
                        maxLength: 30
                        description: Message Type
                      COMBIN:
                        type: integer
                        format: int64
                        description: Filter group
                      FILTERTYP:
                        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'
                      FILTOBJTYP:
                        type: string
                        maxLength: 30
                        description: Filter object type
                      OBJECT:
                        type: string
                        maxLength: 70
                        description: Object value
                      FLOG_MESS:
                        type: string
                        maxLength: 30
                        description: Message Type
                MESSAGETYPELINKS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SENDSYSTEM:
                        type: string
                        maxLength: 10
                        description: Sender
                      REC_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Receiving logical system
                      LOG_MESS:
                        type: string
                        maxLength: 30
                        description: Message Type
                MESSAGETYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      LOG_MESS:
                        type: string
                        maxLength: 30
                        description: Message Type
                      DESCR:
                        type: string
                        maxLength: 60
                        description: Short description of object
                SYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGSYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Text, 40 Characters Long
                SYSTEMSINVIEWS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      LOGSYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                VIEWS:
                  type: array
                  items:
                    type: object
                    properties:
                      CUST_MODEL:
                        type: string
                        maxLength: 10
                        description: View of ALE model
                      SHRT_TXT:
                        type: string
                        maxLength: 80
                        description: Short description of view of distribution model
      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
                  BAPIFILTERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SENDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        REC_SYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        OBJ_TYPE:
                          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'
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter for method
                        COMBIN:
                          type: integer
                          format: int64
                          description: Filter group
                        FILTERTYPE:
                          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
                        OBJECT:
                          type: string
                          maxLength: 70
                          description: Object value
                  BAPILINKS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SENDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        REC_SYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        OBJ_TYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                  BAPIS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                        OBJECTNAME:
                          type: string
                          maxLength: 32
                          description: Object name
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                  FILTEROBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        FOBJTYPE:
                          type: string
                          maxLength: 30
                          description: Filter object type
                        OBJECT:
                          type: string
                          maxLength: 70
                          description: Object value
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Short description of filter object values
                  FILTEROBJECTTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        FOBJTYPE:
                          type: string
                          maxLength: 30
                          description: Filter object type
                        SHRT_TXT:
                          type: string
                          maxLength: 60
                          description: Short description of filter object type
                        OBJECT_TYP:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                  MESSAGETYPEFILTERS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SENDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        REC_SYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        LOG_MESS:
                          type: string
                          maxLength: 30
                          description: Message Type
                        COMBIN:
                          type: integer
                          format: int64
                          description: Filter group
                        FILTERTYP:
                          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'
                        FILTOBJTYP:
                          type: string
                          maxLength: 30
                          description: Filter object type
                        OBJECT:
                          type: string
                          maxLength: 70
                          description: Object value
                        FLOG_MESS:
                          type: string
                          maxLength: 30
                          description: Message Type
                  MESSAGETYPELINKS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SENDSYSTEM:
                          type: string
                          maxLength: 10
                          description: Sender
                        REC_SYSTEM:
                          type: string
                          maxLength: 10
                          description: Receiving logical system
                        LOG_MESS:
                          type: string
                          maxLength: 30
                          description: Message Type
                  MESSAGETYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        LOG_MESS:
                          type: string
                          maxLength: 30
                          description: Message Type
                        DESCR:
                          type: string
                          maxLength: 60
                          description: Short description of object
                  SYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Text, 40 Characters Long
                  SYSTEMSINVIEWS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        LOGSYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system
                  VIEWS:
                    type: array
                    items:
                      type: object
                      properties:
                        CUST_MODEL:
                          type: string
                          maxLength: 10
                          description: View of ALE model
                        SHRT_TXT:
                          type: string
                          maxLength: 80
                          description: Short description of view of distribution model
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
