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

HTTP + XML

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

POST /xml/reply/ForumThreadRatingAdd HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/xml
Content-Length: length

<ForumThreadRatingAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
  <ForumThreadUID>0</ForumThreadUID>
  <Rating>0</Rating>
  <Token>String</Token>
  <UserId>0</UserId>
  <WorkerId>0</WorkerId>
</ForumThreadRatingAdd>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ForumThreadReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Plugin.Data.Gemini.Dto">
    <UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
    <RecChanged xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0001-01-01T00:00:00</RecChanged>
    <d2p1:Anonymous>false</d2p1:Anonymous>
    <d2p1:CategoryUID>0</d2p1:CategoryUID>
    <d2p1:Closed>false</d2p1:Closed>
    <d2p1:CreatedUserFullName>String</d2p1:CreatedUserFullName>
    <d2p1:Deleted>false</d2p1:Deleted>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Description1>String</d2p1:Description1>
    <d2p1:ForumType>Standard</d2p1:ForumType>
    <d2p1:MainPost>
      <d2p1:Anonymous>false</d2p1:Anonymous>
      <d2p1:Attachments>
        <d2p1:ForumAttachment>
          <d2p1:FileName>String</d2p1:FileName>
          <d2p1:base64Content>String</d2p1:base64Content>
        </d2p1:ForumAttachment>
      </d2p1:Attachments>
      <d2p1:Content>String</d2p1:Content>
      <d2p1:CreatedUser>String</d2p1:CreatedUser>
      <d2p1:CreatedUserFullName>String</d2p1:CreatedUserFullName>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:Readed>false</d2p1:Readed>
      <d2p1:RecCreated>0001-01-01T00:00:00</d2p1:RecCreated>
      <d2p1:UID>0</d2p1:UID>
      <d2p1:Useful>0</d2p1:Useful>
    </d2p1:MainPost>
    <d2p1:OrderId>0</d2p1:OrderId>
    <d2p1:Readed>false</d2p1:Readed>
    <d2p1:Subject>String</d2p1:Subject>
  </Data>
  <Error>false</Error>
  <ErrorMessage>String</ErrorMessage>
</ForumThreadReturn>