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": "92db8ad7-b6d4-42d8-bc6e-0ca93de4f13e",
"PracticeName": "sample string 2",
"ID": "5f589007-8ffa-43fc-b0e7-22e57e57d14b",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "c5e8c749-49ba-4801-a5c9-6aa18c807a07",
"PracticeName": "sample string 2",
"ID": "2d2db0d8-bca6-4fa1-9241-2842bed9c0ca",
"ThirdPartyID": "sample string 4",
"Drug_Id": "8085bc65-b100-4e9e-84cd-316f82858e94",
"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": "0360980d-a090-46f1-84d7-9122dc946c6c",
"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": "c5e8c749-49ba-4801-a5c9-6aa18c807a07",
"PracticeName": "sample string 2",
"ID": "2d2db0d8-bca6-4fa1-9241-2842bed9c0ca",
"ThirdPartyID": "sample string 4",
"Drug_Id": "8085bc65-b100-4e9e-84cd-316f82858e94",
"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": "0360980d-a090-46f1-84d7-9122dc946c6c",
"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": "92db8ad7-b6d4-42d8-bc6e-0ca93de4f13e",
"PracticeName": "sample string 2",
"ID": "5f589007-8ffa-43fc-b0e7-22e57e57d14b",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "c5e8c749-49ba-4801-a5c9-6aa18c807a07",
"PracticeName": "sample string 2",
"ID": "2d2db0d8-bca6-4fa1-9241-2842bed9c0ca",
"ThirdPartyID": "sample string 4",
"Drug_Id": "8085bc65-b100-4e9e-84cd-316f82858e94",
"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": "0360980d-a090-46f1-84d7-9122dc946c6c",
"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": "c5e8c749-49ba-4801-a5c9-6aa18c807a07",
"PracticeName": "sample string 2",
"ID": "2d2db0d8-bca6-4fa1-9241-2842bed9c0ca",
"ThirdPartyID": "sample string 4",
"Drug_Id": "8085bc65-b100-4e9e-84cd-316f82858e94",
"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": "0360980d-a090-46f1-84d7-9122dc946c6c",
"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>5f589007-8ffa-43fc-b0e7-22e57e57d14b</ID>
<PracticeID>92db8ad7-b6d4-42d8-bc6e-0ca93de4f13e</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>8085bc65-b100-4e9e-84cd-316f82858e94</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>2d2db0d8-bca6-4fa1-9241-2842bed9c0ca</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5e8c749-49ba-4801-a5c9-6aa18c807a07</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>0360980d-a090-46f1-84d7-9122dc946c6c</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>8085bc65-b100-4e9e-84cd-316f82858e94</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>2d2db0d8-bca6-4fa1-9241-2842bed9c0ca</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5e8c749-49ba-4801-a5c9-6aa18c807a07</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>0360980d-a090-46f1-84d7-9122dc946c6c</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>5f589007-8ffa-43fc-b0e7-22e57e57d14b</ID>
<PracticeID>92db8ad7-b6d4-42d8-bc6e-0ca93de4f13e</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>8085bc65-b100-4e9e-84cd-316f82858e94</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>2d2db0d8-bca6-4fa1-9241-2842bed9c0ca</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5e8c749-49ba-4801-a5c9-6aa18c807a07</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>0360980d-a090-46f1-84d7-9122dc946c6c</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>8085bc65-b100-4e9e-84cd-316f82858e94</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>2d2db0d8-bca6-4fa1-9241-2842bed9c0ca</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>c5e8c749-49ba-4801-a5c9-6aa18c807a07</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>0360980d-a090-46f1-84d7-9122dc946c6c</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>
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>