__

products/networks

Returns a list of handsets for a given network.

REST URL:

http://api.powerupmobile.com/products/network/id

Format

xml, json, jsonp

HTTP Method

GET

Resource

The network id must be provided at the end of the URL:
i.e. products/network/vodafone

Available values can be looked up using lists/networks.

Parameters

api_key (required)
The API key. (More Info)

api_sig (required)
The generated request signature. (More info)

format (optional)
The desired response format. Value can be xml, json or jsonp. Defaults to xml. jsonp responds with a callback function named jsonPowApi.

sort (optional)
The order to sort the returned handsets. Passing no value returns handsets in the order added to the database (newest first), other values are alpha and price.

Errors

10: Incorrect Signature
The API Key and/or the generated request signature are incorrect or are no longer valid.

20: Incorrect Number of Parameters
The minimum number of required parameters have not been provided.

30: Format Incorrect
The format requested is not supported.

42: No Alphnumeric ID
The network id has not been provided or is not alphanumeric - values can consist of numbers, letters, hyphens (-) and spaces only.

50: No API Key
The api_key parameter and value are not in the request.

60: No Signature
The api_sig parameter and value are not in the request.

Example Request

http://api.powerupmobile.com/products/network/vodafone/?api_key=q7jImKi89lYMo7TG&format=json&sort=&api_sig=0ea42a44b405a5c6ac8b930e403e716eb91c1b511de18f1c33a9d75646532628

__