Last active
December 15, 2015 10:18
-
-
Save eldewall/5244335 to your computer and use it in GitHub Desktop.
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
GET /company/1 | |
{ | |
"Id": 1, | |
"Name": "Företaget", | |
"Resources": { | |
"Notes": "http://host/company/1/notes", | |
"Users": "http://host/company/1/users", | |
"Facilities": "http://host/company/1/facilities" | |
} | |
} | |
Get /company/1/notes | |
{ | |
[ | |
{ "Id": 5, "Note" : "Inte betalt" }, | |
{ "Id": 7, "Note" : "Svarar inte på mail" } | |
] | |
} | |
Get /note/5 | |
{ | |
"Id": 5, | |
"Note" : "Inte betalt", | |
"NotedAt" : "2013-02-26 10:56" | |
"Resources" : { | |
"NotedBy" : "http://host/users/50" | |
"NotedOn" : "http://host/company/1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment