Web Service:PR-WS-8: Difference between revisions
From IHRIS Wiki
(Created page with "{{WebServicePage|Add a Post |number=PR-WS-8 |description=Add Post Details |applications=Interoperability Layer, Point-Of-Care, iHRIS |url=/ws/rest/v2/addPost |params=The fo...") |
No edit summary |
||
Line 27: | Line 27: | ||
*HTTP 400 - Bad Request - If the parameters are malformed. | *HTTP 400 - Bad Request - If the parameters are malformed. | ||
|notes= | |notes= | ||
|resources=[[Use Case:PR-WS- | |resources=[[Use Case:PR-WS-8]] | ||
}} | }} |
Revision as of 19:34, 30 October 2012
Web Service: PR-WS-8 Add a Post
Add Post Details
URL | /ws/rest/v2/addPost |
GET Parameters | The following webservice should accept the following parameters:
|
GET Response | HTTP 200 - OK
{ id: 211312, actions: { editPost: 'http://rhea-pr.ihris.org/webservices/editPost?id=992312', postDetails: 'http://rhea-pr.ihris.org/webservices/viewPost?id=992312', viewPost: 'http://rhea-pr.ihris.org/providerregistry/post?id=post%7C992312', }} |
GET Error |
|
GET Example | /ws/rest/v2/addPost/?category=NURSE&type=PPS&fosaid=12312&orgunit=2133 |
Other Resources: Use Case:PR-WS-8