+49 (0)30 208 96 208

33.609.637 lizenzfreie Fotos,
Videos und Vektoren.

Wie arbeitet die Fotolia API?

Method: user/subaccount/get

Get details for a subaccount, returns an array

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
subaccount_id int Valid Values required sub account ID to get

Returned Values

Element (path) Name Type Description
/ email string
/ firstname string
/ lastname string
/ company string

Example Query

GET http://API_KEY@api.fotolia.com/Rest/1/user/subaccount/get?subaccount_id=200701446

Example Response

{
	"email":"Sub account email",
	"firstname":"Sub account firstname",
	"lastname":"Sub account lastname",
	"company":"Sub account company"
}

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.
7002: Unknown Subbaccount ID
This Subbaccount has already been deleted, or is not your list of subaccounts.