isUserInterested

Options

Should there be an interest parameter in here?

Client API Syntax

https://secure2.convio.net/organization/site/CRConsAPI?method=isUserInterested & api_key =value & v =value &sso_auth_token=value

Server API Syntax

https://secure2.convio.net/organization/site/SRConsAPI?method=isUserInterested & api_key =value & v =value & login_name =value & login_password =value

Tagged:

Comments

  • Yes. There is an "interest_id" parameter that specifies the numeric ID of the interest category to check. I'll add it to the documentation source today, but I'm not sure how frequently the doc's are generated and published (sort of a new process, so it might be a variable frequency).

  • JeffMills :

    Yes. There is an "interest_id" parameter that specifies the numeric ID of the interest category to check. I'll add it to the documentation source today, but I'm not sure how frequently the doc's are generated and published (sort of a new process, so it might be a variable frequency).

    Can you also specify a user parameter with this method? In general is there a way to send a query that will return the parameters for a given method?

  • Matt Smith:

    Can you also specify a user parameter with this method? In general is there a way to send a query that will return the parameters for a given method?

    You can specify the user using one of cons_id, member_id, or primary_email if calling as an administrator, which generally means using the server-side API. The "Usage Notes" section of the "update" method describes how those parameters are used to locate a constituent. If the caller of the API is logged in but is not an administrator, then this method always operates on the caller's constituent record, regardless of what might be provided in those parameters.

    I've thought about adding a feature to request meta data about methods, including parameters, using API calls. However, it would return the same information that is in the documentation so it wouldn't have helped in this case. That's because the basic information about methods in the documentation (such as method name, parameters, servlet name, errors, GET vs. POST) comes from the source code. The problem in this case was a simple oversight in adding the list of parameters.

Categories