Created
September 18, 2014 08:21
-
-
Save fourier/b9a79ebcaeb241c01a0c to your computer and use it in GitHub Desktop.
request for log entries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://marauder.tiro.se/api/log\?start\=2014-09-01\&end\=2014-09-18 -H "Authorization: Basic alexey@veroveli.com:alexey123" | |
{ | |
"startDate" : "2014-09-01T04:00:00Z", | |
"endDate" : "2014-09-18T04:00:00Z", | |
"entries" : [ { | |
"id" : 45, | |
"customer" : 6, | |
"project" : null, | |
"workcode" : null, | |
"user" : 93, | |
"type" : "expense", | |
"startLat" : null, | |
"startLong" : null, | |
"startTime" : "2014-09-17T13:38:00Z", | |
"startInLocation" : null, | |
"endLat" : null, | |
"endLong" : null, | |
"endTime" : null, | |
"endInLocation" : null, | |
"duration" : null, | |
"invoice" : true, | |
"unit" : null, | |
"comment" : "parking", | |
"commentInvoice" : null, | |
"price" : 160.0, | |
"pieces" : 1, | |
"onlyDate" : null, | |
"calculatedPrice" : null | |
}, { | |
"id" : 46, | |
"customer" : 6, | |
"project" : null, | |
"workcode" : null, | |
"user" : 93, | |
"type" : "time", | |
"startLat" : null, | |
"startLong" : null, | |
"startTime" : "2014-09-17T13:38:00Z", | |
"startInLocation" : null, | |
"endLat" : null, | |
"endLong" : null, | |
"endTime" : null, | |
"endInLocation" : null, | |
"duration" : 840, | |
"invoice" : true, | |
"unit" : null, | |
"comment" : null, | |
"commentInvoice" : null, | |
"price" : null, | |
"pieces" : null, | |
"onlyDate" : null, | |
"calculatedPrice" : null | |
} ], | |
"projects" : [ ], | |
"workcodes" : [ ], | |
"customers" : [ { | |
"id" : 6, | |
"name" : "Veroveli" | |
} ] | |
}% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment