Podio API Documentation
Ratings: Add rating
Add a new rating of the user to the object. The rating can be one of many different types. For more details see the area.
Ratings can be changed by posting a new rating, and deleted by doing a DELETE.
Usage
- PHP Client
-
PodioRating.php
PodioRating::create( $ref_type, $ref_id, $rating_type, $attributes = array() );
- Ruby Gem
-
rating.rb
Podio::Rating.create( ref_type, ref_id, rating_type, value )
Parameters
- ref_type*
- Required.
- ref_id*
- Required.
- rating_type*
- Required.
Request
{
"value": The value of the rating, see the area for information on the value to use
}
Response
{
"rating_id": The id of the rating created
}