Created
September 18, 2014 08:23
-
-
Save fourier/2230e5d881f26dab69bf to your computer and use it in GitHub Desktop.
XML Description of the request and response
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
<request proto:name="LogEntries" | |
proto:url="http://marauder.tiro.se/api/log" | |
proto:auth="true" | |
proto:response="LogEntriesInterval"> | |
<cgn:field cgn:name="start" cgn:type="string" /> | |
<cgn:field cgn:name="end" cgn:type="string" /> | |
</request> | |
<cgn:object cgn:name="IdToName"> | |
<cgn:field cgn:name="id" cgn:type="long"/> | |
<cgn:field cgn:name="name" /> | |
</cgn:object> | |
<cgn:object cgn:name="LogEntry"> | |
<cgn:field cgn:name="id" cgn:type="long" /> | |
<cgn:field cgn:name="customer" cgn:type="long" /> | |
<cgn:field cgn:name="project" cgn:type="long" /> | |
<cgn:field cgn:name="workcode" cgn:type="long" /> | |
<cgn:field cgn:name="user" cgn:type="long" /> | |
<cgn:field cgn:name="type" /> | |
<cgn:field cgn:name="startLat" cgn:type="double" /> | |
<cgn:field cgn:name="startLong" cgn:type="doulbe" /> | |
<cgn:field cgn:name="startTime" cgn:type="date" /> | |
<cgn:field cgn:name="startInLocation" /> | |
<cgn:field cgn:name="endLat" cgn:type="double" /> | |
<cgn:field cgn:name="endLong" cgn:type="double" /> | |
<cgn:field cgn:name="endTime" cgn:type="date" /> | |
<cgn:field cgn:name="endInLocation" /> | |
<cgn:field cgn:name="duration" cgn:type="int" /> | |
<cgn:field cgn:name="invoice" cgn:type="boolean" /> | |
<cgn:field cgn:name="unit" /> | |
<cgn:field cgn:name="comment" /> | |
<cgn:field cgn:name="commentInvoice" /> | |
<cgn:field cgn:name="price" /> | |
<cgn:field cgn:name="pieces" /> | |
<cgn:field cgn:name="onlyDate" /> | |
<cgn:field cgn:name="calculatedPrice" /> | |
</cgn:object> | |
<cgn:object cgn:name="LogEntriesInterval"> | |
<cgn:field cgn:name="startDate" cgn:type="date"/> | |
<cgn:field cgn:name="endDate" cgn:type="date"/> | |
<cgn:field cgn:name="entries" cgn:type="[LogEntry]"/> | |
<!-- "projects" : [ ], --> | |
<!-- "workcodes" : [ ], --> | |
<cgn:field cgn:name="customers" cgn:type="[IdToName]"/> | |
</cgn:object> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment