Services


Click here for a complete list of operations.

GetPosts

Test

The test form is only available for requests from the local machine.

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>