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 .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'UpdateHarddrivesRequest' using the custom 'csv' filter}Für dieses Objekt wurde kein parameterloser Konstruktor definiert.
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'BaseResponse' using the custom 'csv' filter}Für dieses Objekt wurde kein parameterloser Konstruktor definiert.