Web Service:PR-WS-6: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
actions: { | actions: { | ||
providerDetails: 'http://rhea-pr.ihris.org/webservices/providerDetails/byid?id_num=211312', | providerDetails: 'http://rhea-pr.ihris.org/webservices/providerDetails/byid?id_num=211312', | ||
editProvider: 'http://rhea-pr.ihris.org/webservices/editProvider | editProvider: 'http://rhea-pr.ihris.org/webservices/editProvider?epid=211312', | ||
addPost: 'http://rhea-pr.ihris.org/webservices/addPost | addPost: 'http://rhea-pr.ihris.org/webservices/addPost?epid=211312', | ||
queryPosts: 'http://rhea-pr.ihris.org/webservices/getPosts?epid=211312', | queryPosts: 'http://rhea-pr.ihris.org/webservices/getPosts?epid=211312', | ||
viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' | viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' |
Revision as of 19:49, 30 October 2012
Web Service: PR-WS-6 Edit a Provider
Add Provider Details
URL | /ws/rest/v2/editProvider |
GET Parameters | The following webservice should accept the following parameters:
|
GET Response | HTTP 200 - OK
further web-service actions to perform on the provider Example: { epid: 211312, actions: { providerDetails: 'http://rhea-pr.ihris.org/webservices/providerDetails/byid?id_num=211312', editProvider: 'http://rhea-pr.ihris.org/webservices/editProvider?epid=211312', addPost: 'http://rhea-pr.ihris.org/webservices/addPost?epid=211312', queryPosts: 'http://rhea-pr.ihris.org/webservices/getPosts?epid=211312', viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' }} |
GET Error |
|
GET Example | /ws/rest/v2/editProvider/?provder=m®_body=2 |
Other Resources: Use Case:PR-WS-6