GET api/DataSyncService/GetNewTreatments?integrationID={integrationID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| integrationID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TreatmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PracticeID | globally unique identifier |
None. |
|
| PracticeName | string |
None. |
|
| ID | globally unique identifier |
None. |
|
| ThirdPartyID | string |
None. |
|
| TreatmentDetails | Collection of TreatmentInfoViewModel |
None. |
|
| TreatmentDate | date |
None. |
|
| ThirdPartyID_ProviderID | string |
None. |
|
| ThirdPartyID_PatientID | string |
None. |
|
| TreatmentNote | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PracticeID": "ba8a0ebe-d0a2-41b7-bbdb-fb75506b2228",
"PracticeName": "sample string 2",
"ID": "a5aa764f-062f-477e-8ebc-2c20f57ea8c4",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "4c5ada2d-955f-442f-bf9d-2bcdd8a58de0",
"PracticeName": "sample string 2",
"ID": "990922f4-2f59-4758-a387-07ae8da2ff05",
"ThirdPartyID": "sample string 4",
"Drug_Id": "86e0442c-b598-41db-b585-ffd919c27f3d",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-11-08T12:49:01.9077575+00:00",
"End_Date": "2025-11-08T12:49:01.9077575+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "5161ac26-b81b-45c1-b115-abb7f9a93e50",
"Consult_Date": "2025-11-08T12:49:01.9077575+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "4c5ada2d-955f-442f-bf9d-2bcdd8a58de0",
"PracticeName": "sample string 2",
"ID": "990922f4-2f59-4758-a387-07ae8da2ff05",
"ThirdPartyID": "sample string 4",
"Drug_Id": "86e0442c-b598-41db-b585-ffd919c27f3d",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-11-08T12:49:01.9077575+00:00",
"End_Date": "2025-11-08T12:49:01.9077575+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "5161ac26-b81b-45c1-b115-abb7f9a93e50",
"Consult_Date": "2025-11-08T12:49:01.9077575+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2025-11-08T12:49:01.9077575+00:00",
"ThirdPartyID_ProviderID": "sample string 6",
"ThirdPartyID_PatientID": "sample string 7",
"TreatmentNote": "sample string 8"
},
{
"PracticeID": "ba8a0ebe-d0a2-41b7-bbdb-fb75506b2228",
"PracticeName": "sample string 2",
"ID": "a5aa764f-062f-477e-8ebc-2c20f57ea8c4",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "4c5ada2d-955f-442f-bf9d-2bcdd8a58de0",
"PracticeName": "sample string 2",
"ID": "990922f4-2f59-4758-a387-07ae8da2ff05",
"ThirdPartyID": "sample string 4",
"Drug_Id": "86e0442c-b598-41db-b585-ffd919c27f3d",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-11-08T12:49:01.9077575+00:00",
"End_Date": "2025-11-08T12:49:01.9077575+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "5161ac26-b81b-45c1-b115-abb7f9a93e50",
"Consult_Date": "2025-11-08T12:49:01.9077575+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "4c5ada2d-955f-442f-bf9d-2bcdd8a58de0",
"PracticeName": "sample string 2",
"ID": "990922f4-2f59-4758-a387-07ae8da2ff05",
"ThirdPartyID": "sample string 4",
"Drug_Id": "86e0442c-b598-41db-b585-ffd919c27f3d",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-11-08T12:49:01.9077575+00:00",
"End_Date": "2025-11-08T12:49:01.9077575+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "5161ac26-b81b-45c1-b115-abb7f9a93e50",
"Consult_Date": "2025-11-08T12:49:01.9077575+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2025-11-08T12:49:01.9077575+00:00",
"ThirdPartyID_ProviderID": "sample string 6",
"ThirdPartyID_PatientID": "sample string 7",
"TreatmentNote": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfTreatmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSPSolutions.Middleware.Service.Models">
<TreatmentModel>
<ID>a5aa764f-062f-477e-8ebc-2c20f57ea8c4</ID>
<PracticeID>ba8a0ebe-d0a2-41b7-bbdb-fb75506b2228</PracticeID>
<PracticeName>sample string 2</PracticeName>
<ThirdPartyID>sample string 4</ThirdPartyID>
<ThirdPartyID_PatientID>sample string 7</ThirdPartyID_PatientID>
<ThirdPartyID_ProviderID>sample string 6</ThirdPartyID_ProviderID>
<TreatmentDate>2025-11-08T12:49:01.9077575+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-11-08T12:49:01.9077575+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>86e0442c-b598-41db-b585-ffd919c27f3d</Drug_Id>
<End_Date>2025-11-08T12:49:01.9077575+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>990922f4-2f59-4758-a387-07ae8da2ff05</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>4c5ada2d-955f-442f-bf9d-2bcdd8a58de0</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>5161ac26-b81b-45c1-b115-abb7f9a93e50</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-11-08T12:49:01.9077575+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-11-08T12:49:01.9077575+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>86e0442c-b598-41db-b585-ffd919c27f3d</Drug_Id>
<End_Date>2025-11-08T12:49:01.9077575+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>990922f4-2f59-4758-a387-07ae8da2ff05</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>4c5ada2d-955f-442f-bf9d-2bcdd8a58de0</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>5161ac26-b81b-45c1-b115-abb7f9a93e50</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-11-08T12:49:01.9077575+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 8</TreatmentNote>
</TreatmentModel>
<TreatmentModel>
<ID>a5aa764f-062f-477e-8ebc-2c20f57ea8c4</ID>
<PracticeID>ba8a0ebe-d0a2-41b7-bbdb-fb75506b2228</PracticeID>
<PracticeName>sample string 2</PracticeName>
<ThirdPartyID>sample string 4</ThirdPartyID>
<ThirdPartyID_PatientID>sample string 7</ThirdPartyID_PatientID>
<ThirdPartyID_ProviderID>sample string 6</ThirdPartyID_ProviderID>
<TreatmentDate>2025-11-08T12:49:01.9077575+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-11-08T12:49:01.9077575+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>86e0442c-b598-41db-b585-ffd919c27f3d</Drug_Id>
<End_Date>2025-11-08T12:49:01.9077575+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>990922f4-2f59-4758-a387-07ae8da2ff05</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>4c5ada2d-955f-442f-bf9d-2bcdd8a58de0</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>5161ac26-b81b-45c1-b115-abb7f9a93e50</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-11-08T12:49:01.9077575+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-11-08T12:49:01.9077575+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>86e0442c-b598-41db-b585-ffd919c27f3d</Drug_Id>
<End_Date>2025-11-08T12:49:01.9077575+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>990922f4-2f59-4758-a387-07ae8da2ff05</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>4c5ada2d-955f-442f-bf9d-2bcdd8a58de0</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>5161ac26-b81b-45c1-b115-abb7f9a93e50</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-11-08T12:49:01.9077575+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 8</TreatmentNote>
</TreatmentModel>
</ArrayOfTreatmentModel>