API - Planyo Web Services - set_unit_names

Ti trovi qui: Planyo » Aiuto » API » set_unit_names

set_unit_names

Description:

Sets the unit names of a resource. The number of units must be equal to the quantity of the resource. Use the function list_resources or get_resource_info in order to fetch existing unit names.

Input:

resource_id int required
ID of the resource
unit_names string required
Comma-separated unit names.
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

none

API playground:

Click here to test this function in the API playground.