Web Service:PR-WS-6: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{WebServicePage|Edit a Provider | {{WebServicePage|Edit a Provider | ||
|number=PR-WS-6 | |number=PR-WS-6 | ||
|description= | |description=Edit Provider Details | ||
|applications=Interoperability Layer, Point-Of-Care, iHRIS | |applications=Interoperability Layer, Point-Of-Care, iHRIS | ||
|url=/ws/rest/v2/ | |url=/ws/rest/v2/edit/provider | ||
|params=The following webservice should accept the following parameters: | |params=The following webservice should accept the following parameters: | ||
*${epid} The EPID of the provider. Required. | *${epid} The EPID of the provider. Required. | ||
Line 22: | Line 22: | ||
epid: 211312, | epid: 211312, | ||
actions: { | actions: { | ||
providerDetails: 'http://rhea-pr.ihris.org/webservices/ | providerDetails: 'http://rhea-pr.ihris.org/webservices/detials/provider/byid?id_num=211312', | ||
editProvider: 'http://rhea-pr.ihris.org/webservices/ | editProvider: 'http://rhea-pr.ihris.org/webservices/edit/provider?epid=211312', | ||
addPost: 'http://rhea-pr.ihris.org/webservices/ | addPost: 'http://rhea-pr.ihris.org/webservices/add/post?epid=211312', | ||
queryPosts: 'http://rhea-pr.ihris.org/webservices/ | queryPosts: 'http://rhea-pr.ihris.org/webservices/query/posts?epid=211312', | ||
viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' | viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' | ||
} | } |
Latest revision as of 06:50, 31 October 2012
Web Service: PR-WS-6 Edit a Provider
Edit Provider Details
URL | /ws/rest/v2/edit/provider |
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/detials/provider/byid?id_num=211312', editProvider: 'http://rhea-pr.ihris.org/webservices/edit/provider?epid=211312', addPost: 'http://rhea-pr.ihris.org/webservices/add/post?epid=211312', queryPosts: 'http://rhea-pr.ihris.org/webservices/query/posts?epid=211312', viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' }} |
GET Error |
|
GET Example | /ws/rest/v2/edit/provider/?provder=m®_body=2 |
Other Resources: Use Case:PR-WS-6