openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVMCRT_SAT_GET_CORRELATED_RECS:
    post:
      tags:
      - SVMCRT_SAT_ABAP
      operationId: /rfc/SVMCRT_SAT_GET_CORRELATED_RECS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROHIBITED_CORRS:
                  type: array
                  items:
                    type: integer
                    format: int32
                    description: ID of a CPT Unit
                SELECTED_CORRS:
                  type: array
                  items:
                    type: integer
                    format: int32
                    description: ID of a CPT Unit
              required:
              - PROHIBITED_CORRS
              - SELECTED_CORRS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: ID of a CPT Unit
                        ORIGIN:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 50
                              description: Name of a CPT Entity
                            DESCRIPTION:
                              type: string
                              description: ''
                        ACTION:
                          type: object
                          properties:
                            MOD:
                              type: object
                              properties:
                                NAME:
                                  type: string
                                  maxLength: 50
                                  description: Name of a CPT Entity
                                DESCRIPTION:
                                  type: string
                                  description: ''
                            NAME:
                              type: string
                              maxLength: 50
                              description: Name of a CPT Entity
                            DESCRIPTION:
                              type: string
                              description: ''
                        PROVIDER:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 50
                              description: Name of a CPT Entity
                            DESCRIPTION:
                              type: string
                              description: ''
                        THREAD:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 50
                              description: Name of a CPT Entity
                            DESCRIPTION:
                              type: string
                              description: ''
                        LAYER:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 50
                              description: Name of a CPT Entity
                            DESCRIPTION:
                              type: string
                              description: ''
                        START_TS:
                          type: integer
                          format: int64
                          description: ''
                        END_TS:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
