PhotosynthService


Click here for a complete list of operations.

AddSynthPhoto

Verify with server-side manifest file whether a file needs to be uploaded.

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 /photosynthws/PhotosynthService.asmx HTTP/1.1
Host: photosynth.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://labs.live.com/AddSynthPhoto"

<?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>
    <AddSynthPhoto xmlns="http://labs.live.com/">
      <CollectionId>guid</CollectionId>
      <ImageHash>string</ImageHash>
      <PhotoName>string</PhotoName>
    </AddSynthPhoto>
  </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>
    <AddSynthPhotoResponse xmlns="http://labs.live.com/">
      <AddSynthPhotoResult>
        <Result>InvalidPuidFormat or CannotFindCollection or CannotFindUser or MalformedManifest or MissingCollectionEntry or EncounteredUnaccountedFile or CollectionAlreadyExists or AlreadyCommittedCollection or AuthenticationError or UnknownError or UploadsAreDisabled or CannotProcessCollection or UserQuotaExceededTheLimit or NotCollectionOwner or NotLoggedIn or InvalidSynthData or SynthEditsAreDisabled or InvalidArgument or OK or CollectionIsAvailable or CollectionIsDeleted or CollectionIsProcessing or CollectionIsAvailableWithoutTags or CollectionIsProcessingWithoutTags or CollectionNotEdited</Result>
        <PhotoUrl>string</PhotoUrl>
        <Action>string</Action>
      </AddSynthPhotoResult>
    </AddSynthPhotoResponse>
  </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 /photosynthws/PhotosynthService.asmx HTTP/1.1
Host: photosynth.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>
    <AddSynthPhoto xmlns="http://labs.live.com/">
      <CollectionId>guid</CollectionId>
      <ImageHash>string</ImageHash>
      <PhotoName>string</PhotoName>
    </AddSynthPhoto>
  </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>
    <AddSynthPhotoResponse xmlns="http://labs.live.com/">
      <AddSynthPhotoResult>
        <Result>InvalidPuidFormat or CannotFindCollection or CannotFindUser or MalformedManifest or MissingCollectionEntry or EncounteredUnaccountedFile or CollectionAlreadyExists or AlreadyCommittedCollection or AuthenticationError or UnknownError or UploadsAreDisabled or CannotProcessCollection or UserQuotaExceededTheLimit or NotCollectionOwner or NotLoggedIn or InvalidSynthData or SynthEditsAreDisabled or InvalidArgument or OK or CollectionIsAvailable or CollectionIsDeleted or CollectionIsProcessing or CollectionIsAvailableWithoutTags or CollectionIsProcessingWithoutTags or CollectionNotEdited</Result>
        <PhotoUrl>string</PhotoUrl>
        <Action>string</Action>
      </AddSynthPhotoResult>
    </AddSynthPhotoResponse>
  </soap12:Body>
</soap12:Envelope>