Web Service:PR-WS-5: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
"epid": 211312, | "epid": 211312, | ||
actions: { | actions: { | ||
"providerDetails": 'http:://rhea.ihris.org/providerDetails | "providerDetails": 'http:://rhea.ihris.org/providerDetails?epid=211312', | ||
"editProvider": 'http:://rhea.ihris.org/editProvider | "editProvider": 'http:://rhea.ihris.org/editProvider?epid=211312', | ||
"addPost": 'http:://rhea.ihris.org/addPost | "addPost": 'http:://rhea.ihris.org/addPost?epid=211312', | ||
" | "postDetails": 'http:://rhea.ihris.org/postDetails?epid=211312', | ||
} | } | ||
} | } |
Revision as of 12:57, 30 October 2012
Web Service: PR-WS-5 Add a Provider
Add Provider Details
URL | /ws/rest/v2/addProvider |
GET Parameters | The following webservice should accept the following parameters:
|
GET Response | HTTP 200 - OK
{ "epid": 211312, actions: { "providerDetails": 'http:://rhea.ihris.org/providerDetails?epid=211312', "editProvider": 'http:://rhea.ihris.org/editProvider?epid=211312', "addPost": 'http:://rhea.ihris.org/addPost?epid=211312', "postDetails": 'http:://rhea.ihris.org/postDetails?epid=211312', }} |
GET Error |
|
GET Example | /ws/rest/v2/addProvider/?firstname=Bill&surname=Smith&nationality=RW&nid=12312342 |
Other Resources: Use Case:PR-WS-5