Web Service:PR-WS-4: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|description=Fetches details of a provider's postings by their EPID. | |description=Fetches details of a provider's postings by their EPID. | ||
|applications=Interoperability Layer, Point-Of-Care, Facility Registry, iHRIS | |applications=Interoperability Layer, Point-Of-Care, Facility Registry, iHRIS | ||
|url=/ws/rest/v2/ | |url=/ws/rest/v2/query/posts | ||
|params=This contains the following parameters to identify the provider whose details we shall return. The values of epid, foasid and orgunit are "and"ed together: | |params=This contains the following parameters to identify the provider whose details we shall return. The values of epid, foasid and orgunit are "and"ed together: | ||
*${epid} The provider's EPID. Optional. | *${epid} The provider's EPID. Optional. | ||
Line 21: | Line 21: | ||
posts: { | posts: { | ||
98798798 : { | 98798798 : { | ||
editPost: http://rhea-pr.ihris.org/webservices/ | editPost: http://rhea-pr.ihris.org/webservices/edit/post?id=98798798', | ||
postDetails: http://rhea-pr.ihris.org/webservices/ | postDetails: http://rhea-pr.ihris.org/webservices/details/post?id=98798798' | ||
}, | }, | ||
9878799 : { | 9878799 : { | ||
editPost: http://rhea-pr.ihris.org/webservices/ | editPost: http://rhea-pr.ihris.org/webservices/edit/post?id=98798799', | ||
postDetails: http://rhea-pr.ihris.org/webservices/ | postDetails: http://rhea-pr.ihris.org/webservices/details/post?id=98798799' | ||
} | } | ||
} | } |
Latest revision as of 06:47, 31 October 2012
Web Service: PR-WS-4 Query For Postings
Fetches details of a provider's postings by their EPID.
URL | /ws/rest/v2/query/posts |
GET Parameters | This contains the following parameters to identify the provider whose details we shall return. The values of epid, foasid and orgunit are "and"ed together:
|
GET Response |
{ total_size : 2, start: 0, posts: { 98798798 : { editPost: http://rhea-pr.ihris.org/webservices/edit/post?id=98798798', postDetails: http://rhea-pr.ihris.org/webservices/details/post?id=98798798' }, 9878799 : { editPost: http://rhea-pr.ihris.org/webservices/edit/post?id=98798799', postDetails: http://rhea-pr.ihris.org/webservices/details/post?id=98798799' } }} |
GET Error |
|
Other Resources: Use Case:PR-WS-4