Add to Member Offset
From KickApps API Reference
Contents |
Overview
This call enables you to add (or substract) points from the offset value of a member. To reset the member offset, see Set Member Offset.
systemGeneratedPoints: are points earned by community members for completing various tasks like adding media, friends, etc.
offset: are points that the webmaster gives to a member in addition to the points he has earned through participating in the community. These points are tracked separately from the system generated points.
totalPoints: is the sum of systemGeneratedPoints and offset.
levels: webmasters can also define Levels, which are essentially status titles earned by the member (like Super Member, Ninja, etc.) when they have accumulated the required number of points.
customLevel: are special level's (Webmaster, Editor, etc.) that can be assigned to a community member outside of the regular points and level system. These levels will supercede the levels defined in the points system.
You can make an HTTP POST or GET request when using this call.
Your request will look something like the following:
http://api.kickapps.com/rest/points/add/{userId}/{as}
Parameters
As shown above, your call will include the following parameters:
- userId. The id of the user whose offset is being reset.
- as. The site Id to search. as is unique for each of the affiliate's sites.
Post Parameters
- t. String. Required. Your access permissions.
- callback. String. Optional. The name of your JavaScript callback function.
- clientIP. String. Optional. Use the clientIP parameter to pass the IP address of the user making the call. If the IP has been blocked by the webmaster under the Affiliate Center -> Manage Members section, an error message will be returned starting with "status":"-1","error":"This IP address has been banned".
- addToOffset. Required. Integer. The value that is to be added to the offset. For subtraction simply add a "-" in front of the value.
JSON Payload
- userId. The numeric id for the user.
- totalPoints. A sum of members' offset and system generated points.
- offset. The numeric value for the new offset.
- systemGeneratedPoints. Numeric value for the points that a user has attained through interacting with the community.
- memberLevel. The level the member is currently assigned.
- username. The username of the member whose points are being requested.
- pathToIcon. The path to the stored thumbnail for this user.
Permissions
Only webmaster, admin and editors can access this call.
List of KickApps API Calls
|
|
Note: Occasionally (and without advanced warning) we modify our API calls by adding new parameters in the response payload. Please keep this in mind when designing your strategy for parsing our responses.
KickApps Documentation
- Advertising
- Asset Manager
- Audio Sharing
- Blogs
- Categories
- Comments & Ratings
- Customize URLs (DNS Masking)
- Email Marketing
- Events
- Feed Builder
- Flagging Content
- Groups
- Home Page
- Insight
- IP Address Black List
- JanRain's RPX Service
- Language Editor
- Message Boards
- Member Management
- Member To Member Messaging
- Member Summary Emails
- Page Customization (using CSS & JavaScript in the Global Page Template)
- Pages (Custom Pages, Content)
- Photo Sharing
- Points & Levels
- Private Sites
- Private Media
- Private Profiles
- Privacy & Security
- REST API Reference
- RSS API
- Search
- Sets
- Site Styler
- Site Security
- Spam
- Social Networking
- SSO Reference
- Subscription Plans
- System-Generated Emails
- Userplane Chat & IM
- Video Sharing
- Widgets & Video Players