TFTP Web Services API

<back to all web services

FTPFirmwareUpdateSessionRequest

The following routes are available for this service:
POST/FTP/Sessionwill create a unique requestId for each firmware file
GET/FTP/Session/FTP/Session?requestIds={requestIds}&format=xml(requestId is separated by comma eg. 0f5b0cade06c43c984686bbea.bin,0f5b0cade06c43c984686bbeb.bin)
DELETE/FTP/Session/FTP/Session?uid={uid}&format=xml

To override the Content-type in your clients 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.

POST /xml/reply/FTPFirmwareUpdateSessionRequest HTTP/1.1 
Host: tftp-api.connect24.com 
Content-Type: application/xml
Content-Length: length

<FTPFirmwareUpdateSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tyco.TSP.Connect24_2008.TFTPAPILibrary">
  <FirmwareDeviceList>
    <FirmwareDevice>
      <GlassId>String</GlassId>
      <ImageFiles>
        <ImageFile>
          <ImageFileID>String</ImageFileID>
          <ImageFileVer>String</ImageFileVer>
        </ImageFile>
      </ImageFiles>
      <Market>String</Market>
      <SoftwareVariant>String</SoftwareVariant>
      <Type>String</Type>
      <Version>String</Version>
      <VersionToUpdate>String</VersionToUpdate>
      <DisplayName>String</DisplayName>
      <EstimatedLocalUpdateTimeInMinutes>0</EstimatedLocalUpdateTimeInMinutes>
      <FileName>String</FileName>
      <TranslatedDescription>String</TranslatedDescription>
      <UpdateOrder>0</UpdateOrder>
    </FirmwareDevice>
  </FirmwareDeviceList>
  <requestIds>String</requestIds>
  <uid>String</uid>
</FTPFirmwareUpdateSessionRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FirmwareUpdateSessionTransactionStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tyco.TSP.Connect24_2008.TFTPAPILibrary">
  <ExtendedStatusMessage xmlns="">String</ExtendedStatusMessage>
  <OperationStatus xmlns="">false</OperationStatus>
  <StatusCode xmlns="">0</StatusCode>
  <StatusMessage xmlns="">String</StatusMessage>
  <SessionFirmwareDevices>
    <SessionFirmwareDevice>
      <GlassId>String</GlassId>
      <ImageFiles>
        <ImageFile>
          <ImageFileID>String</ImageFileID>
          <ImageFileVer>String</ImageFileVer>
        </ImageFile>
      </ImageFiles>
      <Market>String</Market>
      <SoftwareVariant>String</SoftwareVariant>
      <Type>String</Type>
      <Version>String</Version>
      <VersionToUpdate>String</VersionToUpdate>
      <DisplayName>String</DisplayName>
      <EstimatedLocalUpdateTimeInMinutes>0</EstimatedLocalUpdateTimeInMinutes>
      <FileName>String</FileName>
      <TranslatedDescription>String</TranslatedDescription>
      <UpdateOrder>0</UpdateOrder>
      <RequestId>String</RequestId>
    </SessionFirmwareDevice>
  </SessionFirmwareDevices>
</FirmwareUpdateSessionTransactionStatus>