Tecno.Tardis.Api.Host

<back to all web services

UpdateHarddrivesRequest

The following routes are available for this service:
All Verbs/Devices/Harddrives/Update
UpdateHarddrivesRequest Parameters:
NameParameterData TypeRequiredDescription
HarddrivesqueryIEnumerable<Harddrive>No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
Harddrive Parameters:
NameParameterData TypeRequiredDescription
CurrentUsageformdoubleNo
CapacityformdoubleNo
NameformstringNo
CustomNameformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Devices/Harddrives/Update HTTP/1.1 
Host: api.tardis.tecno.de 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Success":false,"Message":"String"}