Welcome, guest ( Login )

Powered by JotSpot

WikiHome » 1.2.0 » smugmug.subcategories.get

smugmug.subcategories.get

Version 3, changed by devbobo@gmail.com. 05/10/2007.   Show version history

API Method: smugmug.subcategories.get

This method returns a list of SubCategories for the specified user (identified by SessionID or (optional) NickName) in the specified Category (identified by CategoryID).


Arguments:
  • String SessionID
  • int CategoryID
  • String NickName optional
  • String SitePassword optional

Result:
  • Array of structs:
    • int "SubCategoryID"
    • String "Title"

Fault Codes:
  • 8 - "invalid category"
  • 4 - "invalid user (message)"
  • 5 - "system error"

Comments (1)

rkalla@gmail.com said, 10/02/2007:

NOTE: Categories that contain no subCategories will return error code 15, so will using an invalid CategoryID? as opposed to error code 8 as specified.

Attachments (0)

  File By Size Attached Ver.