POST api/DataSyncService/SyncTreatments?integrationID={integrationID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| integrationID | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[
{
"PracticeID": "92b0b9a7-bd8a-4209-b0c8-2572ba79a592",
"PracticeName": "sample string 2",
"ID": "71c0d0f6-bd87-40a4-886a-10029e181659",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "c5a7c43a-6017-4ec9-a3dd-522d51d97d63",
"PracticeName": "sample string 2",
"ID": "8c1462d6-ac99-4af9-aff5-54202b3cd159",
"ThirdPartyID": "sample string 4",
"Drug_Id": "2a960c66-e01c-4d7f-80f1-0bf34caa6070",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2026-06-28T12:56:31.6237145+00:00",
"End_Date": "2026-06-28T12:56:31.6237145+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "f7c871f0-023e-47df-81a6-3d9cb5ddfbc1",
"Consult_Date": "2026-06-28T12:56:31.6247146+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "c5a7c43a-6017-4ec9-a3dd-522d51d97d63",
"PracticeName": "sample string 2",
"ID": "8c1462d6-ac99-4af9-aff5-54202b3cd159",
"ThirdPartyID": "sample string 4",
"Drug_Id": "2a960c66-e01c-4d7f-80f1-0bf34caa6070",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2026-06-28T12:56:31.6237145+00:00",
"End_Date": "2026-06-28T12:56:31.6237145+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "f7c871f0-023e-47df-81a6-3d9cb5ddfbc1",
"Consult_Date": "2026-06-28T12:56:31.6247146+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2026-06-28T12:56:31.6247146+00:00",
"ThirdPartyID_ProviderID": "sample string 6",
"ThirdPartyID_PatientID": "sample string 7",
"TreatmentNote": "sample string 8"
},
{
"PracticeID": "92b0b9a7-bd8a-4209-b0c8-2572ba79a592",
"PracticeName": "sample string 2",
"ID": "71c0d0f6-bd87-40a4-886a-10029e181659",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "c5a7c43a-6017-4ec9-a3dd-522d51d97d63",
"PracticeName": "sample string 2",
"ID": "8c1462d6-ac99-4af9-aff5-54202b3cd159",
"ThirdPartyID": "sample string 4",
"Drug_Id": "2a960c66-e01c-4d7f-80f1-0bf34caa6070",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2026-06-28T12:56:31.6237145+00:00",
"End_Date": "2026-06-28T12:56:31.6237145+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "f7c871f0-023e-47df-81a6-3d9cb5ddfbc1",
"Consult_Date": "2026-06-28T12:56:31.6247146+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "c5a7c43a-6017-4ec9-a3dd-522d51d97d63",
"PracticeName": "sample string 2",
"ID": "8c1462d6-ac99-4af9-aff5-54202b3cd159",
"ThirdPartyID": "sample string 4",
"Drug_Id": "2a960c66-e01c-4d7f-80f1-0bf34caa6070",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2026-06-28T12:56:31.6237145+00:00",
"End_Date": "2026-06-28T12:56:31.6237145+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "f7c871f0-023e-47df-81a6-3d9cb5ddfbc1",
"Consult_Date": "2026-06-28T12:56:31.6247146+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2026-06-28T12:56:31.6247146+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>71c0d0f6-bd87-40a4-886a-10029e181659</ID>
<PracticeID>92b0b9a7-bd8a-4209-b0c8-2572ba79a592</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>2026-06-28T12:56:31.6247146+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2026-06-28T12:56:31.6247146+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>2a960c66-e01c-4d7f-80f1-0bf34caa6070</Drug_Id>
<End_Date>2026-06-28T12:56:31.6237145+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>8c1462d6-ac99-4af9-aff5-54202b3cd159</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5a7c43a-6017-4ec9-a3dd-522d51d97d63</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>f7c871f0-023e-47df-81a6-3d9cb5ddfbc1</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2026-06-28T12:56:31.6237145+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2026-06-28T12:56:31.6247146+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>2a960c66-e01c-4d7f-80f1-0bf34caa6070</Drug_Id>
<End_Date>2026-06-28T12:56:31.6237145+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>8c1462d6-ac99-4af9-aff5-54202b3cd159</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5a7c43a-6017-4ec9-a3dd-522d51d97d63</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>f7c871f0-023e-47df-81a6-3d9cb5ddfbc1</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2026-06-28T12:56:31.6237145+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 8</TreatmentNote>
</TreatmentModel>
<TreatmentModel>
<ID>71c0d0f6-bd87-40a4-886a-10029e181659</ID>
<PracticeID>92b0b9a7-bd8a-4209-b0c8-2572ba79a592</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>2026-06-28T12:56:31.6247146+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2026-06-28T12:56:31.6247146+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>2a960c66-e01c-4d7f-80f1-0bf34caa6070</Drug_Id>
<End_Date>2026-06-28T12:56:31.6237145+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>8c1462d6-ac99-4af9-aff5-54202b3cd159</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5a7c43a-6017-4ec9-a3dd-522d51d97d63</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>f7c871f0-023e-47df-81a6-3d9cb5ddfbc1</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2026-06-28T12:56:31.6237145+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2026-06-28T12:56:31.6247146+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>2a960c66-e01c-4d7f-80f1-0bf34caa6070</Drug_Id>
<End_Date>2026-06-28T12:56:31.6237145+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>8c1462d6-ac99-4af9-aff5-54202b3cd159</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5a7c43a-6017-4ec9-a3dd-522d51d97d63</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>f7c871f0-023e-47df-81a6-3d9cb5ddfbc1</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2026-06-28T12:56:31.6237145+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 8</TreatmentNote>
</TreatmentModel>
</ArrayOfTreatmentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>