Difference between revisions of "TagProduct"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Set the Tag for a product using a type and the productId passing a value for the tag. This method only can be used by logged user. |Parameters...") |
|||
Line 28: | Line 28: | ||
|ParamType=TagType | |ParamType=TagType | ||
|ParamRequired=required | |ParamRequired=required | ||
− | |ParamDescription= | + | |ParamDescription=Tag type. This is a list of possible values (Enumeration). |
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
Line 34: | Line 34: | ||
|ParamType=String | |ParamType=String | ||
|ParamRequired=required | |ParamRequired=required | ||
− | |ParamDescription= | + | |ParamDescription=The type must be: int when be TagType.Stars or bool for others type |
}} | }} | ||
Revision as of 19:58, 19 August 2014
Description
Set the Tag for a product using a type and the productId passing a value for the tag.
This method only can be used by logged user.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- productId (int, required)
- The ID of the product that wants to untag.
- productType (ProductType, required)
- The limit number of values for this request
- tagType (TagType, required)
- Tag type. This is a list of possible values (Enumeration).
- tagValue (String, required)
- The type must be: int when be TagType.Stars or bool for others type
Returns
Returns a JSON object containing a UserProduct with information about the tag.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": {
- Object of UserProduct
- }
}
Exceptions
- AuthenticationRequiredException
- InvalidMovieException
- InvalidBundleException
- InvalidPlaylistException
- InvalidSubscriptionException
- InvalidLiveChannelException
- InvalidProductException
- InvalidBooleanTagValueException
- InvalidTagTypeException
Caching
This method is not cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |