* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /cmdbuild/services/rest/v2/classes/Heater/cards HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8080
> Accept: */*
> Content-Type: application/json
> CMDBuild-Authorization: l912k4np1a2mr78erd28hnjp8e
>
< HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Date: Mon, 13 Jun 2016 11:10:41 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
<
{ [data not shown]
100 1057 0 1057 0 0 14873 0 --:--:-- --:--:-- --:--:-- 14887
* Connection #0 to host localhost left intact
{
"meta" : {
"references" : {},
"total" : 1,
"positions" : {}
},
"data" : [
{
"IsInRoom" : null,
"Efficiency" : null,
"Availability" : null,
"Weight" : null,
"WarrantyCode" : null,
"NoiseLevel" : null,
"Model" : null,
"IsInFloor" : null,
"AmortizationEnd" : null,
"Code" : null,
"SerialNumber" : "HEATER",
"Plant" : null,
"AssetStatus" : null,
"Installer" : null,
"Condition" : null,
"Area" : null,
"HeatingCapacity" : null,
"WarrantyEnd" : null,
"IsInBuilding" : null,
"DisposalDate" : null,
"AcceptanceDate" : null,
"_type" : "Heater",
"FullyDepreciated" : false,
"WarrantyStart" : null,
"Colour" : null,
"PurchaseRequest" : null,
"WarrantyType" : null,
"Description" : "An heater",
"Width" : null,
"Group" : null,
"Warehouse" : null,
"LastCheckDate" : null,
"PurchasePrice" : null,
"Notes" : null,
"Category" : null,
"Fuel" : null,
"Supplier" : null,
"IsInUnit" : null,
"Height" : null,
"InvoiceNumber" : null,
"Life" : null,
"AnnualAmortization" : null,
"Manufacturer" : null,
"IsInComplex" : null,
"PowerConsumption" : null,
"AmortizationStart" : null,
"Criticality" : null,
"Depth" : null,
"InstallationDate" : null,
"AssetUser" : null,
"MinTemp" : null,
"ModelData" : null,
"_id" : 240304,
"CurrentValue" : null,
"MaxTemp" : null
}
]
}