Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Value

Description

Datatype

Default

forgrouping

forgrouping=true

Retrieves the product groups that are in the parent group specified in the system setting "Product group for group activites".

Boolean

false

businessunitid

businessunitid=4

Uses value from setting "Productgroup for group activities" from specified business unit/facility. Required when setting forgrouping=true

ID

 

languagelanguage=enIf supplied only returns the translations in the specific language for translatable fields (2 letter, ISO 639-1 language code)  

Example:

Code Block
APIURL/productgroups.xml?apikey=338934897438

...

Code Block
<productgroups>
  <productgroup>
    <id>14</id>
    <name>Activity</name>
	<parent>
		<id>2</id>
		<name>Name</name>
	</parent>
    <nametranslations>
	 <nametranslation>
		<language>sv</language>
		<translation>Conference</translation>
	 </nametranslation>
    </nametranslations>
  </productgroup> 
   ...
</productgroups>