PV API Service

<back to all web services

PatientSearchRequest

POST search terms to retrieve a count of patients matching criteria

The following routes are available for this service:
POST, OPTIONS/PatientAPI/PatientSearch/{PracticeNameOrPk}/Count

To override the Content-type in your clients HTTP Accept Header, append ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/PatientSearchRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<PatientSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.Data.DataModel.PatientAPI">
  <DateOfBirth>0001-01-01T00:00:00</DateOfBirth>
  <FirstName>String</FirstName>
  <LastName>String</LastName>
  <PracticeNameOrPk>String</PracticeNameOrPk>
  <Ssn>String</Ssn>
</PatientSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PatientSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.Data.DataModel.PatientAPI">
  <NumberOfMatches>0</NumberOfMatches>
</PatientSearchResponse>