openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRM_AI_CONFIG_DIST_RECEIVER:
    post:
      tags:
      - SRM_AI_CONFIGURATION
      operationId: /rfc/SRM_AI_CONFIG_DIST_RECEIVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_SCNID:
                  type: string
                  maxLength: 20
                IM_T_AIOCAT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      AIO_CATEG:
                        type: string
                        maxLength: 10
                        description: Application Object Category
                IM_T_AIOCATT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      AIO_CATEG:
                        type: string
                        maxLength: 10
                        description: Application Object Category
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AIO_CATEG_DESC:
                        type: string
                        maxLength: 50
                        description: Text Field
                IM_T_AIOTCFG:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCNID:
                        type: string
                        maxLength: 20
                        description: Integration Scenario
                      OTYPE:
                        type: string
                        maxLength: 40
                        description: Object Type of Application
                      OCATEG:
                        type: string
                        maxLength: 10
                        description: Application Object Category
                      ASPECT:
                        type: string
                        maxLength: 20
                        description: Application Object Aspect
                      EL_SPS_ID:
                        type: string
                        maxLength: 32
                        description: Element Type of Object
                      REC_SPS_ID:
                        type: string
                        maxLength: 32
                        description: Element Type of Record
                      REC_MODEL_ID:
                        type: string
                        maxLength: 42
                        description: Technical ID of the Rec. Model
                      EL_ANCHOR:
                        type: string
                        maxLength: 60
                        description: Element Anchor
                IM_T_AISCN:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCNID:
                        type: string
                        maxLength: 20
                        description: Integration Scenario
                      LOGSYS_RM:
                        type: string
                        maxLength: 10
                        description: Logical System of Records Management
                      RMS_ID:
                        type: string
                        maxLength: 32
                        description: RMS ID
                IM_T_AISCNAPP:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCNID:
                        type: string
                        maxLength: 20
                        description: Integration Scenario
                      LOGSYS_APP:
                        type: string
                        maxLength: 10
                        description: Logical System of Application
                IM_T_AISCNT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCNID:
                        type: string
                        maxLength: 20
                        description: Integration Scenario
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SCNDESC:
                        type: string
                        maxLength: 60
                        description: Name of Integration Scenario
              required:
              - IM_SCNID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IM_T_AIOCAT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        AIO_CATEG:
                          type: string
                          maxLength: 10
                          description: Application Object Category
                  IM_T_AIOCATT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        AIO_CATEG:
                          type: string
                          maxLength: 10
                          description: Application Object Category
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AIO_CATEG_DESC:
                          type: string
                          maxLength: 50
                          description: Text Field
                  IM_T_AIOTCFG:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCNID:
                          type: string
                          maxLength: 20
                          description: Integration Scenario
                        OTYPE:
                          type: string
                          maxLength: 40
                          description: Object Type of Application
                        OCATEG:
                          type: string
                          maxLength: 10
                          description: Application Object Category
                        ASPECT:
                          type: string
                          maxLength: 20
                          description: Application Object Aspect
                        EL_SPS_ID:
                          type: string
                          maxLength: 32
                          description: Element Type of Object
                        REC_SPS_ID:
                          type: string
                          maxLength: 32
                          description: Element Type of Record
                        REC_MODEL_ID:
                          type: string
                          maxLength: 42
                          description: Technical ID of the Rec. Model
                        EL_ANCHOR:
                          type: string
                          maxLength: 60
                          description: Element Anchor
                  IM_T_AISCN:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCNID:
                          type: string
                          maxLength: 20
                          description: Integration Scenario
                        LOGSYS_RM:
                          type: string
                          maxLength: 10
                          description: Logical System of Records Management
                        RMS_ID:
                          type: string
                          maxLength: 32
                          description: RMS ID
                  IM_T_AISCNAPP:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCNID:
                          type: string
                          maxLength: 20
                          description: Integration Scenario
                        LOGSYS_APP:
                          type: string
                          maxLength: 10
                          description: Logical System of Application
                  IM_T_AISCNT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCNID:
                          type: string
                          maxLength: 20
                          description: Integration Scenario
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        SCNDESC:
                          type: string
                          maxLength: 60
                          description: Name of Integration Scenario
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
