Tigris Social Api

<back to all web services

SearchPosts

The following routes are available for this service:
GET/Posts/SearchSearch for a list of Posts
Parameters:
NameParameterData TypeRequiredDescription
PostIdsquerystringYesComma-separated list of Recipient Ids (Guids)
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/SearchPosts HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/xml
Content-Length: length

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

<ArrayOfPostDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mi.Sno.Tigris.TigrisApi.ServiceModel.Types">
  <PostDto>
    <Activities>
      <ActivityDto>
        <CreatedTime>0001-01-01T00:00:00</CreatedTime>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <Message>String</Message>
        <PostId>00000000-0000-0000-0000-000000000000</PostId>
      </ActivityDto>
    </Activities>
    <AuthorDisplayName>String</AuthorDisplayName>
    <AuthorId>00000000-0000-0000-0000-000000000000</AuthorId>
    <AuthorTagline>String</AuthorTagline>
    <AuthorType>String</AuthorType>
    <AuthorVenueId>00000000-0000-0000-0000-000000000000</AuthorVenueId>
    <Comments>
      <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>
    </Comments>
    <Content>String</Content>
    <ContentCreatedTime>0001-01-01T00:00:00</ContentCreatedTime>
    <ContentKey>String</ContentKey>
    <ContentParameters>String</ContentParameters>
    <ContentUpdatedTime>0001-01-01T00:00:00</ContentUpdatedTime>
    <ContextId>00000000-0000-0000-0000-000000000000</ContextId>
    <ContextOwnerDisplayName>String</ContextOwnerDisplayName>
    <ContextOwnerTagLine>String</ContextOwnerTagLine>
    <ContextOwnerType>String</ContextOwnerType>
    <CreatedTime>0001-01-01T00:00:00</CreatedTime>
    <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <IsPrivate>false</IsPrivate>
    <MessageType>0</MessageType>
    <PostTags>
      <PostTagSummaryDto>
        <Description>String</Description>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <Name>String</Name>
        <TagTypeId>0</TagTypeId>
      </PostTagSummaryDto>
    </PostTags>
    <Recipients>
      <RecipientDto>
        <DefaultVenueId>00000000-0000-0000-0000-000000000000</DefaultVenueId>
        <DisplayName>String</DisplayName>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <ParticipantType>String</ParticipantType>
        <TagLine>String</TagLine>
      </RecipientDto>
    </Recipients>
    <Tags>
      <TagDto>
        <CreatedTime>0001-01-01T00:00:00</CreatedTime>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <PostId>00000000-0000-0000-0000-000000000000</PostId>
        <TagType>0</TagType>
        <UpdatedTime>0001-01-01T00:00:00</UpdatedTime>
        <Value>String</Value>
      </TagDto>
    </Tags>
    <UpdatedTime>0001-01-01T00:00:00</UpdatedTime>
    <Url>String</Url>
  </PostDto>
</ArrayOfPostDto>