Views API Documentation: Difference between revisions
Jump to navigation
Jump to search
(→Admin) |
(→Rest) |
||
Line 10: | Line 10: | ||
==Rest== | ==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 <code>Content-Type: application/json</code>, alternatively you have append the extension <code>.json</code> to the URI e.g: | 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 <code>Content-Type: application/json</code>, alternatively you have append the extension <code>.json</code> to the URI e.g: | ||
curl --url <Base URL>/<id> -u<username>:<password> -H application/json | curl --url <Base URL>/<id> -u<username>:<password> -H Accept:application/json | ||
or | or |
Revision as of 16:04, 20 April 2012
SOAP Documention
Contacts
Evidence
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>