openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_COUNT_SYNBO_FOR_DEVICE:
    post:
      tags:
      - MEREP_TEST_TOOL
      summary: Read 10100/10700 for syncbo and mobile-id
      operationId: /rfc/MEREP_COUNT_SYNBO_FOR_DEVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DEVICE_ID:
                  type: string
                  description: Device-ID
                I_MCD_NAME:
                  type: string
                  description: MCD ()
                I_MCD_NAMESPACE:
                  type: string
                  description: MCD ()
                I_MCD_VERSION:
                  type: string
                  description: Version of the MCD
                I_MOBILE_ID:
                  type: string
                  description: Mobile ID
                I_USER_ID:
                  type: string
                  description: Username
                E_RETURN_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SYNC_KEY:
                        type: integer
                        format: int64
                        description: Synchronization Key
                      R3KEY:
                        type: string
                        maxLength: 100
                        description: R/3 Key Short
                      STRUCT_ID:
                        type: string
                        maxLength: 3
                        description: Structure ID
                      PARENT_SYNC_KEY:
                        type: integer
                        format: int64
                        description: Synchronization Key
                      SCENARIO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
              required:
              - I_DEVICE_ID
              - I_MCD_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RETURN_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SYNC_KEY:
                          type: integer
                          format: int64
                          description: Synchronization Key
                        R3KEY:
                          type: string
                          maxLength: 100
                          description: R/3 Key Short
                        STRUCT_ID:
                          type: string
                          maxLength: 3
                          description: Structure ID
                        PARENT_SYNC_KEY:
                          type: integer
                          format: int64
                          description: Synchronization Key
                        SCENARIO:
                          type: string
                          maxLength: 10
                          description: SyncBO ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
