GeminiHost

<back to all web services

ForumThreadRatingAdd

The following routes are available for this service:
All Verbs/Forum/ThreadRaiting
ForumThreadRatingAdd Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
WorkerIdqueryintNo
ForumThreadUIDqueryintNo
RatingqueryintNo
ForumThreadReturn Parameters:
NameParameterData TypeRequiredDescription
DataformForumThreadDtoAllNo
ErrorformboolNo
ErrorMessageformstringNo
ForumThreadDtoAll Parameters:
NameParameterData TypeRequiredDescription
CreatedUserformstringNo
CreatedUserFullNameformstringNo
ModifiedUserformstringNo
SubjectformstringNo
DescriptionformstringNo
Description1formstringNo
ClosedformboolNo
DeletedformboolNo
RatingCountformintNo
RatingformdecimalNo
CategoryUIDformintNo
PostCountformintNo
AnonymousformboolNo
LastPostTimeformDateTimeNo
OrderIdformintNo
EventIdformintNo
ForumTypeformForumTypeNo
ReadedformboolNo
MainPostformForumPostItemNo
BaseXpoAppDto Parameters:
NameParameterData TypeRequiredDescription
RecChangedformDateTimeNo
BaseXpoDto Parameters:
NameParameterData TypeRequiredDescription
UIDformintNo
ForumPostItem Parameters:
NameParameterData TypeRequiredDescription
UIDformintNo
CreatedUserformstringNo
CreatedUserFullNameformstringNo
RecCreatedformDateTimeNo
ContentformstringNo
UsefulformintNo
DeletedformboolNo
AnonymousformboolNo
ReadedformboolNo
AttachmentsformForumAttachment[]No
ForumAttachment Parameters:
NameParameterData TypeRequiredDescription
FileNameformstringNo
base64ContentformstringNo

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 /json/reply/ForumThreadRatingAdd HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/json
Content-Length: length

{"Token":"String","UserId":0,"WorkerId":0,"ForumThreadUID":0,"Rating":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":{"CreatedUser":"String","CreatedUserFullName":"String","ModifiedUser":"String","Subject":"String","Description":"String","Description1":"String","Closed":false,"Deleted":false,"RatingCount":0,"Rating":0,"CategoryUID":0,"PostCount":0,"Anonymous":false,"LastPostTime":"\/Date(-62135596800000-0000)\/","OrderId":0,"EventId":0,"ForumType":"Standard","Readed":false,"MainPost":{"UID":0,"CreatedUser":"String","CreatedUserFullName":"String","RecCreated":"\/Date(-62135596800000-0000)\/","Content":"String","Useful":0,"Deleted":false,"Anonymous":false,"Readed":false,"Attachments":[{"FileName":"String","base64Content":"String"}]},"RecChanged":"\/Date(-62135596800000-0000)\/","UID":0},"Error":false,"ErrorMessage":"String"}