Services


Click here for a complete list of operations.

GetPosts

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
threadId:
pageNo:
pageSize:
ascend:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx HTTP/1.1
Host: dancesportinfo.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://dancesportinfo.net/GetPosts"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPosts xmlns="http://dancesportinfo.net/">
      <threadId>int</threadId>
      <pageNo>int</pageNo>
      <pageSize>int</pageSize>
      <ascend>boolean</ascend>
    </GetPosts>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetPostsResponse xmlns="http://dancesportinfo.net/">
      <GetPostsResult>
        <Posts>
          <CSPost>
            <AggViews>int</AggViews>
            <ApplicationPostType>int</ApplicationPostType>
            <Body>string</Body>
            <EmoticonId>int</EmoticonId>
            <FormattedBody>string</FormattedBody>
            <IPAddress>string</IPAddress>
            <IsApproved>boolean</IsApproved>
            <IsIndexed>boolean</IsIndexed>
            <IsLocked>boolean</IsLocked>
            <ParentId>int</ParentId>
            <Points>int</Points>
            <PointsUpdated>dateTime</PointsUpdated>
            <PostAuthor>string</PostAuthor>
            <PostConfiguration>int</PostConfiguration>
            <Postdate>dateTime</Postdate>
            <PostId>int</PostId>
            <PostLevel>int</PostLevel>
            <PostName>string</PostName>
            <PostType>int</PostType>
            <PropertyNames>string</PropertyNames>
            <PropertyValues>string</PropertyValues>
            <RatingSum>int</RatingSum>
            <SectionId>int</SectionId>
            <SectionName>string</SectionName>
            <Subject>string</Subject>
            <ThreadId>int</ThreadId>
            <TotalRatings>int</TotalRatings>
            <TotalViews>int</TotalViews>
            <UserId>int</UserId>
            <UserTime>dateTime</UserTime>
            <User xsi:nil="true" />
            <SmallImage>string</SmallImage>
            <AvatarId>int</AvatarId>
            <UserTotalPosts>int</UserTotalPosts>
            <Member>int</Member>
            <UserCreated>dateTime</UserCreated>
          </CSPost>
          <CSPost>
            <AggViews>int</AggViews>
            <ApplicationPostType>int</ApplicationPostType>
            <Body>string</Body>
            <EmoticonId>int</EmoticonId>
            <FormattedBody>string</FormattedBody>
            <IPAddress>string</IPAddress>
            <IsApproved>boolean</IsApproved>
            <IsIndexed>boolean</IsIndexed>
            <IsLocked>boolean</IsLocked>
            <ParentId>int</ParentId>
            <Points>int</Points>
            <PointsUpdated>dateTime</PointsUpdated>
            <PostAuthor>string</PostAuthor>
            <PostConfiguration>int</PostConfiguration>
            <Postdate>dateTime</Postdate>
            <PostId>int</PostId>
            <PostLevel>int</PostLevel>
            <PostName>string</PostName>
            <PostType>int</PostType>
            <PropertyNames>string</PropertyNames>
            <PropertyValues>string</PropertyValues>
            <RatingSum>int</RatingSum>
            <SectionId>int</SectionId>
            <SectionName>string</SectionName>
            <Subject>string</Subject>
            <ThreadId>int</ThreadId>
            <TotalRatings>int</TotalRatings>
            <TotalViews>int</TotalViews>
            <UserId>int</UserId>
            <UserTime>dateTime</UserTime>
            <User xsi:nil="true" />
            <SmallImage>string</SmallImage>
            <AvatarId>int</AvatarId>
            <UserTotalPosts>int</UserTotalPosts>
            <Member>int</Member>
            <UserCreated>dateTime</UserCreated>
          </CSPost>
        </Posts>
        <TotalPosts>int</TotalPosts>
      </GetPostsResult>
    </GetPostsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx HTTP/1.1
Host: dancesportinfo.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPosts xmlns="http://dancesportinfo.net/">
      <threadId>int</threadId>
      <pageNo>int</pageNo>
      <pageSize>int</pageSize>
      <ascend>boolean</ascend>
    </GetPosts>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostsResponse xmlns="http://dancesportinfo.net/">
      <GetPostsResult>
        <Posts>
          <CSPost>
            <AggViews>int</AggViews>
            <ApplicationPostType>int</ApplicationPostType>
            <Body>string</Body>
            <EmoticonId>int</EmoticonId>
            <FormattedBody>string</FormattedBody>
            <IPAddress>string</IPAddress>
            <IsApproved>boolean</IsApproved>
            <IsIndexed>boolean</IsIndexed>
            <IsLocked>boolean</IsLocked>
            <ParentId>int</ParentId>
            <Points>int</Points>
            <PointsUpdated>dateTime</PointsUpdated>
            <PostAuthor>string</PostAuthor>
            <PostConfiguration>int</PostConfiguration>
            <Postdate>dateTime</Postdate>
            <PostId>int</PostId>
            <PostLevel>int</PostLevel>
            <PostName>string</PostName>
            <PostType>int</PostType>
            <PropertyNames>string</PropertyNames>
            <PropertyValues>string</PropertyValues>
            <RatingSum>int</RatingSum>
            <SectionId>int</SectionId>
            <SectionName>string</SectionName>
            <Subject>string</Subject>
            <ThreadId>int</ThreadId>
            <TotalRatings>int</TotalRatings>
            <TotalViews>int</TotalViews>
            <UserId>int</UserId>
            <UserTime>dateTime</UserTime>
            <User xsi:nil="true" />
            <SmallImage>string</SmallImage>
            <AvatarId>int</AvatarId>
            <UserTotalPosts>int</UserTotalPosts>
            <Member>int</Member>
            <UserCreated>dateTime</UserCreated>
          </CSPost>
          <CSPost>
            <AggViews>int</AggViews>
            <ApplicationPostType>int</ApplicationPostType>
            <Body>string</Body>
            <EmoticonId>int</EmoticonId>
            <FormattedBody>string</FormattedBody>
            <IPAddress>string</IPAddress>
            <IsApproved>boolean</IsApproved>
            <IsIndexed>boolean</IsIndexed>
            <IsLocked>boolean</IsLocked>
            <ParentId>int</ParentId>
            <Points>int</Points>
            <PointsUpdated>dateTime</PointsUpdated>
            <PostAuthor>string</PostAuthor>
            <PostConfiguration>int</PostConfiguration>
            <Postdate>dateTime</Postdate>
            <PostId>int</PostId>
            <PostLevel>int</PostLevel>
            <PostName>string</PostName>
            <PostType>int</PostType>
            <PropertyNames>string</PropertyNames>
            <PropertyValues>string</PropertyValues>
            <RatingSum>int</RatingSum>
            <SectionId>int</SectionId>
            <SectionName>string</SectionName>
            <Subject>string</Subject>
            <ThreadId>int</ThreadId>
            <TotalRatings>int</TotalRatings>
            <TotalViews>int</TotalViews>
            <UserId>int</UserId>
            <UserTime>dateTime</UserTime>
            <User xsi:nil="true" />
            <SmallImage>string</SmallImage>
            <AvatarId>int</AvatarId>
            <UserTotalPosts>int</UserTotalPosts>
            <Member>int</Member>
            <UserCreated>dateTime</UserCreated>
          </CSPost>
        </Posts>
        <TotalPosts>int</TotalPosts>
      </GetPostsResult>
    </GetPostsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Services.asmx/GetPosts?threadId=string&pageNo=string&pageSize=string&ascend=string HTTP/1.1
Host: dancesportinfo.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CSPosts xmlns="http://dancesportinfo.net/">
  <Posts>
    <CSPost>
      <AggViews>int</AggViews>
      <ApplicationPostType>int</ApplicationPostType>
      <Body>string</Body>
      <EmoticonId>int</EmoticonId>
      <FormattedBody>string</FormattedBody>
      <IPAddress>string</IPAddress>
      <IsApproved>boolean</IsApproved>
      <IsIndexed>boolean</IsIndexed>
      <IsLocked>boolean</IsLocked>
      <ParentId>int</ParentId>
      <Points>int</Points>
      <PointsUpdated>dateTime</PointsUpdated>
      <PostAuthor>string</PostAuthor>
      <PostConfiguration>int</PostConfiguration>
      <Postdate>dateTime</Postdate>
      <PostId>int</PostId>
      <PostLevel>int</PostLevel>
      <PostName>string</PostName>
      <PostType>int</PostType>
      <PropertyNames>string</PropertyNames>
      <PropertyValues>string</PropertyValues>
      <RatingSum>int</RatingSum>
      <SectionId>int</SectionId>
      <SectionName>string</SectionName>
      <Subject>string</Subject>
      <ThreadId>int</ThreadId>
      <TotalRatings>int</TotalRatings>
      <TotalViews>int</TotalViews>
      <UserId>int</UserId>
      <UserTime>dateTime</UserTime>
      <User>
        <AppUserToken>string</AppUserToken>
        <ForceLogin>boolean</ForceLogin>
        <LastAction>string</LastAction>
        <LastActivity>dateTime</LastActivity>
        <UserID>int</UserID>
        <Avatar d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Profile d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </User>
      <SmallImage>string</SmallImage>
      <AvatarId>int</AvatarId>
      <UserTotalPosts>int</UserTotalPosts>
      <Member>int</Member>
      <UserCreated>dateTime</UserCreated>
    </CSPost>
    <CSPost>
      <AggViews>int</AggViews>
      <ApplicationPostType>int</ApplicationPostType>
      <Body>string</Body>
      <EmoticonId>int</EmoticonId>
      <FormattedBody>string</FormattedBody>
      <IPAddress>string</IPAddress>
      <IsApproved>boolean</IsApproved>
      <IsIndexed>boolean</IsIndexed>
      <IsLocked>boolean</IsLocked>
      <ParentId>int</ParentId>
      <Points>int</Points>
      <PointsUpdated>dateTime</PointsUpdated>
      <PostAuthor>string</PostAuthor>
      <PostConfiguration>int</PostConfiguration>
      <Postdate>dateTime</Postdate>
      <PostId>int</PostId>
      <PostLevel>int</PostLevel>
      <PostName>string</PostName>
      <PostType>int</PostType>
      <PropertyNames>string</PropertyNames>
      <PropertyValues>string</PropertyValues>
      <RatingSum>int</RatingSum>
      <SectionId>int</SectionId>
      <SectionName>string</SectionName>
      <Subject>string</Subject>
      <ThreadId>int</ThreadId>
      <TotalRatings>int</TotalRatings>
      <TotalViews>int</TotalViews>
      <UserId>int</UserId>
      <UserTime>dateTime</UserTime>
      <User>
        <AppUserToken>string</AppUserToken>
        <ForceLogin>boolean</ForceLogin>
        <LastAction>string</LastAction>
        <LastActivity>dateTime</LastActivity>
        <UserID>int</UserID>
        <Avatar d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Profile d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </User>
      <SmallImage>string</SmallImage>
      <AvatarId>int</AvatarId>
      <UserTotalPosts>int</UserTotalPosts>
      <Member>int</Member>
      <UserCreated>dateTime</UserCreated>
    </CSPost>
  </Posts>
  <TotalPosts>int</TotalPosts>
</CSPosts>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Services.asmx/GetPosts HTTP/1.1
Host: dancesportinfo.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

threadId=string&pageNo=string&pageSize=string&ascend=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<CSPosts xmlns="http://dancesportinfo.net/">
  <Posts>
    <CSPost>
      <AggViews>int</AggViews>
      <ApplicationPostType>int</ApplicationPostType>
      <Body>string</Body>
      <EmoticonId>int</EmoticonId>
      <FormattedBody>string</FormattedBody>
      <IPAddress>string</IPAddress>
      <IsApproved>boolean</IsApproved>
      <IsIndexed>boolean</IsIndexed>
      <IsLocked>boolean</IsLocked>
      <ParentId>int</ParentId>
      <Points>int</Points>
      <PointsUpdated>dateTime</PointsUpdated>
      <PostAuthor>string</PostAuthor>
      <PostConfiguration>int</PostConfiguration>
      <Postdate>dateTime</Postdate>
      <PostId>int</PostId>
      <PostLevel>int</PostLevel>
      <PostName>string</PostName>
      <PostType>int</PostType>
      <PropertyNames>string</PropertyNames>
      <PropertyValues>string</PropertyValues>
      <RatingSum>int</RatingSum>
      <SectionId>int</SectionId>
      <SectionName>string</SectionName>
      <Subject>string</Subject>
      <ThreadId>int</ThreadId>
      <TotalRatings>int</TotalRatings>
      <TotalViews>int</TotalViews>
      <UserId>int</UserId>
      <UserTime>dateTime</UserTime>
      <User>
        <AppUserToken>string</AppUserToken>
        <ForceLogin>boolean</ForceLogin>
        <LastAction>string</LastAction>
        <LastActivity>dateTime</LastActivity>
        <UserID>int</UserID>
        <Avatar d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Profile d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </User>
      <SmallImage>string</SmallImage>
      <AvatarId>int</AvatarId>
      <UserTotalPosts>int</UserTotalPosts>
      <Member>int</Member>
      <UserCreated>dateTime</UserCreated>
    </CSPost>
    <CSPost>
      <AggViews>int</AggViews>
      <ApplicationPostType>int</ApplicationPostType>
      <Body>string</Body>
      <EmoticonId>int</EmoticonId>
      <FormattedBody>string</FormattedBody>
      <IPAddress>string</IPAddress>
      <IsApproved>boolean</IsApproved>
      <IsIndexed>boolean</IsIndexed>
      <IsLocked>boolean</IsLocked>
      <ParentId>int</ParentId>
      <Points>int</Points>
      <PointsUpdated>dateTime</PointsUpdated>
      <PostAuthor>string</PostAuthor>
      <PostConfiguration>int</PostConfiguration>
      <Postdate>dateTime</Postdate>
      <PostId>int</PostId>
      <PostLevel>int</PostLevel>
      <PostName>string</PostName>
      <PostType>int</PostType>
      <PropertyNames>string</PropertyNames>
      <PropertyValues>string</PropertyValues>
      <RatingSum>int</RatingSum>
      <SectionId>int</SectionId>
      <SectionName>string</SectionName>
      <Subject>string</Subject>
      <ThreadId>int</ThreadId>
      <TotalRatings>int</TotalRatings>
      <TotalViews>int</TotalViews>
      <UserId>int</UserId>
      <UserTime>dateTime</UserTime>
      <User>
        <AppUserToken>string</AppUserToken>
        <ForceLogin>boolean</ForceLogin>
        <LastAction>string</LastAction>
        <LastActivity>dateTime</LastActivity>
        <UserID>int</UserID>
        <Avatar d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Profile d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </User>
      <SmallImage>string</SmallImage>
      <AvatarId>int</AvatarId>
      <UserTotalPosts>int</UserTotalPosts>
      <Member>int</Member>
      <UserCreated>dateTime</UserCreated>
    </CSPost>
  </Posts>
  <TotalPosts>int</TotalPosts>
</CSPosts>