Web Service:PR-WS-3: Difference between revisions
From IHRIS Wiki
(Created page with "{{WebServicePage|Get Provider Detail |number=PR-WS-3 |description=Fetches details of a provider by their EPID or other identification type. |applications=Interoperability Laye...") |
No edit summary |
||
Line 11: | Line 11: | ||
*SSN - for social security number | *SSN - for social security number | ||
*${id_number} is the value of the associated id | *${id_number} is the value of the associated id | ||
*${format}The response format. One of: | *${format}The response format. One of: | ||
**HL7 | **HL7 | ||
**JSON -- in this case we return an associative array whose keys are the valid values received in ${attributes[]} | **JSON -- in this case we return an associative array as follows: | ||
{ | |||
{ | |||
firstname: "Bill" | |||
surname: "Smith" | |||
cadre: "Nurse" | |||
email: "litlfred@ibibilio.org" | |||
passport: "12312312" | |||
mutuelle: "123123444" | |||
csr: "123123" | |||
nid: "333" | |||
} | |||
} | |||
whose keys are the valid values received in ${attributes[]} | |||
| | | | ||
|response=*HTTP 200 - OK | |response=*HTTP 200 - OK |
Revision as of 07:07, 17 October 2012
Web Service: PR-WS-3 Get Provider Detail
Fetches details of a provider by their EPID or other identification type.
URL | /ws/rest/v2/providerDetails/byid |
GET Parameters | This contains the followng parameters to identify the provider whose details we shall return:
${id-type} is one of the following:
{ { firstname: "Bill" surname: "Smith" cadre: "Nurse" email: "litlfred@ibibilio.org" passport: "12312312" mutuelle: "123123444" csr: "123123" nid: "333" } } whose keys are the valid values received in ${attributes[]} |
GET Response |
|
GET Error |
|
Other Resources: Use Case:PR-WS-1