The Basics

cmd=listCategories

Parameters
None.
Example
https://kakapo.fogbugz.com/api.asp?cmd=listCategories&token=04t6193822pekbba09nt74ninuihk2
Returns
Data for all categories.
cmd=viewCategory

Parameters
Requires ixCategory.
Example
https://kakapo.fogbugz.com/api.asp?cmd=viewCategory&ixCategory=1&token=erd3d6kuivqds2fdd7mdvj4knb8s3f
Returns
Details of the selected category. 

List Categories (cmd=listCategories)

URL
https://kakapo.fogbugz.com/api.asp?cmd=listCategories&token=04t6193822pekbba09nt74ninuihk2
fogbugz.py
fb.listCategories()

Successful Response

For the sake of space, the sample below includes only one category. This command will return the details for all categories between the <response> tags.

XML
<response>
  <categories>
    <category>
      <ixCategory>1</ixCategory>
      <sCategory>
        <![CDATA[ Bug ]]>
      </sCategory>
      <sPlural>
        <![CDATA[ Bugs ]]>
      </sPlural>
      <ixStatusDefault>2</ixStatusDefault>
      <fIsScheduleItem>false</fIsScheduleItem>
      <fDeleted>false</fDeleted>
      <iOrder>0</iOrder>
      <nIconType>1</nIconType>
      <ixAttachmentIcon>0</ixAttachmentIcon>
      <ixStatusDefaultActive>1</ixStatusDefaultActive>
    </category>
  </categories>
</response>

View a Single Category (cmd=viewCategory)

URL
https://kakapo.fogbugz.com/api.asp?cmd=viewCategory&ixCategory=1&token=erd3d6kuivqds2fdd7mdvj4knb8s3f
fogbugz.py
fb.viewCategory(ixCategory=1)

Possible Responses

Successful Response
XML
<response>
  <category>
    <ixCategory>1</ixCategory>
    <sCategory>
      <![CDATA[ Bug ]]>
    </sCategory>
    <sPlural>
      <![CDATA[ Bugs ]]>
    </sPlural>
    <ixStatusDefault>2</ixStatusDefault>
    <fIsScheduleItem>false</fIsScheduleItem>
    <fDeleted>false</fDeleted>
    <iOrder>0</iOrder>
    <nIconType>1</nIconType>
    <ixAttachmentIcon>0</ixAttachmentIcon>
    <ixStatusDefaultActive>1</ixStatusDefaultActive>
  </category>
</response>
No Such Category
XML
</response>