openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMS_AGG_GET_METADATA:
    post:
      tags:
      - SXMS_MSGAGG_RFC_PROC
      operationId: /rfc/SXMS_AGG_GET_METADATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION_NAME:
                  type: string
                  maxLength: 20
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
              required:
              - APPLICATION_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AGGREGATION_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFILE_NAME:
                          type: string
                          maxLength: 20
                          description: Char 20
                        PROFILE_TEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        AGGREGATION_START:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        AGGREGATION_TSTMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        AGGREGATION_ATTRIBUTES:
                          type: object
                          properties:
                            ATTRIBUTE_GROUP:
                              type: array
                              items:
                                type: object
                                properties:
                                  NAME:
                                    type: string
                                    maxLength: 30
                                    description: 'SAP XI Status Overview: Name Attribute Group'
                                  ATTRIBUTES:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        NAME:
                                          type: string
                                          maxLength: 30
                                          description: 'SAP XI Status Overview: Aggregration Attribute Name'
                                        TEXT:
                                          type: string
                                          maxLength: 60
                                          description: Short Description of Repository Objects
                                        DATA_TYPE:
                                          type: string
                                          maxLength: 1
                                          description: Single-Character Flag
                                        LENGHT:
                                          type: integer
                                          format: int32
                                          description: Natural number
                        AGGREGATION_VALUES:
                          type: object
                          properties:
                            AGGREGATION_GROUP:
                              type: array
                              items:
                                type: object
                                properties:
                                  NAME:
                                    type: string
                                    maxLength: 30
                                    description: 'SAP XI Status Overview: Group Aggregration Values'
                                  ATTRIBUTE_GROUP_REF:
                                    type: string
                                    maxLength: 30
                                    description: 'SAP XI Status Overview: Name Attribute Group'
                                  AGGREGATION_ATTRIBUTE:
                                    type: object
                                    properties:
                                      NAME:
                                        type: string
                                        maxLength: 30
                                        description: 'SAP XI Status Overview: Aggregration Attribute Name'
                                      TEXT:
                                        type: string
                                        maxLength: 60
                                        description: Short Description of Repository Objects
                                      DATA_TYPE:
                                        type: string
                                        maxLength: 1
                                        description: Single-Character Flag
                                      LENGHT:
                                        type: integer
                                        format: int32
                                        description: Natural number
                                  ATTRIBUTE_VALUES:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        ATTRIBUTE_VALUE:
                                          type: string
                                          maxLength: 10
                                          description: 'SAP XI Status Overview: Attribute Value'
                                        VALUE_TEXT:
                                          type: string
                                          maxLength: 60
                                          description: Short Description of Repository Objects
                                        HOLD_KEY:
                                          type: string
                                          maxLength: 1
                                          description: General Flag
                                        AGG_ACTION_REF:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              REFERENCE_NAME:
                                                type: string
                                                maxLength: 20
                                                description: 'SAP XI Status Overview: Action for Attribute Value'
                                  AGGREGATION_ACTIONS:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        ACTION_NAME:
                                          type: string
                                          maxLength: 20
                                          description: 'SAP XI Status Overview: Action for Attribute Value'
                                        ACTION_TEXT:
                                          type: string
                                          maxLength: 60
                                          description: Short Description of Repository Objects
                                  ATTRIBUTE_GROUPS:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        NAME:
                                          type: string
                                          maxLength: 30
                                          description: 'SAP XI Status Overview: Group Attribute Values'
                                        TEXT:
                                          type: string
                                          maxLength: 60
                                          description: Short Description of Repository Objects
                                        ATTR_VALUE_MAPPING:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              ATTRIBUTE_VALUE:
                                                type: string
                                                maxLength: 10
                                                description: 'SAP XI Status Overview: Attribute Value'
                        AGGREGATION_PERIODS:
                          type: array
                          items:
                            type: object
                            properties:
                              PERIOD_TYPE:
                                type: string
                                maxLength: 1
                                description: 'SAP XI Status Overview: Aggregation Period'
                              RETENTION_COUNT:
                                type: integer
                                format: int32
                                description: 'SAP XI Status Overview: Number of Aggreation Periods'
                        AGGREGATION_VIEWS:
                          type: array
                          items:
                            type: object
                            properties:
                              NAME:
                                type: string
                                maxLength: 30
                                description: Field Name
                              TEXT:
                                type: string
                                maxLength: 60
                                description: Short Description of Repository Objects
                              VIEW_REFERENCE:
                                type: string
                                maxLength: 30
                                description: Field Name
                              ENTRY_VIEW:
                                type: string
                                maxLength: 1
                                description: General Flag
                              DEFAULT_VIEW:
                                type: string
                                maxLength: 1
                                description: General Flag
                              AGGREGATION_ATTRIBUTES:
                                type: object
                                properties:
                                  ATTRIBUTE_GROUP_REF:
                                    type: string
                                    maxLength: 30
                                    description: 'SAP XI Status Overview: Name Attribute Group'
                                  ATTRIBUTE_REFERENCE:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        REFERENCE_NAME:
                                          type: string
                                          maxLength: 30
                                          description: 'SAP XI Status Overview: Aggregration Attribute Name'
                              AGGREGATION_VALUES:
                                type: object
                                properties:
                                  AGGREGATION_GROUP_REF:
                                    type: string
                                    maxLength: 30
                                    description: 'SAP XI Status Overview: Group Aggregration Values'
                                  ATTRIBUTE_GROUP_REF:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        REFERENCE_NAME:
                                          type: string
                                          maxLength: 30
                                          description: 'SAP XI Status Overview: Group Attribute Values'
                  RETURN_TAB:
                    type: array
                    items:
                      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
