ItemOption

An object representing any option associated with a given LmsItemObject. Item options are typically used with activities that are events. Examples of options are event tickets, rides, hard-copy manuals, etc.

Usage

The ItemOption object is only meaningful in the context of an LmsItemObject.

Identifying Fields

ItemId

The item to which this option belongs.

OptionNumber

The ID of the option. This must be unique for a given ItemId.

Fields

Names

A collection of names for the option. The key is the language code and the value is the name of the option localized in that language.

Descriptions

A collection of description strings. The key is the language code and the value is the description localized in that language.

Values

An array of ItemOptionValue objects consisting of the various values or choices an item option can contain.