openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCRM_START_CHECK_RFC:
    post:
      tags:
      - SCRM
      operationId: /rfc/SCRM_START_CHECK_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_CHECK_ID:
                  type: string
                  maxLength: 10
                  description: ID of Check to be Carried Out
                IM_CHECK_MESSAGE_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHKID:
                        type: string
                        maxLength: 10
                        description: 'Check Results Management: Check ID'
                      CHKMSGID:
                        type: string
                        maxLength: 4
                        description: 'Check Results Management: Check Message ID'
                      MSGGRPID:
                        type: string
                        maxLength: 10
                        description: 'Check Results Management: Check Message Groups'
                      CHKMSGPRIO:
                        type: integer
                        format: int64
                        description: 'Check Results Management: Check Message Priority'
                      TXTCHKMSG:
                        type: string
                        maxLength: 60
                        description: 'Check Results Management: Description'
                IM_CLASS_NAME_CHECK:
                  type: string
                  maxLength: 30
                IM_OBJECTS_INDX:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      RELID:
                        type: string
                        maxLength: 2
                        description: Region in IMPORT/EXPORT Data Table
                      SRTFD:
                        type: string
                        maxLength: 22
                        description: User-defined key in table INDX
                      SRTF2:
                        type: integer
                        format: int32
                        description: Next record counter in EXPORT/IMPORT data tables
                      LOEKZ:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPERR:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      AEDAT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      USERA:
                        type: string
                        maxLength: 12
                        description: User name
                      PGMID:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      BEGDT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      ENDDT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      CLUSTR:
                        type: integer
                        format: int32
                        description: Length field for user data in EXPORT/IMPORT tables
                      CLUSTD:
                        type: string
                        format: byte
                        description: Data field for IMPORT/EXPORT database tables
                IM_RFC_DESTINATION:
                  type: string
                  maxLength: 32
                  description: RFC Destination
                IM_RFC_GROUP:
                  type: string
                  maxLength: 20
                  description: RFC Group
                IM_RUN_ID:
                  type: object
                  properties:
                    OBJSETKIND:
                      type: string
                      maxLength: 1
                      description: 'Check Results Management: Type of Object Set to Be Checked  enumValues: T=Test,P=Production,R=Replica'
                      enum:
                      - T
                      - P
                      - R
                    OBJSETID:
                      type: integer
                      format: int64
                      description: 'Check Results Management: ID of Object Set to Be Checked'
                    CHKRUNID:
                      type: integer
                      format: int64
                      description: 'Check Results Management: Check Run ID'
                IM_TASK_NAME:
                  type: string
                  maxLength: 32
                  description: Task Name
              required:
              - IM_CHECK_ID
              - IM_CHECK_MESSAGE_IDS
              - IM_CLASS_NAME_CHECK
              - IM_OBJECTS_INDX
              - IM_RFC_DESTINATION
              - IM_RFC_GROUP
              - IM_RUN_ID
              - IM_TASK_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_CHECK_RESULTS_INDX:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RELID:
                          type: string
                          maxLength: 2
                          description: Region in IMPORT/EXPORT Data Table
                        SRTFD:
                          type: string
                          maxLength: 22
                          description: User-defined key in table INDX
                        SRTF2:
                          type: integer
                          format: int32
                          description: Next record counter in EXPORT/IMPORT data tables
                        LOEKZ:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPERR:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        AEDAT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        USERA:
                          type: string
                          maxLength: 12
                          description: User name
                        PGMID:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        BEGDT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        ENDDT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        CLUSTR:
                          type: integer
                          format: int32
                          description: Length field for user data in EXPORT/IMPORT tables
                        CLUSTD:
                          type: string
                          format: byte
                          description: Data field for IMPORT/EXPORT database tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
