Services
Click here for a complete list of operations.
GetPostsShort
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/GetPostsShort" <?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> <GetPostsShort xmlns="http://dancesportinfo.net/"> <threadId>int</threadId> <pageNo>int</pageNo> <pageSize>int</pageSize> <ascend>boolean</ascend> </GetPostsShort> </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> <GetPostsShortResponse xmlns="http://dancesportinfo.net/"> <GetPostsShortResult> <dsi_cs_GetPostsResult> <SmallImage>string</SmallImage> <PostID>int</PostID> <ThreadID>int</ThreadID> <ParentID>int</ParentID> <PostAuthor>string</PostAuthor> <UserID>int</UserID> <SectionID>int</SectionID> <PostLevel>int</PostLevel> <SortOrder>int</SortOrder> <Subject>string</Subject> <PostDate>dateTime</PostDate> <IsApproved>boolean</IsApproved> <IsLocked>boolean</IsLocked> <IsIndexed>boolean</IsIndexed> <TotalViews>int</TotalViews> <Body>string</Body> <FormattedBody>string</FormattedBody> <IPAddress>string</IPAddress> <PostType>int</PostType> <EmoticonID>int</EmoticonID> <PropertyNames>string</PropertyNames> <PropertyValues>string</PropertyValues> <SettingsID>int</SettingsID> <AggViews>int</AggViews> <PostConfiguration>int</PostConfiguration> <PostName>string</PostName> <UserTime>dateTime</UserTime> <ApplicationPostType>int</ApplicationPostType> <Points>int</Points> <RatingSum>int</RatingSum> <TotalRatings>int</TotalRatings> <PointsUpdated>dateTime</PointsUpdated> <Preview>string</Preview> <PreviewNoTags>string</PreviewNoTags> <AvatarId>int</AvatarId> <UserTotalPosts>int</UserTotalPosts> <UserCreated>dateTime</UserCreated> <Member>int</Member> </dsi_cs_GetPostsResult> <dsi_cs_GetPostsResult> <SmallImage>string</SmallImage> <PostID>int</PostID> <ThreadID>int</ThreadID> <ParentID>int</ParentID> <PostAuthor>string</PostAuthor> <UserID>int</UserID> <SectionID>int</SectionID> <PostLevel>int</PostLevel> <SortOrder>int</SortOrder> <Subject>string</Subject> <PostDate>dateTime</PostDate> <IsApproved>boolean</IsApproved> <IsLocked>boolean</IsLocked> <IsIndexed>boolean</IsIndexed> <TotalViews>int</TotalViews> <Body>string</Body> <FormattedBody>string</FormattedBody> <IPAddress>string</IPAddress> <PostType>int</PostType> <EmoticonID>int</EmoticonID> <PropertyNames>string</PropertyNames> <PropertyValues>string</PropertyValues> <SettingsID>int</SettingsID> <AggViews>int</AggViews> <PostConfiguration>int</PostConfiguration> <PostName>string</PostName> <UserTime>dateTime</UserTime> <ApplicationPostType>int</ApplicationPostType> <Points>int</Points> <RatingSum>int</RatingSum> <TotalRatings>int</TotalRatings> <PointsUpdated>dateTime</PointsUpdated> <Preview>string</Preview> <PreviewNoTags>string</PreviewNoTags> <AvatarId>int</AvatarId> <UserTotalPosts>int</UserTotalPosts> <UserCreated>dateTime</UserCreated> <Member>int</Member> </dsi_cs_GetPostsResult> </GetPostsShortResult> </GetPostsShortResponse> </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> <GetPostsShort xmlns="http://dancesportinfo.net/"> <threadId>int</threadId> <pageNo>int</pageNo> <pageSize>int</pageSize> <ascend>boolean</ascend> </GetPostsShort> </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> <GetPostsShortResponse xmlns="http://dancesportinfo.net/"> <GetPostsShortResult> <dsi_cs_GetPostsResult> <SmallImage>string</SmallImage> <PostID>int</PostID> <ThreadID>int</ThreadID> <ParentID>int</ParentID> <PostAuthor>string</PostAuthor> <UserID>int</UserID> <SectionID>int</SectionID> <PostLevel>int</PostLevel> <SortOrder>int</SortOrder> <Subject>string</Subject> <PostDate>dateTime</PostDate> <IsApproved>boolean</IsApproved> <IsLocked>boolean</IsLocked> <IsIndexed>boolean</IsIndexed> <TotalViews>int</TotalViews> <Body>string</Body> <FormattedBody>string</FormattedBody> <IPAddress>string</IPAddress> <PostType>int</PostType> <EmoticonID>int</EmoticonID> <PropertyNames>string</PropertyNames> <PropertyValues>string</PropertyValues> <SettingsID>int</SettingsID> <AggViews>int</AggViews> <PostConfiguration>int</PostConfiguration> <PostName>string</PostName> <UserTime>dateTime</UserTime> <ApplicationPostType>int</ApplicationPostType> <Points>int</Points> <RatingSum>int</RatingSum> <TotalRatings>int</TotalRatings> <PointsUpdated>dateTime</PointsUpdated> <Preview>string</Preview> <PreviewNoTags>string</PreviewNoTags> <AvatarId>int</AvatarId> <UserTotalPosts>int</UserTotalPosts> <UserCreated>dateTime</UserCreated> <Member>int</Member> </dsi_cs_GetPostsResult> <dsi_cs_GetPostsResult> <SmallImage>string</SmallImage> <PostID>int</PostID> <ThreadID>int</ThreadID> <ParentID>int</ParentID> <PostAuthor>string</PostAuthor> <UserID>int</UserID> <SectionID>int</SectionID> <PostLevel>int</PostLevel> <SortOrder>int</SortOrder> <Subject>string</Subject> <PostDate>dateTime</PostDate> <IsApproved>boolean</IsApproved> <IsLocked>boolean</IsLocked> <IsIndexed>boolean</IsIndexed> <TotalViews>int</TotalViews> <Body>string</Body> <FormattedBody>string</FormattedBody> <IPAddress>string</IPAddress> <PostType>int</PostType> <EmoticonID>int</EmoticonID> <PropertyNames>string</PropertyNames> <PropertyValues>string</PropertyValues> <SettingsID>int</SettingsID> <AggViews>int</AggViews> <PostConfiguration>int</PostConfiguration> <PostName>string</PostName> <UserTime>dateTime</UserTime> <ApplicationPostType>int</ApplicationPostType> <Points>int</Points> <RatingSum>int</RatingSum> <TotalRatings>int</TotalRatings> <PointsUpdated>dateTime</PointsUpdated> <Preview>string</Preview> <PreviewNoTags>string</PreviewNoTags> <AvatarId>int</AvatarId> <UserTotalPosts>int</UserTotalPosts> <UserCreated>dateTime</UserCreated> <Member>int</Member> </dsi_cs_GetPostsResult> </GetPostsShortResult> </GetPostsShortResponse> </soap12:Body> </soap12:Envelope>