Dispatch from PHP

This is a PHP sample showing how to dispatch a form to a particular device.

You'll need to import the provided sample form JSON into your Device Magic organization, and adjust the settings in the PHP code below to match your organization / device.

Then if you serve this page, it'll prompt you for some initial answers for a dispatch of the simple construction inspection demo form to your device. When you submit back those answers, this script will dispatch the form to your device, and show the dispatched XML as well as the server response.

Have more questions? Submit a request

Comments

Powered by Zendesk