Services


Click here for a complete list of operations.

GetPhotoDisplayDetails

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

<?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>
    <GetPhotoDisplayDetails xmlns="http://dancesportinfo.net/">
      <photoId>int</photoId>
      <lang>string</lang>
    </GetPhotoDisplayDetails>
  </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>
    <GetPhotoDisplayDetailsResponse xmlns="http://dancesportinfo.net/">
      <GetPhotoDisplayDetailsResult>
        <CoupleName>string</CoupleName>
        <Submitted>dateTime</Submitted>
        <SubmittedBy>string</SubmittedBy>
        <UserName>string</UserName>
        <GalleryId>int</GalleryId>
        <Rating>decimal</Rating>
        <NumOfVotes>int</NumOfVotes>
        <TotalViews>int</TotalViews>
        <CompTotalVideos>int</CompTotalVideos>
        <CompPlace>string</CompPlace>
        <PhotoId>int</PhotoId>
        <CoupleId>int</CoupleId>
        <CompId>int</CompId>
        <EventId>int</EventId>
        <EventName>string</EventName>
        <FileName>string</FileName>
        <CompName>string</CompName>
        <Rights>
          <Photographer>string</Photographer>
          <ID>int</ID>
          <FavouriteIndex>int</FavouriteIndex>
          <CanBeProfile>boolean</CanBeProfile>
          <ProfileIndex>int</ProfileIndex>
          <NonDisplayable>boolean</NonDisplayable>
          <Displayable>boolean</Displayable>
          <GalleryId>int</GalleryId>
          <CoupleId>int</CoupleId>
          <CompId>int</CompId>
          <EventId>int</EventId>
          <Submitted>dateTime</Submitted>
          <SubmittedBy>string</SubmittedBy>
        </Rights>
        <GalleryName>string</GalleryName>
        <GalleryNameEnc>string</GalleryNameEnc>
        <EventNameEnc />
        <CompNameEnc>string</CompNameEnc>
        <CompStarted>string</CompStarted>
        <CompStartedDate>dateTime</CompStartedDate>
        <CoupleNameEnc>string</CoupleNameEnc>
        <Products>
          <PhotoProduct>
            <ProductName>string</ProductName>
            <ProductCode>string</ProductCode>
            <Id>int</Id>
            <Laminate>decimal</Laminate>
            <ChargeShipment>boolean</ChargeShipment>
            <IsDefault>boolean</IsDefault>
            <Discountable>boolean</Discountable>
            <Price>double</Price>
            <Text>string</Text>
            <Value>string</Value>
          </PhotoProduct>
          <PhotoProduct>
            <ProductName>string</ProductName>
            <ProductCode>string</ProductCode>
            <Id>int</Id>
            <Laminate>decimal</Laminate>
            <ChargeShipment>boolean</ChargeShipment>
            <IsDefault>boolean</IsDefault>
            <Discountable>boolean</Discountable>
            <Price>double</Price>
            <Text>string</Text>
            <Value>string</Value>
          </PhotoProduct>
        </Products>
        <Sponsors>
          <SponsoredItem>
            <Name>string</Name>
            <SponsorId>int</SponsorId>
            <ImageName>string</ImageName>
            <Message>string</Message>
            <Website>string</Website>
            <SponsorName>string</SponsorName>
          </SponsoredItem>
          <SponsoredItem>
            <Name>string</Name>
            <SponsorId>int</SponsorId>
            <ImageName>string</ImageName>
            <Message>string</Message>
            <Website>string</Website>
            <SponsorName>string</SponsorName>
          </SponsoredItem>
        </Sponsors>
        <Couple>
          <Name>string</Name>
          <Id>int</Id>
          <GentName>string</GentName>
          <LadyName>string</LadyName>
          <CurrentCountry>string</CurrentCountry>
          <LineAdvertText>string</LineAdvertText>
          <LineAdvertURL>string</LineAdvertURL>
          <LineAdvertId>int</LineAdvertId>
        </Couple>
        <Likes>int</Likes>
      </GetPhotoDisplayDetailsResult>
    </GetPhotoDisplayDetailsResponse>
  </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>
    <GetPhotoDisplayDetails xmlns="http://dancesportinfo.net/">
      <photoId>int</photoId>
      <lang>string</lang>
    </GetPhotoDisplayDetails>
  </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>
    <GetPhotoDisplayDetailsResponse xmlns="http://dancesportinfo.net/">
      <GetPhotoDisplayDetailsResult>
        <CoupleName>string</CoupleName>
        <Submitted>dateTime</Submitted>
        <SubmittedBy>string</SubmittedBy>
        <UserName>string</UserName>
        <GalleryId>int</GalleryId>
        <Rating>decimal</Rating>
        <NumOfVotes>int</NumOfVotes>
        <TotalViews>int</TotalViews>
        <CompTotalVideos>int</CompTotalVideos>
        <CompPlace>string</CompPlace>
        <PhotoId>int</PhotoId>
        <CoupleId>int</CoupleId>
        <CompId>int</CompId>
        <EventId>int</EventId>
        <EventName>string</EventName>
        <FileName>string</FileName>
        <CompName>string</CompName>
        <Rights>
          <Photographer>string</Photographer>
          <ID>int</ID>
          <FavouriteIndex>int</FavouriteIndex>
          <CanBeProfile>boolean</CanBeProfile>
          <ProfileIndex>int</ProfileIndex>
          <NonDisplayable>boolean</NonDisplayable>
          <Displayable>boolean</Displayable>
          <GalleryId>int</GalleryId>
          <CoupleId>int</CoupleId>
          <CompId>int</CompId>
          <EventId>int</EventId>
          <Submitted>dateTime</Submitted>
          <SubmittedBy>string</SubmittedBy>
        </Rights>
        <GalleryName>string</GalleryName>
        <GalleryNameEnc>string</GalleryNameEnc>
        <EventNameEnc />
        <CompNameEnc>string</CompNameEnc>
        <CompStarted>string</CompStarted>
        <CompStartedDate>dateTime</CompStartedDate>
        <CoupleNameEnc>string</CoupleNameEnc>
        <Products>
          <PhotoProduct>
            <ProductName>string</ProductName>
            <ProductCode>string</ProductCode>
            <Id>int</Id>
            <Laminate>decimal</Laminate>
            <ChargeShipment>boolean</ChargeShipment>
            <IsDefault>boolean</IsDefault>
            <Discountable>boolean</Discountable>
            <Price>double</Price>
            <Text>string</Text>
            <Value>string</Value>
          </PhotoProduct>
          <PhotoProduct>
            <ProductName>string</ProductName>
            <ProductCode>string</ProductCode>
            <Id>int</Id>
            <Laminate>decimal</Laminate>
            <ChargeShipment>boolean</ChargeShipment>
            <IsDefault>boolean</IsDefault>
            <Discountable>boolean</Discountable>
            <Price>double</Price>
            <Text>string</Text>
            <Value>string</Value>
          </PhotoProduct>
        </Products>
        <Sponsors>
          <SponsoredItem>
            <Name>string</Name>
            <SponsorId>int</SponsorId>
            <ImageName>string</ImageName>
            <Message>string</Message>
            <Website>string</Website>
            <SponsorName>string</SponsorName>
          </SponsoredItem>
          <SponsoredItem>
            <Name>string</Name>
            <SponsorId>int</SponsorId>
            <ImageName>string</ImageName>
            <Message>string</Message>
            <Website>string</Website>
            <SponsorName>string</SponsorName>
          </SponsoredItem>
        </Sponsors>
        <Couple>
          <Name>string</Name>
          <Id>int</Id>
          <GentName>string</GentName>
          <LadyName>string</LadyName>
          <CurrentCountry>string</CurrentCountry>
          <LineAdvertText>string</LineAdvertText>
          <LineAdvertURL>string</LineAdvertURL>
          <LineAdvertId>int</LineAdvertId>
        </Couple>
        <Likes>int</Likes>
      </GetPhotoDisplayDetailsResult>
    </GetPhotoDisplayDetailsResponse>
  </soap12:Body>
</soap12:Envelope>