GeminiHost

<back to all web services

ForumPostUsefulAdd

The following routes are available for this service:
All Verbs/Forum/PostUseful
ForumPostUsefulAdd Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNo
UserIdqueryintNo
WorkerIdqueryintNo
ForumPostUIDqueryintNo
ForumPostGetReturn Parameters:
NameParameterData TypeRequiredDescription
DataformForumPostItemNo
ErrorformboolNo
ErrorMessageformstringNo
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/ForumPostUsefulAdd HTTP/1.1 
Host: data.oriem.cz 
Content-Type: application/xml
Content-Length: length

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

<ForumPostGetReturn 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">
    <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>
  </Data>
  <Error>false</Error>
  <ErrorMessage>String</ErrorMessage>
</ForumPostGetReturn>