POST api/ProviderService/SearchDocumentsByPatient

Search Documents By Patient

Request Information

URI Parameters

None.

Body Parameters

document Search Filter

DocumentSearchFilter
NameDescriptionTypeAdditional information
DocumentName

Document Name

string

None.

PatientID

Patient ID

globally unique identifier

None.

DocLabelID

Doc Label ID

integer

None.

PracticeID

Practice ID

globally unique identifier

None.

ProviderID

Provider ID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentName": "sample string 1",
  "PatientID": "15077e66-2e83-4029-b200-897d6704a336",
  "DocLabelID": 1,
  "PracticeID": "d9262f89-4b38-4913-9b53-bbbfb25b164e",
  "ProviderID": "9be4225e-5a99-4276-9fc8-5acf32463bca"
}

application/xml, text/xml

Sample:
<DocumentSearchFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <DocLabelID>1</DocLabelID>
  <DocumentName>sample string 1</DocumentName>
  <PatientID>15077e66-2e83-4029-b200-897d6704a336</PatientID>
  <PracticeID>d9262f89-4b38-4913-9b53-bbbfb25b164e</PracticeID>
  <ProviderID>9be4225e-5a99-4276-9fc8-5acf32463bca</ProviderID>
</DocumentSearchFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DocumentSearchFilter'.

Response Information

Resource Description

Collection of vwDocumentsByPatient
NameDescriptionTypeAdditional information
DocumentFile_Id

integer

None.

Name

string

None.

NameOriginal

string

None.

LabelName

string

None.

Patient_Id

globally unique identifier

None.

Full_Name

string

None.

Practice_Id

globally unique identifier

None.

DateCreated

date

None.

Entity_Id

globally unique identifier

None.

Document_Label_Id

integer

None.

Account_Type_Id

integer

None.

FileContent_Type_Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DocumentFile_Id": 1,
    "Name": "sample string 2",
    "NameOriginal": "sample string 3",
    "LabelName": "sample string 4",
    "Patient_Id": "6458da1c-0b84-4725-9fbd-955349c1c4c4",
    "Full_Name": "sample string 6",
    "Practice_Id": "0324ce15-8594-4990-a62c-826fba30a7ca",
    "DateCreated": "2025-06-08T01:27:23.0244991+00:00",
    "Entity_Id": "e9b6f9ec-0960-4212-92cd-f4ff6ef959ed",
    "Document_Label_Id": 1,
    "Account_Type_Id": 1,
    "FileContent_Type_Id": 1
  },
  {
    "DocumentFile_Id": 1,
    "Name": "sample string 2",
    "NameOriginal": "sample string 3",
    "LabelName": "sample string 4",
    "Patient_Id": "6458da1c-0b84-4725-9fbd-955349c1c4c4",
    "Full_Name": "sample string 6",
    "Practice_Id": "0324ce15-8594-4990-a62c-826fba30a7ca",
    "DateCreated": "2025-06-08T01:27:23.0244991+00:00",
    "Entity_Id": "e9b6f9ec-0960-4212-92cd-f4ff6ef959ed",
    "Document_Label_Id": 1,
    "Account_Type_Id": 1,
    "FileContent_Type_Id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfvwDocumentsByPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRDomainClasses">
  <vwDocumentsByPatient>
    <Account_Type_Id>1</Account_Type_Id>
    <DateCreated>2025-06-08T01:27:23.0244991+00:00</DateCreated>
    <DocumentFile_Id>1</DocumentFile_Id>
    <Document_Label_Id>1</Document_Label_Id>
    <Entity_Id>e9b6f9ec-0960-4212-92cd-f4ff6ef959ed</Entity_Id>
    <FileContent_Type_Id>1</FileContent_Type_Id>
    <Full_Name>sample string 6</Full_Name>
    <LabelName>sample string 4</LabelName>
    <Name>sample string 2</Name>
    <NameOriginal>sample string 3</NameOriginal>
    <Patient_Id>6458da1c-0b84-4725-9fbd-955349c1c4c4</Patient_Id>
    <Practice_Id>0324ce15-8594-4990-a62c-826fba30a7ca</Practice_Id>
  </vwDocumentsByPatient>
  <vwDocumentsByPatient>
    <Account_Type_Id>1</Account_Type_Id>
    <DateCreated>2025-06-08T01:27:23.0244991+00:00</DateCreated>
    <DocumentFile_Id>1</DocumentFile_Id>
    <Document_Label_Id>1</Document_Label_Id>
    <Entity_Id>e9b6f9ec-0960-4212-92cd-f4ff6ef959ed</Entity_Id>
    <FileContent_Type_Id>1</FileContent_Type_Id>
    <Full_Name>sample string 6</Full_Name>
    <LabelName>sample string 4</LabelName>
    <Name>sample string 2</Name>
    <NameOriginal>sample string 3</NameOriginal>
    <Patient_Id>6458da1c-0b84-4725-9fbd-955349c1c4c4</Patient_Id>
    <Practice_Id>0324ce15-8594-4990-a62c-826fba30a7ca</Practice_Id>
  </vwDocumentsByPatient>
</ArrayOfvwDocumentsByPatient>