Views API Documentation: Difference between revisions
Jump to navigation
Jump to search
m (→Contacts) |
(→Work) |
||
Line 22: | Line 22: | ||
** [[Rest - Work - Session Groups - Sessions|Sessions]] | ** [[Rest - Work - Session Groups - Sessions|Sessions]] | ||
*** [[Rest - Work - Session Groups - Session Notes|Session Notes]] | *** [[Rest - Work - Session Groups - Session Notes|Session Notes]] | ||
*** [[Rest - Work - Session Groups - Session Participants|Session Participants]] | |||
*** [[Rest - Work - Session Groups - Session Staff|Session Staff]] | |||
* [[Rest - Work - Agency Projects|Agency Projects]] | * [[Rest - Work - Agency Projects|Agency Projects]] | ||
** [[Rest - Work - Agency Projects - Session Groups|Agency Project Session Groups]] | ** [[Rest - Work - Agency Projects - Session Groups|Agency Project Session Groups]] |
Revision as of 11:43, 6 June 2012
Rest
All of our REST services are available in both XML and JSON formats, unless otherwise stated. The default format is XML. For the purposes of this documentation we only document the XML method. If you want to interact using json, then you should either make sure you request using Content-Type: application/json
, alternatively you have append the extension .json
to the URI e.g:
curl --url <Base URL>/<id> -u<username>:<password> -H Accept:application/json
or
curl --url <Base URL>/<id>.json -u<username>:<password>