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