Mobile.getModels

From FreePokerAlliance wiki

Jump to: navigation, search

Contents

Description

Returns list of available mobile models.

Parameters

Required Name Type Default value Description
required Command string getManufacturers API method name
required client_id string Your client ID (provided by our support team).
required manufacturer_id string Manufacturer (see Mobile.getManufacturers)

Example Requests

Models list of client "macho" under Nokia: http://mobile.freepokeralliance.com/mobileservices.php?command=getmodels&client_id=macho&manufacturer_id=Nokia

Response

In the response XML, each <item> node has an attribute described here.

Attribute name Type Description
name string The name of the model.

Response example

<?xml version="1.0" encoding="UTF-8"?>
 <root>
  <manufacturers>
   <item name="Motorola"/>
   <item name="Nokia"/>
   <item name="Samsung"/>
   <item name="Siemens"/>
   <item name="Sony-Ericsson"/>
  </manufacturers>
</root>

Error Codes

Code Description
<errormessage> Node contains error message. Only set when an error occurs.
Personal tools