API Methods: siteinterests.editSiteInterest



Description

Edits or creates a new site interest or subinterest


Authentication

This method requires authentication with 'write' permission.

Required parameters

  • None

Optional parameters

  • interest_key :
    the key of the site interest. If this is omitted, a new site interest is created. If you are creating a new subinterest, this is required. The list of interest keys is available from the siteinterests.getList call.
  • interest :
    the name of this interest. If you are creating a new interest, this is required.
  • subinterest :
    the name of the subinterest. If you are creating a new subinterest, this is required.
  • subinterest_key :
    the key of the subinterest. If this is included, the subinterest is edited rather than creating a new one. The list of subinterest keys is available from the siteinterests.getList call.
  • sort_order :
    this determines the order in wich the site interests and subinterests are displayed

Example response

<?xml version="1.0"?>
<response status="ok" time="Tue, 22 Apr 2008 16:12:20 -0500">
    <site_interests count="1">
        <site_interest>
            <interest_key>16</interest_key>
        </site_interest>
    </site_interests>
</response>