+44 20 881 67284

30,961,627 Royalty Free Stock Photos

How to use the Fotolia API

Method: user/subaccount/getIds

Returns an array of all available subaccount IDs

Authentication

This method does not require authentication.

HTTP method

This method is called with HTTP method GET.

Arguments

Argument Type Valid Values Default Value Detail

Returned Values

Element (path) Type Description
/[n]/ int sub account id

Example Query

GET http://API_KEY@api.fotolia.com/Rest/1/user/subaccount/getIds

Example Response

[
	0,
	1,
	2,
	3,
	4,
	5
]

Error Codes

001: Service currently unavailable
The requested service is temporarily unavailable.
002: Failed to parse request
The request could not be parsed.
010: Missing API Key
The API key passed is missing.
011: Invalid API Key
The API key passed is not valid or has expired.
031: Invalid Method
This method does not exist in the method list.
032: Method not Available
This method is not available for this API Key.