Export It 1.3.1 Documentation

REST Server API: get_category

Returns a specific category for the given id

Resource URL

http://example.com/?ACT=<ACT>&key=<key>&method=get_category&format=xml&cat_id=12

Parameters

A cat_id is required

cat_id required The list you want to return subscribers from
exclude_duplicates optional Whether duplicates should be removed from the export

Example Request

http://example.com/?ACT=<ACT>&key=<key>&method=get_category&cat_id=2&format=xml&exclude_duplicates=1

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<categories>
    <category>
        <cat_id>2</cat_id>
        <site_id>1</site_id>
        <group_id>1</group_id>
        <parent_id>0</parent_id>
        <cat_name><![CDATA[Backup Pro]]></cat_name>
        <cat_url_title><![CDATA[backup-pro]]></cat_url_title>
        <cat_description><![CDATA[]]></cat_description>
        <cat_image><![CDATA[]]></cat_image>
        <cat_order>2</cat_order>
    </category>
</categories>

I am flagging this documentation as:

Need Free Developer Support?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">