1 Overview 1 1.1 Configuration on MACH Web Portal 1



Similar documents
How to generate an APNs Certificate to use the Apple MDM protocol via the portal

Copyright 2013, 3CX Ltd.

Administering Jive Mobile Apps

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Using the Push Notifications Extension Part 1: Certificates and Setup

Cloud Services MDM. Control Panel Provisioning Guide

Mobility Manager 9.5. Installation Guide

Swisscom Mobile Device Services Quick Start Guide: Set-up Remote Management basic. Mobile Device Services Februar 2014

Developer Guide: REST API Applications. SAP Mobile Platform 2.3 SP03

Mobile Device Management Version 8. Last updated:

Meeting Rooms User Manual

Configuration Guide. BES12 Cloud

GCM for Android Setup Guide

Sophos Mobile Control Installation prerequisites form

Mobility Manager 9.0. Installation Guide

Salesforce Mobile Push Notifications Implementation Guide

Sophos Mobile Control Startup guide. Product version: 3

Generating an Apple Enterprise MDM Certificate

Comodo Mobile Device Manager Software Version 3.0

GETTING STARTED GUIDE

Sophos Mobile Control Startup guide. Product version: 3.5

This release bulletin relates to Version build 2701 of the Swivel Authentication Platform and other new capabilities.

How to Obtain an APNs Certificate for CA MDM

QMX ios MDM Pre-Requisites and Installation Guide

zevent Mobile Application

Guide for Generating. Apple Push Notification Service Certificate

NOTE: New directions for accessing the Parent Portal using Single Sign On

CA Service Desk Manager - Mobile Enabler 2.0

Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15

Comodo Mobile Device Manager Software Version 1.0

Employee Active Directory Self-Service Quick Setup Guide

Configuring an ios App Store application

SAP Best Practices for SAP Mobile Secure Cloud Configuration March 2015

A Brief Insight on IOS deployment in Education System- need for 3 rd Platform implementation in Schools

Sophos Mobile Control User guide for Apple ios. Product version: 4

PRACTICE LINK. Getting Started. version 1.0.x. Digita Support: Digita Sales: digita.com

Salesforce Mobile Push Notifications Implementation Guide

SAP NetWeaver Fiori. For more information, see "Creating and enabling a trusted provider for Centrify" on page

Centrify Mobile Authentication Services

Knappsack ios Build and Deployment Guide

Mobile Push Architectures

Connected Data. Connected Data requirements for SSO

EasyPush Push Notifications Extension for ios

ios Team Administration Guide (Legacy)

SP-initiated SSO for Smartsheet is automatically enabled when the SAML feature is activated.

Enterprise Mobility Management Migration Migrating from Legacy EMM to an epo Managed EMM Environment. Paul Luetje Enterprise Solutions Architect

Configuring. SugarCRM. Chapter 121

What s New Guide Time To Know Create

Cloud Services MDM. Overview & Setup Admin Guide

Architecture and Data Flow Overview. BlackBerry Enterprise Service Version: Quick Reference

NAS 242 Using AiMaster on Your Mobile Devices

BES10 Cloud architecture and data flows

Configuration Guide BES12. Version 12.2

Sophos Mobile Control as a Service Startup guide. Product version: 3.5

Dell Mobile Management. Apple Device Enrollment Program

Sophos Mobile Control User guide for Windows Phone 8. Product version: 3.5

For details about using automatic user provisioning with Salesforce, see Configuring user provisioning for Salesforce.

Introduction to Mobile Application Management (MAM)

Sophos Mobile Control Installation guide. Product version: 3.5

Windows 8.1 and Windows 10 push

Sophos Mobile Control Installation guide. Product version: 3

Sophos Mobile Control Installation guide

Configuring Salesforce

umobilecam Setup Guide All-in-One Mobile Surveillance for Android, ios, Mac, Windows Webcam, IP camera (version 1.0)

MDM User Guide June 2012

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

DreamFactory on Microsoft SQL Azure

PrinterOn Embedded Application For Samsung Printers and MFPs

App Distribution Guide

AT&T Synaptic Storage as a Service SM Getting Started Guide

BlackBerry Universal Device Service. Demo Access. AUTHOR: System4u

JPX-LEI User Guide 2014/8/1. Japan Exchange Group, Inc. / Tokyo Stock Exchange, Inc. Copyright 2014 Tokyo Stock Exchange, Inc. All rights reserved.

Getting Started with the icontact API

QUICK INSTALLATION GUIDE ACTIVATE

AppConnect FAQ for MobileIron Technology Partners! AppConnect Overview

Web Application Firewall

WHITEPAPER. SECUREAUTH 2-FACTOR AS A SERVICE 2FaaS

PUBLIC SAP HANA Cloud Platform Mobile Services

Sage CRM. Sage CRM 2016 R1 Mobile Guide

Configuring. SuccessFactors. Chapter 67

Adobe Marketing Cloud Adobe Mobile Services

Mobile Iron User Guide

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, Integration Guide IBM

IBM API Management Overview IBM Corporation

Configuring SuccessFactors

Building Secure Applications. James Tedrick

Sophos Mobile Control SaaS startup guide. Product version: 6

Radia Cloud. User Guide. For the Windows operating systems Software Version: Document Release Date: June 2014

Sophos Mobile Control Super administrator guide. Product version: 3

McAfee Enterprise Mobility Management 11.0 Software

Sophos Mobile Control User guide for Apple ios

Vodafone Secure Device Manager Administration User Guide

ADMINISTRATOR GUIDE FOR USA MOBILITY AMC SELECT

Symantec Mobile Management 7.2 SP3 MR1 Release Notes

APNS Certificate generating and installation

Kaspersky Security for Mobile Administrator's Guide

Deltek Touch Time & Expense for GovCon. User Guide for Triumph

Secure Mail Message Retrieval Instructions

Cloud Elements! Events Management BETA! API Version 2.0

Transcription:

API Guide Version 2

Table of Content 1 Overview 1 1.1 Configuration on MACH Web Portal 1 1.2 Other Pre-requisites 1 1.2.1 Apple Push SSL Certificate 1 1.2.2 Android GCM Key 2 1.2.3 Enabling Push Notification within your code 2 2 Registration API 3 2.1 Overview 3 2.2 Parameters 3 3 Send Message API 5 3.1 Overview 5 3.2 Parameters 5 4 Need Help? 6

MACH API Guide v2 Page 1 of 8 1 Overview MACH is designed to make your life as a mobile app developer easier by providing you a reliable cloud-based platform that is pre-integrated to Apple's Push Network and Google's Cloud Messaging service. You have your mobile app call our simple HTTP-based API, and in no time you can start broadcasting large volume Push Notifications to your app. There are two main API types: A) Registration API This is called each time your mobile app launches. It reports important information to the MACH service including the latest Push Notification token assigned by Apple or Google to your mobile app. B) Push Notification API You call this API to send a Push Notification to a specified device (identified by its unique device ID or a friendly tag name. 1.1 Configuration on MACH Web Portal You will require an account on the MACH Web Portal for configuring some essential information regarding your mobile app, before you can start using the MACH API. You can get a free MACH account at https://app.themach.com The MACH Web Portal also provides you features such as a broadcast interface, device tagging, analytics and message reports. 1.2 Other Pre-requisites 1.2.1 Apple Push SSL Certificate For ios Apps, you will need to create a Push SSL certificate using your Apple Developer account at https://developer.apple.com On the Apple Developer web site, click Member Center, click Certificates, Identifiers and Profiles, and then click Certificates and download the certificate. You will need to upload this certificate on the MACH Web Portal.

MACH API Guide v2 Page 2 of 8 1.2.2 Android GCM Key For Android Apps, you will require an GCM API key from Google, which you can get using your Google account at https://code.google.com/apis/console/ You will need to enter this key on the MACH Web Portal. 1.2.3 Enabling Push Notification within your code There are some steps you need to take to enable Push Notification within the code of your mobile app. For details on the respective mobile platforms, please refer to the links below: For ios: https://developer.apple.com/library/ios/documentation/networkinginternet/concep tual/remotenotificationspg/introduction.html For Android: http://developer.android.com/google/gcm/client.html

MACH API Guide v2 Page 3 of 8 2 Registration API 2.1 Overview URL Description HTTP Method https://push.themach.com/machregservlet/reg Call this API to update MACH service with the latest Pushrelated data for each mobile device. POST 2.2 Parameters Parameter AppId SecretKey DeviceUID PushToken Custom Description This is the MACH App ID that you have created for your mobile app on the MACH Portal The secret key value found on the MACH Portal, in the configuration page of your MACH App ID. This SecretKey should be known only to your mobile app. The unique device identifier that you have generated for each user of your ios app. The way to generate this value is different for ios and Android. The unique Push-related identifier given to your mobile app by APN or GCM. For ios, this will be returned by the method didregisterforremotenotificationswithdevicetoken For Android, this will be the Registration ID returned by the method getregistrationid This is an optional parameter. If your mobile app captures some piece of unique user information such as email address or phone number via a registration process, you can choose to use this as a userfriendly identifier for the DeviceUID being registered. This custom value will appear in the MACH Web Portal for your Tagging thereafter. An example of the Registration API HTTP POST request string is as follows:

MACH API Guide v2 Page 4 of 8 https://push.themach.com/machregservlet/reg? AppId=3762&SecretKey=iecMameiJ1teJCyYfi8f &DeviceUID=564f50dfee1536b6a4ce1f129ae1cf4210c &PushToken=564f50dfe6153eeff114ce1f323121e9ae1cf4210c &Custom=jennifer@commzgate.com If your POST request was successfully, you would get a HTTP 200 header respond with body content containing a return code representing one of the following: 01010 : Successful request submission 01011: Invalidate parameters in request 01012 : Wrong App ID or Secret Key 01013 : Other general error

MACH API Guide v2 Page 5 of 8 3 Send Message API 3.1 Overview URL Description HTTP Method https://push.themach.com/machmtservlet/mt Call this API to send a Push Message to a specified mobile device. POST 3.2 Parameters Parameter ID Password DeviceUID Message Custom Description The MACH App ID that you have created for your mobile app on the MACH Portal The API key value found on the MACH Portal, in the configuration page of your MACH App ID The unique identifier of the device you intend to send a Push message to. You had generated this within your mobile app, and had used it in the MACH Registration API request The message content you intend to send. This is an optional parameter. If you know the friendly custom value that the mobile device had use to register, you can use this parameter instead of DeviceUID. An example of the Send Message HTTP POST request string is as follows: https://push.themach.com/machmtservlet/mt? ID=1009 &Password=ab3e411cc &DeviceUID=564f50dfe61536b6a4ce1f323121e9ae1cf4210c &Message=Have+a+nice+Sunday! If your POST request was successfully, you will get a HTTP 200 header respond with body content in the following format:

MACH API Guide v2 Page 6 of 8 <Return Code>, <Transaction ID> eg. 01010, MSG_MACHSERVER_1349391055348_5095 where Return Code can be one of the following: 01010 : Successful request submission 01011: Invalidate parameters in request 01012 : Wrong ID or Password 01013 : Other general error 01014 : This routing not permitted and Transaction ID is a unique transaction ID returned for each request and to be used for subsequent delivery tracking. 4 Need Help? Got a question? Feel free to let us know by contacting us at supportdesk@commzgate.com MACH is a service by CommzGate Copyright 2014 CommzGate Pte Ltd. 1 Commonwealth Lane #03-07, One Commonwealth. Singapore 149544. The information contained herein is subject to change without notice. www.commzgate.com