Gallery
Click here for a complete list of operations.
GetMediaObjectHtml
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /galeria/gs/services/Gallery.asmx HTTP/1.1 Host: www.filarmonia.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.galleryserverpro.com/GetMediaObjectHtml" <?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> <GetMediaObjectHtml xmlns="http://www.galleryserverpro.com/"> <mediaObjectId>int</mediaObjectId> <displayType>Unknown or Thumbnail or Optimized or Original or External</displayType> </GetMediaObjectHtml> </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> <GetMediaObjectHtmlResponse xmlns="http://www.galleryserverpro.com/"> <GetMediaObjectHtmlResult> <Id>int</Id> <Index>int</Index> <NumObjectsInAlbum>int</NumObjectsInAlbum> <Title>string</Title> <HtmlOutput>string</HtmlOutput> <ScriptOutput>string</ScriptOutput> <Width>int</Width> <Height>int</Height> <HiResAvailable>boolean</HiResAvailable> <IsDownloadable>boolean</IsDownloadable> <PrevId>int</PrevId> <PrevTitle>string</PrevTitle> <PrevHtmlOutput>string</PrevHtmlOutput> <PrevScriptOutput>string</PrevScriptOutput> <PrevWidth>int</PrevWidth> <PrevHeight>int</PrevHeight> <PrevHiResAvailable>boolean</PrevHiResAvailable> <PrevIsDownloadable>boolean</PrevIsDownloadable> <NextId>int</NextId> <NextTitle>string</NextTitle> <NextHtmlOutput>string</NextHtmlOutput> <NextScriptOutput>string</NextScriptOutput> <NextWidth>int</NextWidth> <NextHeight>int</NextHeight> <NextHiResAvailable>boolean</NextHiResAvailable> <NextIsDownloadable>boolean</NextIsDownloadable> <NextSSId>int</NextSSId> <NextSSIndex>int</NextSSIndex> <NextSSTitle>string</NextSSTitle> <NextSSUrl>string</NextSSUrl> <NextSSHtmlOutput>string</NextSSHtmlOutput> <NextSSScriptOutput>string</NextSSScriptOutput> <NextSSWidth>int</NextSSWidth> <NextSSHeight>int</NextSSHeight> <NextSSHiResAvailable>boolean</NextSSHiResAvailable> <NextSSIsDownloadable>boolean</NextSSIsDownloadable> </GetMediaObjectHtmlResult> </GetMediaObjectHtmlResponse> </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 /galeria/gs/services/Gallery.asmx HTTP/1.1 Host: www.filarmonia.org 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> <GetMediaObjectHtml xmlns="http://www.galleryserverpro.com/"> <mediaObjectId>int</mediaObjectId> <displayType>Unknown or Thumbnail or Optimized or Original or External</displayType> </GetMediaObjectHtml> </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> <GetMediaObjectHtmlResponse xmlns="http://www.galleryserverpro.com/"> <GetMediaObjectHtmlResult> <Id>int</Id> <Index>int</Index> <NumObjectsInAlbum>int</NumObjectsInAlbum> <Title>string</Title> <HtmlOutput>string</HtmlOutput> <ScriptOutput>string</ScriptOutput> <Width>int</Width> <Height>int</Height> <HiResAvailable>boolean</HiResAvailable> <IsDownloadable>boolean</IsDownloadable> <PrevId>int</PrevId> <PrevTitle>string</PrevTitle> <PrevHtmlOutput>string</PrevHtmlOutput> <PrevScriptOutput>string</PrevScriptOutput> <PrevWidth>int</PrevWidth> <PrevHeight>int</PrevHeight> <PrevHiResAvailable>boolean</PrevHiResAvailable> <PrevIsDownloadable>boolean</PrevIsDownloadable> <NextId>int</NextId> <NextTitle>string</NextTitle> <NextHtmlOutput>string</NextHtmlOutput> <NextScriptOutput>string</NextScriptOutput> <NextWidth>int</NextWidth> <NextHeight>int</NextHeight> <NextHiResAvailable>boolean</NextHiResAvailable> <NextIsDownloadable>boolean</NextIsDownloadable> <NextSSId>int</NextSSId> <NextSSIndex>int</NextSSIndex> <NextSSTitle>string</NextSSTitle> <NextSSUrl>string</NextSSUrl> <NextSSHtmlOutput>string</NextSSHtmlOutput> <NextSSScriptOutput>string</NextSSScriptOutput> <NextSSWidth>int</NextSSWidth> <NextSSHeight>int</NextSSHeight> <NextSSHiResAvailable>boolean</NextSSHiResAvailable> <NextSSIsDownloadable>boolean</NextSSIsDownloadable> </GetMediaObjectHtmlResult> </GetMediaObjectHtmlResponse> </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 /galeria/gs/services/Gallery.asmx/GetMediaObjectHtml?mediaObjectId=string&displayType=string HTTP/1.1 Host: www.filarmonia.org
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <MediaObjectWebEntity xmlns="http://www.galleryserverpro.com/"> <Id>int</Id> <Index>int</Index> <NumObjectsInAlbum>int</NumObjectsInAlbum> <Title>string</Title> <HtmlOutput>string</HtmlOutput> <ScriptOutput>string</ScriptOutput> <Width>int</Width> <Height>int</Height> <HiResAvailable>boolean</HiResAvailable> <IsDownloadable>boolean</IsDownloadable> <PrevId>int</PrevId> <PrevTitle>string</PrevTitle> <PrevHtmlOutput>string</PrevHtmlOutput> <PrevScriptOutput>string</PrevScriptOutput> <PrevWidth>int</PrevWidth> <PrevHeight>int</PrevHeight> <PrevHiResAvailable>boolean</PrevHiResAvailable> <PrevIsDownloadable>boolean</PrevIsDownloadable> <NextId>int</NextId> <NextTitle>string</NextTitle> <NextHtmlOutput>string</NextHtmlOutput> <NextScriptOutput>string</NextScriptOutput> <NextWidth>int</NextWidth> <NextHeight>int</NextHeight> <NextHiResAvailable>boolean</NextHiResAvailable> <NextIsDownloadable>boolean</NextIsDownloadable> <NextSSId>int</NextSSId> <NextSSIndex>int</NextSSIndex> <NextSSTitle>string</NextSSTitle> <NextSSUrl>string</NextSSUrl> <NextSSHtmlOutput>string</NextSSHtmlOutput> <NextSSScriptOutput>string</NextSSScriptOutput> <NextSSWidth>int</NextSSWidth> <NextSSHeight>int</NextSSHeight> <NextSSHiResAvailable>boolean</NextSSHiResAvailable> <NextSSIsDownloadable>boolean</NextSSIsDownloadable> </MediaObjectWebEntity>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /galeria/gs/services/Gallery.asmx/GetMediaObjectHtml HTTP/1.1 Host: www.filarmonia.org Content-Type: application/x-www-form-urlencoded Content-Length: length mediaObjectId=string&displayType=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <MediaObjectWebEntity xmlns="http://www.galleryserverpro.com/"> <Id>int</Id> <Index>int</Index> <NumObjectsInAlbum>int</NumObjectsInAlbum> <Title>string</Title> <HtmlOutput>string</HtmlOutput> <ScriptOutput>string</ScriptOutput> <Width>int</Width> <Height>int</Height> <HiResAvailable>boolean</HiResAvailable> <IsDownloadable>boolean</IsDownloadable> <PrevId>int</PrevId> <PrevTitle>string</PrevTitle> <PrevHtmlOutput>string</PrevHtmlOutput> <PrevScriptOutput>string</PrevScriptOutput> <PrevWidth>int</PrevWidth> <PrevHeight>int</PrevHeight> <PrevHiResAvailable>boolean</PrevHiResAvailable> <PrevIsDownloadable>boolean</PrevIsDownloadable> <NextId>int</NextId> <NextTitle>string</NextTitle> <NextHtmlOutput>string</NextHtmlOutput> <NextScriptOutput>string</NextScriptOutput> <NextWidth>int</NextWidth> <NextHeight>int</NextHeight> <NextHiResAvailable>boolean</NextHiResAvailable> <NextIsDownloadable>boolean</NextIsDownloadable> <NextSSId>int</NextSSId> <NextSSIndex>int</NextSSIndex> <NextSSTitle>string</NextSSTitle> <NextSSUrl>string</NextSSUrl> <NextSSHtmlOutput>string</NextSSHtmlOutput> <NextSSScriptOutput>string</NextSSScriptOutput> <NextSSWidth>int</NextSSWidth> <NextSSHeight>int</NextSSHeight> <NextSSHiResAvailable>boolean</NextSSHiResAvailable> <NextSSIsDownloadable>boolean</NextSSIsDownloadable> </MediaObjectWebEntity>