openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_AHANDLER:
    post:
      tags:
      - MEREP_RUNTIME
      summary: Handler
      operationId: /rfc/MEREP_AHANDLER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DEVICE_CONTROL:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    MBL_ID:
                      type: string
                      maxLength: 10
                      description: Mobile ID
                    ENABLED:
                      type: string
                      maxLength: 1
                      description: 'Enabled  enumValues: ""=Not active / No,X=Active / Yes'
                      enum:
                      - ''
                      - X
                    MOBILEGUID:
                      type: string
                      maxLength: 72
                      description: Guid Assigned to the Conversation with Device
                    MBL_GROUP:
                      type: string
                      maxLength: 16
                      description: Mobile Group
                    SERVERNAME:
                      type: string
                      maxLength: 16
                      description: Logical Name of Mobile Server
                    TYPCHK:
                      type: string
                      maxLength: 1
                      description: 'Type Conflict Check  enumValues: ""=Not active / No,X=Active / Yes'
                      enum:
                      - ''
                      - X
                    SEGMENT_ID:
                      type: integer
                      format: int64
                      description: Segment ID for Replica DB (Sync.)
                    PROT_HTTP:
                      type: string
                      maxLength: 1
                      description: 'Device Support HTTP Default Checked  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    PROT_SMS:
                      type: string
                      maxLength: 1
                      description: 'Device Support SMS, Default Not Checked  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    STOPONERR:
                      type: string
                      maxLength: 1
                      description: 'Stop Processing If Errors Occur  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    GROUPING:
                      type: string
                      maxLength: 1
                      description: 'Group Messages  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    CPU_TYPE:
                      type: string
                      maxLength: 30
                      description: Key of CPU Type
                    SCREEN_SIZE:
                      type: string
                      maxLength: 30
                      description: Key of Screen Size
                    RAM:
                      type: integer
                      format: int32
                      description: Raw String from the Device
                    OS_VERSION:
                      type: string
                      maxLength: 30
                      description: A Raw String from the Device
                    LANG:
                      type: string
                      maxLength: 1
                      description: Language Key
                    SMS_ADDRESS:
                      type: string
                      maxLength: 80
                      description: 'SAP Mobile: SMS phone number used to contact the device'
                    HTTP_ADDRESS:
                      type: string
                      maxLength: 80
                      description: IP Address or URL Used to Contact the Device
                    UNREGISTERED:
                      type: string
                      maxLength: 1
                      description: 'Registration Cancelled  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    PUSH_ENABLED:
                      type: string
                      maxLength: 1
                      description: 'Push-Enabled  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    APPLICATION:
                      type: string
                      maxLength: 30
                      description: Mobile Component
                    DEVICEGUID:
                      type: string
                      maxLength: 36
                      description: Device GUID
                    USERID:
                      type: string
                      maxLength: 12
                      description: R/3 User ID
                    CREATEDTTM:
                      type: integer
                      format: int64
                      description: Time Stamp Conversation ID was Created
                    CHANGEDTTM:
                      type: integer
                      format: int64
                      description: Time Stamp Conversation ID was Changed
              required:
              - I_DEVICE_CONTROL
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
