Web Service:PR-WS-2: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|url=/ws/rest/v1/professional/epid/query | |url=/ws/rest/v1/professional/epid/query | ||
|params=The following query parameters are allowed: | |params=The following query parameters are allowed: | ||
*${size} The maximum number number of EPIDs to return | *${size} The maximum number number of EPIDs to return. Defaults to 50. | ||
*${start} The starting offset for listing EPIDs. | *${start} The starting offset for listing EPIDs. Defaults to 10. | ||
*The following search possible parameters will be "and"ed together | *The following search possible parameters will be "and"ed together | ||
**${firstname} The provider's given name. | **${firstname} The provider's given name. |
Revision as of 19:03, 30 October 2012
Web Service: PR-WS-2 Query For Providers
Fetches a HC Professional Enterprise ID for the professional specified by the professional ID parameter.
URL | /ws/rest/v1/professional/epid/query |
GET Parameters | The following query parameters are allowed:
|
GET Response | HTTP 200 - OK
The HTTP response body will contain a list of matching EIDSs as specified by the ${format} parameter:
{ "epids": {211312,131241241,12398213,12312,123} "total_size" : 300, "start": 10 }
|
GET Error |
|
GET Example | /ws/rest/v1/professional/epid/query/?foasid=123&size=5&start=10 |
Notes | Need to good way for limiting response length. See A collection: the list of bugs in the Launchpad API |
Other Resources: Use Case:PR-WS-2