Specifies a division you want to delete from your iTunes U site.
You specify the following entities with the DeleteDivision operation:
DivisionHandle. Specifies the handle in your iTunes U site for the division you want to delete. The division handle must correspond to a division item in your iTunes U site. If the handle does not match an existing item, iTunes U returns an error message. If you do not specify the DivisionHandle entity, iTunes U uses the destination string in your URL.
DivisionPath. Specifies the path in your iTunes U site for the division you want to delete. The division path must correspond to a division item in your iTunes U site. If the path does not match an existing item, or matches multiple items, iTunes U returns an error message. If you do not specify the DivisionPath entity, iTunes U uses the destination string in your URL. The DivisionPath entity must be in the form “a/b/c” where a, b, and c are folder names. For example, if you have a site named “CupertinoU” containing a division named “Fall07,” you can refer to the DivisionPath as <DivisionPath>CupertinoU/Fall07</DivisionPath> in your DeleteDivision operation. If specifying the root path, you must start the DivisionPath entity with a leading slash (/). To specify a slash (/) as a character within a node of the slash-delimited path, escape the character with a second slash (//).
The following is an example of an iTunes U Web Services document using DeleteDivision:
<?xml version="1.0" encoding="UTF-8"?>
<ITunesUDocument>
<Version>1.1.4</Version>
<DeleteDivision>
<DivisionHandle>divisionhandle value</DivisionHandle>
<DivisionPath>divisionpath value</DivisionPath>
</DeleteDivision>
</ITunesUDocument> |
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-11-04)