Rest - Admin - Outcomes: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Purpose== To fetch information about the outcomes an agency is associated with. '''''Please note that this is currently a read only service''''' ===Base URL=== http://app....") |
(No difference)
|
Revision as of 09:17, 2 May 2012
Purpose
To fetch information about the outcomes an agency is associated with. Please note that this is currently a read only service
Base URL
http://app.views.coop/api/restful/admin/outcomes
Retreive associated outcomes
curl --url <Base URL> -u<username>:<password> -H Content-Type:text/xml -X POST -d "<xml>"
This will return a list of outcomes that the agency is associated with in the following format:
<?xml version="1.0" encoding="utf-8"?> <admin> <outcomes> <outcome id="7">An Outcome</outcome> <outcome id="18">Outcome 2</outcome> <outcome id="19">Another Outcome</outcome> </outcomes> </admin>