API Functions

List Departments

Fetches a list of departments.

This function returns a list of departments. Each department has a long name (its full name) and a short name (generally the acronym or abbreviation by which it is known).

Function URI



getdepts has no arguments.

Example output

      <?xml version="1.0" encoding="UTF-8"?>
               <longname>Border and Immigration Agency</longname>
               <longname>Charities Commission</longname>

            <!-- // snip // -->

               <longname>UK Intellectual Property Office</longname>
               <longname>Welsh Assembly Government</longname>