Web Service:PR-WS-4: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{WebServicePage|Get Provider | {{WebServicePage|Get Provider Postings | ||
|number=PR-WS-4 | |number=PR-WS-4 | ||
|description=Fetches details of a provider's postings by their EPID. | |description=Fetches details of a provider's postings by their EPID. | ||
Line 13: | Line 13: | ||
*If the format='json' we return an array of associative arrays. The associative arrays have keys for the post attribtues. For example: | *If the format='json' we return an array of associative arrays. The associative arrays have keys for the post attribtues. For example: | ||
{ | { | ||
total_size : 2, | |||
start: 0, | |||
posts: { | |||
98798798 : { | 98798798 : { | ||
actions: { | actions: { |
Revision as of 19:05, 30 October 2012
Web Service: PR-WS-4 Get Provider Postings
Fetches details of a provider's postings by their EPID.
URL | /ws/rest/v2/providerPosts |
GET Parameters | This contains the following parameters to identify the provider whose details we shall return:
${epid} The provider's EPID
|
GET Response |
{ total_size : 2, start: 0, posts: { 98798798 : { actions: { 'editPost': http://rhea-pr.ihris.org/webservices/editPost?id=98798798', 'postDetails: http://rhea-pr.ihris.org/webservices/postDetails?id=98798798' } }, 9878799 : { actions: { 'editPost': http://rhea-pr.ihris.org/webservices/editPost?id=98798799', 'postDetails: http://rhea-pr.ihris.org/webservices/postDetails?id=98798799' } } }} |
GET Error |
|
Other Resources: Use Case:PR-WS-4