RHP_API

<back to all web services

GetUserLikeAuthorisation

Get the User's like status (send limits, number remaining, time to reset)

Requires Authentication
The following routes are available for this service:
All Verbs/User/Like/Authorisation
UserLikeStatus Parameters:
NameParameterData TypeRequiredDescription
RemainingLikesformintNo
LikeLimitformintNo
RemainingFavouritesformintNo
FavouritesLimitformintNo
LikeCreditsformintNo
FavCreditsformintNo
TimeToResetformdoubleNo
ResultTypeformUserLikeResultTypeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /User/Like/Authorisation HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"RemainingLikes":0,"LikeLimit":0,"RemainingFavourites":0,"FavouritesLimit":0,"LikeCredits":0,"FavCredits":0,"TimeToReset":0,"ResultType":"SendAllowed"}