Services


Click here for a complete list of operations.

GetCompetitionList

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
countryID:
town:
started:
name:
lang:
pageNo:
pageSize:
photosAvailable:
videosAvailable:

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/GetCompetitionList"

<?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>
    <GetCompetitionList xmlns="http://dancesportinfo.net/">
      <countryID>string</countryID>
      <town>string</town>
      <started>string</started>
      <name>string</name>
      <lang>string</lang>
      <pageNo>int</pageNo>
      <pageSize>int</pageSize>
      <photosAvailable>boolean</photosAvailable>
      <videosAvailable>boolean</videosAvailable>
    </GetCompetitionList>
  </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>
    <GetCompetitionListResponse xmlns="http://dancesportinfo.net/">
      <GetCompetitionListResult>
        <SearchCompResult>
          <Comp>
            <EventDates xsi:nil="true" />
            <Name>string</Name>
            <ID>int</ID>
            <Place>string</Place>
            <Started>dateTime</Started>
            <Displayable>boolean</Displayable>
            <Date>string</Date>
            <Photo>int</Photo>
            <Video>int</Video>
            <CodedName>string</CodedName>
            <Notes>string</Notes>
            <Finished>dateTime</Finished>
            <SubmittedBy>string</SubmittedBy>
            <Submitted>dateTime</Submitted>
            <Sponsors xsi:nil="true" />
          </Comp>
          <Events>
            <SearchEventResult xsi:nil="true" />
            <SearchEventResult xsi:nil="true" />
          </Events>
        </SearchCompResult>
        <SearchCompResult>
          <Comp>
            <EventDates xsi:nil="true" />
            <Name>string</Name>
            <ID>int</ID>
            <Place>string</Place>
            <Started>dateTime</Started>
            <Displayable>boolean</Displayable>
            <Date>string</Date>
            <Photo>int</Photo>
            <Video>int</Video>
            <CodedName>string</CodedName>
            <Notes>string</Notes>
            <Finished>dateTime</Finished>
            <SubmittedBy>string</SubmittedBy>
            <Submitted>dateTime</Submitted>
            <Sponsors xsi:nil="true" />
          </Comp>
          <Events>
            <SearchEventResult xsi:nil="true" />
            <SearchEventResult xsi:nil="true" />
          </Events>
        </SearchCompResult>
      </GetCompetitionListResult>
    </GetCompetitionListResponse>
  </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>
    <GetCompetitionList xmlns="http://dancesportinfo.net/">
      <countryID>string</countryID>
      <town>string</town>
      <started>string</started>
      <name>string</name>
      <lang>string</lang>
      <pageNo>int</pageNo>
      <pageSize>int</pageSize>
      <photosAvailable>boolean</photosAvailable>
      <videosAvailable>boolean</videosAvailable>
    </GetCompetitionList>
  </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>
    <GetCompetitionListResponse xmlns="http://dancesportinfo.net/">
      <GetCompetitionListResult>
        <SearchCompResult>
          <Comp>
            <EventDates xsi:nil="true" />
            <Name>string</Name>
            <ID>int</ID>
            <Place>string</Place>
            <Started>dateTime</Started>
            <Displayable>boolean</Displayable>
            <Date>string</Date>
            <Photo>int</Photo>
            <Video>int</Video>
            <CodedName>string</CodedName>
            <Notes>string</Notes>
            <Finished>dateTime</Finished>
            <SubmittedBy>string</SubmittedBy>
            <Submitted>dateTime</Submitted>
            <Sponsors xsi:nil="true" />
          </Comp>
          <Events>
            <SearchEventResult xsi:nil="true" />
            <SearchEventResult xsi:nil="true" />
          </Events>
        </SearchCompResult>
        <SearchCompResult>
          <Comp>
            <EventDates xsi:nil="true" />
            <Name>string</Name>
            <ID>int</ID>
            <Place>string</Place>
            <Started>dateTime</Started>
            <Displayable>boolean</Displayable>
            <Date>string</Date>
            <Photo>int</Photo>
            <Video>int</Video>
            <CodedName>string</CodedName>
            <Notes>string</Notes>
            <Finished>dateTime</Finished>
            <SubmittedBy>string</SubmittedBy>
            <Submitted>dateTime</Submitted>
            <Sponsors xsi:nil="true" />
          </Comp>
          <Events>
            <SearchEventResult xsi:nil="true" />
            <SearchEventResult xsi:nil="true" />
          </Events>
        </SearchCompResult>
      </GetCompetitionListResult>
    </GetCompetitionListResponse>
  </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/GetCompetitionList?countryID=string&town=string&started=string&name=string&lang=string&pageNo=string&pageSize=string&photosAvailable=string&videosAvailable=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"?>
<ArrayOfSearchCompResult xmlns="http://dancesportinfo.net/">
  <SearchCompResult>
    <Comp>
      <EventDates>
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </EventDates>
      <Name>string</Name>
      <ID>int</ID>
      <Place>string</Place>
      <Started>dateTime</Started>
      <Displayable>boolean</Displayable>
      <Date>string</Date>
      <Photo>int</Photo>
      <Video>int</Video>
      <CodedName>string</CodedName>
      <Notes>string</Notes>
      <Finished>dateTime</Finished>
      <SubmittedBy>string</SubmittedBy>
      <Submitted>dateTime</Submitted>
      <Sponsors>
        <int>int</int>
        <int>int</int>
      </Sponsors>
    </Comp>
    <Events>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
    </Events>
  </SearchCompResult>
  <SearchCompResult>
    <Comp>
      <EventDates>
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </EventDates>
      <Name>string</Name>
      <ID>int</ID>
      <Place>string</Place>
      <Started>dateTime</Started>
      <Displayable>boolean</Displayable>
      <Date>string</Date>
      <Photo>int</Photo>
      <Video>int</Video>
      <CodedName>string</CodedName>
      <Notes>string</Notes>
      <Finished>dateTime</Finished>
      <SubmittedBy>string</SubmittedBy>
      <Submitted>dateTime</Submitted>
      <Sponsors>
        <int>int</int>
        <int>int</int>
      </Sponsors>
    </Comp>
    <Events>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
    </Events>
  </SearchCompResult>
</ArrayOfSearchCompResult>

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/GetCompetitionList HTTP/1.1
Host: dancesportinfo.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

countryID=string&town=string&started=string&name=string&lang=string&pageNo=string&pageSize=string&photosAvailable=string&videosAvailable=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSearchCompResult xmlns="http://dancesportinfo.net/">
  <SearchCompResult>
    <Comp>
      <EventDates>
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </EventDates>
      <Name>string</Name>
      <ID>int</ID>
      <Place>string</Place>
      <Started>dateTime</Started>
      <Displayable>boolean</Displayable>
      <Date>string</Date>
      <Photo>int</Photo>
      <Video>int</Video>
      <CodedName>string</CodedName>
      <Notes>string</Notes>
      <Finished>dateTime</Finished>
      <SubmittedBy>string</SubmittedBy>
      <Submitted>dateTime</Submitted>
      <Sponsors>
        <int>int</int>
        <int>int</int>
      </Sponsors>
    </Comp>
    <Events>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
    </Events>
  </SearchCompResult>
  <SearchCompResult>
    <Comp>
      <EventDates>
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SearchCompEventDate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </EventDates>
      <Name>string</Name>
      <ID>int</ID>
      <Place>string</Place>
      <Started>dateTime</Started>
      <Displayable>boolean</Displayable>
      <Date>string</Date>
      <Photo>int</Photo>
      <Video>int</Video>
      <CodedName>string</CodedName>
      <Notes>string</Notes>
      <Finished>dateTime</Finished>
      <SubmittedBy>string</SubmittedBy>
      <Submitted>dateTime</Submitted>
      <Sponsors>
        <int>int</int>
        <int>int</int>
      </Sponsors>
    </Comp>
    <Events>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
      <SearchEventResult>
        <Name>string</Name>
        <CodedName>string</CodedName>
        <ID>int</ID>
        <Started>dateTime</Started>
        <Date>string</Date>
        <Status>string</Status>
        <Style>string</Style>
      </SearchEventResult>
    </Events>
  </SearchCompResult>
</ArrayOfSearchCompResult>