AddGroup

Specifies a group you want to add to a course in your iTunes U site.

You specify the following entities with the AddGroup operation:

Note: If you include the Explicit entity in Group, iTunes U applies the advisory label setting and displays an advisory graphic for the group as appropriate. For example:

iTunes U applies the advisory label setting to any new tracks added to the group and displays an advisory graphic for the group, and all tracks within the group. You can override the setting for specific tracks using “AddTrack” and “MergeTrack.”

The following is an example of an iTunes U Web Services document using AddGroup:

<?xml version="1.0" encoding="UTF-8"?>
<ITunesUDocument>
    <Version>1.1.4</Version>
    <AddGroup>
        <ParentHandle>parenthandle value</ParentHandle>
        <ParentPath>parentpath value</ParentPath>
        <Group>
            <Name>name value</Name>
            <Handle>handle value</Handle>
            <Track>
                <Name>name value</Name>
                <Handle>handle value</Handle>
                <Kind>kind value</Kind>
                <DiscNumber>discnumber value</DiscNumber>
                <DurationMilliseconds>durationmilliseconds value
                </DurationMilliseconds>
                <AlbumName>albumname value</AlbumName>
                <ArtistName>artistname value</ArtistName>
                <DownloadURL>downloadurl value</DownloadURL>
            </Track>
            <Permission>
                <Credential>credential value</Credential>
                <Access>access value</Access>
            </Permission>
        </Group>
    </AddGroup>
</ITunesUDocument>


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-11-04)