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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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