Export Categories from MyMobileWorkers
The MyMobileWorkers platform will allow their users to categories items based on their type. For example, a pipe would be placed in a 'Drainage' category or guttering would be placed in a 'Rainwater' category.
The API documentation provided by MyMobileWorkers is available from https://docs.mymobileworkers.com/index.php?title=Get_Categories.
This task will export all available categories from MyMobileWorkers in an XML format.
Settings
Connection
Required
The MyMobileWorkers connection to use. See the Connecting to MyMobileWorkers article for more information.
XML
<?xml version="1.0" encoding="utf-8"?>
<MyMobileWorkersData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Categories>
<Category>
<name>Demo Repair Items</name>
<Response />
</Category>
<Category>
<external_id>1</external_id>
<name>Test</name>
<Response />
</Category>
<Category>
<external_id>2</external_id>
<name>Test 2</name>
<Response />
</Category>
<Category>
<external_id>1</external_id>
<name>Paper Products</name>
<Response />
</Category>
<Category>
<external_id>2</external_id>
<name>Office Supplies</name>
<Response />
</Category>
<Category>
<external_id>3</external_id>
<name>Envelopes and Mailing</name>
<Response />
</Category>
<Category>
<external_id>4</external_id>
<name>Writing Equipment</name>
<Response />
</Category>
<Category>
<external_id>5</external_id>
<name>Organising and Filing</name>
<Response />
</Category>
<Category>
<external_id>6</external_id>
<name>Presentation Supplies</name>
<Response />
</Category>
<Category>
<external_id>7</external_id>
<name>Business Machines</name>
<Response />
</Category>
<Category>
<external_id>8</external_id>
<name>Computer Accessories</name>
<Response />
</Category>
<Category>
<external_id>9</external_id>
<name>Telecomunications</name>
<Response />
</Category>
<Category>
<external_id>10</external_id>
<name>Computer Hardware</name>
<Response />
</Category>
<Category>
<external_id>abc</external_id>
<name>Products</name>
<Response />
</Category>
</Categories>
</MyMobileWorkersData>