Gemma.WebApi

<back to all web services

GetDeviceFirmware

Servizio per il recupero della lista firmware compatibili con un dispositivo specifico.

Requires Authentication
The following routes are available for this service:
GET/dispositivi/by-serial/{Seriale}/firmware
GetDeviceFirmware Parameters:
NameParameterData TypeRequiredDescription
SerialepathstringYesIl numero di serie univoco del dispositivo (formato: 000-AAAA-00)

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 /dispositivi/by-serial/{Seriale}/firmware HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfFirmwareDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gemma.WebApi.ServiceModel.Types">
  <FirmwareDto>
    <Build>0</Build>
    <ChangeLog>String</ChangeLog>
    <CompatibileCon>
      <ArticoloCompatibileDto>
        <Codice>String</Codice>
        <PianoMontaggio>0</PianoMontaggio>
        <Sku>0</Sku>
      </ArticoloCompatibileDto>
    </CompatibileCon>
    <DataApprovazioneProduzione>0001-01-01T00:00:00</DataApprovazioneProduzione>
    <Id>0</Id>
    <IsInProduzione>false</IsInProduzione>
    <Major>0</Major>
    <Minor>0</Minor>
  </FirmwareDto>
</ArrayOfFirmwareDto>