openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_PROCESS_JOB_FOR_MOBILEID:
    post:
      tags:
      - MEREP_RUNTIME
      summary: Process distributor job for a mobileID
      operationId: /rfc/MEREP_PROCESS_JOB_FOR_MOBILEID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MBL_ID:
                  type: string
                  maxLength: 10
                  description: Mobile ID
                SCENARIO:
                  type: array
                  items:
                    type: object
                    properties:
                      SCENARIO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      CREDAT:
                        type: string
                        format: date
                        description: Created on
                      CRENAM:
                        type: string
                        maxLength: 12
                        description: Created by
                      CRETIM:
                        type: string
                        maxLength: 6
                        description: Create Time
                      CHGDAT:
                        type: string
                        format: date
                        description: Last Changed on
                      CHGNAM:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      CHGTIM:
                        type: string
                        maxLength: 6
                        description: Last Changed at
                      GENDAT:
                        type: string
                        format: date
                        description: Last Generated Date (Synchronizer)
                      GENNAM:
                        type: string
                        maxLength: 12
                        description: Last Generated by (Synchronizer)
                      GENTIM:
                        type: string
                        maxLength: 6
                        description: Last Generation Time (Synchronizer)
                      SAPRL:
                        type: string
                        maxLength: 4
                        description: SAP Release at Synchronizer Generation
                      VERNUM:
                        type: integer
                        format: int64
                        description: SyncBO Version Number
                      GENVER:
                        type: integer
                        format: int64
                        description: Generation Version Number
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCFLAG:
                        type: string
                        maxLength: 1
                        description: SyncBO Specific RFC Destination
                      SYNCTYPE:
                        type: string
                        maxLength: 3
                        description: Synchronization Type
                      EDITLOCK:
                        type: string
                        maxLength: 1
                        description: Lock Editor
                      TYPCHK:
                        type: string
                        maxLength: 1
                        description: Type Conflict Check
                      PUBLISH:
                        type: string
                        maxLength: 1
                        description: Published
                      FUNC_GROUP:
                        type: string
                        maxLength: 26
                        description: Function Group
                      ITEM_COMPARE:
                        type: string
                        maxLength: 1
                        description: Include Item Compare Logic in Synchronizer
                      SYNTAX_ERROR:
                        type: string
                        maxLength: 1
                        description: Syntax Error Exists
                      META_ERROR:
                        type: string
                        maxLength: 1
                        description: Interface Inconsistency
                      PUSH_ENABLED:
                        type: string
                        maxLength: 1
                        description: Push-Enabled
                      DEFAULT_IS_ASYNC:
                        type: string
                        maxLength: 1
                        description: Default Mode for Synchronization is Asynchronous Mode
                      MASS_DATA:
                        type: string
                        maxLength: 1
                        description: Mass Data
              required:
              - MBL_ID
              - SCENARIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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.
