Gemma.WebApi

<back to all web services

GetImmagineRequest

Requires Authentication
The following routes are available for this service:
GET/immagini/{Id}
GetImmagineRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
ImmagineResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ImageContentTypeformstringNo
Imageformbyte[]No
ImageWidthformint?No
ImageHeightformint?No
ThumbnailContentTypeformstringNo
Thumbnailformbyte[]No
ThumbnailWidthformint?No
ThumbnailHeightformint?No
Immagine Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NomeformstringNo
RefCountformintNo
IsCachedformboolNo
DidascaliaCnIdformintNo
UrlformstringNo
ImmagineCollegataIdformintNo
ImmagineCollegataformImmagineNo
TipoImmagineIdformintNo
TipoImmagineformTipoImmagineNo
TipoImmagine Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NomeformstringNo
AltezzaformintNo
LarghezzaformintNo
IsAlphaChannelformboolNo
AlphaColorformstringNo
IsKeyColorformboolNo
KeyColorformstringNo
PosizioneformintNo
AltezzaThumbformintNo
LarghezzaThumbformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /immagini/{Id} HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ImmagineResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Responses">
  <DidascaliaCnId xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">0</DidascaliaCnId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">0</Id>
  <ImmagineCollegata xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">
    <DidascaliaCnId>0</DidascaliaCnId>
    <Id>0</Id>
    <ImmagineCollegata>
      <DidascaliaCnId>0</DidascaliaCnId>
      <Id>0</Id>
      <ImmagineCollegata>
        <DidascaliaCnId>0</DidascaliaCnId>
        <Id>0</Id>
        <ImmagineCollegata i:nil="true" />
        <ImmagineCollegataId>0</ImmagineCollegataId>
        <IsCached>false</IsCached>
        <Nome>String</Nome>
        <RefCount>0</RefCount>
        <TipoImmagine>
          <AlphaColor>String</AlphaColor>
          <Altezza>0</Altezza>
          <AltezzaThumb>0</AltezzaThumb>
          <Id>0</Id>
          <IsAlphaChannel>false</IsAlphaChannel>
          <IsKeyColor>false</IsKeyColor>
          <KeyColor>String</KeyColor>
          <Larghezza>0</Larghezza>
          <LarghezzaThumb>0</LarghezzaThumb>
          <Nome>String</Nome>
          <Posizione>0</Posizione>
        </TipoImmagine>
        <TipoImmagineId>0</TipoImmagineId>
        <Url>String</Url>
      </ImmagineCollegata>
      <ImmagineCollegataId>0</ImmagineCollegataId>
      <IsCached>false</IsCached>
      <Nome>String</Nome>
      <RefCount>0</RefCount>
      <TipoImmagine>
        <AlphaColor>String</AlphaColor>
        <Altezza>0</Altezza>
        <AltezzaThumb>0</AltezzaThumb>
        <Id>0</Id>
        <IsAlphaChannel>false</IsAlphaChannel>
        <IsKeyColor>false</IsKeyColor>
        <KeyColor>String</KeyColor>
        <Larghezza>0</Larghezza>
        <LarghezzaThumb>0</LarghezzaThumb>
        <Nome>String</Nome>
        <Posizione>0</Posizione>
      </TipoImmagine>
      <TipoImmagineId>0</TipoImmagineId>
      <Url>String</Url>
    </ImmagineCollegata>
    <ImmagineCollegataId>0</ImmagineCollegataId>
    <IsCached>false</IsCached>
    <Nome>String</Nome>
    <RefCount>0</RefCount>
    <TipoImmagine>
      <AlphaColor>String</AlphaColor>
      <Altezza>0</Altezza>
      <AltezzaThumb>0</AltezzaThumb>
      <Id>0</Id>
      <IsAlphaChannel>false</IsAlphaChannel>
      <IsKeyColor>false</IsKeyColor>
      <KeyColor>String</KeyColor>
      <Larghezza>0</Larghezza>
      <LarghezzaThumb>0</LarghezzaThumb>
      <Nome>String</Nome>
      <Posizione>0</Posizione>
    </TipoImmagine>
    <TipoImmagineId>0</TipoImmagineId>
    <Url>String</Url>
  </ImmagineCollegata>
  <ImmagineCollegataId xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">0</ImmagineCollegataId>
  <IsCached xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">false</IsCached>
  <Nome xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">String</Nome>
  <RefCount xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">0</RefCount>
  <TipoImmagine xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">
    <AlphaColor>String</AlphaColor>
    <Altezza>0</Altezza>
    <AltezzaThumb>0</AltezzaThumb>
    <Id>0</Id>
    <IsAlphaChannel>false</IsAlphaChannel>
    <IsKeyColor>false</IsKeyColor>
    <KeyColor>String</KeyColor>
    <Larghezza>0</Larghezza>
    <LarghezzaThumb>0</LarghezzaThumb>
    <Nome>String</Nome>
    <Posizione>0</Posizione>
  </TipoImmagine>
  <TipoImmagineId xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">0</TipoImmagineId>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">String</Url>
  <Id>0</Id>
  <ImageContentType>String</ImageContentType>
  <ThumbnailContentType>String</ThumbnailContentType>
</ImmagineResponse>