Tigris Social Api

<back to all web services

AllPostComments

The following routes are available for this service:
GET/Posts/{PostId}/CommentsReturn all comments about a Post
Parameters:
NameParameterData TypeRequiredDescription
PostIdpathstringYesThe Id of the Post
OffsetquerystringNoThe starting row to return. Default: 0
LimitquerystringNoThe number of rows to return. Default 50

To override the Content-type in your clients 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/AllPostComments HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/xml
Content-Length: length

<AllPostComments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mi.Sno.Tigris.TigrisApi.ServiceModel.InputModels.Comments">
  <Limit>0</Limit>
  <Offset>0</Offset>
  <PostId>00000000-0000-0000-0000-000000000000</PostId>
</AllPostComments>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfCommentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mi.Sno.Tigris.TigrisApi.ServiceModel.Types">
  <CommentDto>
    <AuthorDisplayName>String</AuthorDisplayName>
    <AuthorId>00000000-0000-0000-0000-000000000000</AuthorId>
    <AuthorTagline>String</AuthorTagline>
    <AuthorType>String</AuthorType>
    <AuthorVenueId>00000000-0000-0000-0000-000000000000</AuthorVenueId>
    <Content>String</Content>
    <ContentCreatedTime>0001-01-01T00:00:00</ContentCreatedTime>
    <ContextId>00000000-0000-0000-0000-000000000000</ContextId>
    <CreatedTime>0001-01-01T00:00:00</CreatedTime>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <PostId>00000000-0000-0000-0000-000000000000</PostId>
    <UpdatedTime>0001-01-01T00:00:00</UpdatedTime>
  </CommentDto>
</ArrayOfCommentDto>