Web Service:PR-WS-5
From IHRIS Wiki
Web Service: PR-WS-5 Add a Provider
Add Provider Details
URL | /ws/rest/v2/add/provider |
GET Parameters | The following webservice should accept the following parameters:
|
GET Response | HTTP 200 - OK
{ epid: 211312, actions: { providerDetails: 'http://rhea-pr.ihris.org/webservices/details/provider?epid=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/details/post?id=211312', viewProvider: 'http://rhea-pr.ihris.org/providerregistry/view?id=person%7C23123' }} |
GET Error |
|
GET Example | /ws/rest/v2/add/provider/?firstname=Bill&surname=Smith&nationality=RW&nid=12312342 |
Other Resources: Use Case:PR-WS-5