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

{
	Token: String,
	UserId: 0,
	WorkerId: 0,
	ForumThreadUID: 0,
	Rating: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
		OrderId: 0,
		EventId: 0,
		ForumType: Standard,
		Readed: False,
		MainPost: 
		{
			UID: 0,
			CreatedUser: String,
			CreatedUserFullName: String,
			RecCreated: 0001-01-01,
			Content: String,
			Useful: 0,
			Deleted: False,
			Anonymous: False,
			Readed: False,
			Attachments: 
			[
				{
					FileName: String,
					base64Content: String
				}
			]
		},
		RecChanged: 0001-01-01,
		UID: 0
	},
	Error: False,
	ErrorMessage: String
}