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": "1e3d4e62-8923-4e8e-87c6-b97f9c8bac55",
"PracticeName": "sample string 2",
"ID": "c482cbb4-7864-4256-a79d-cec478232246",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "aa7872ca-0ccb-4baf-afb3-a1a9002a63f4",
"PracticeName": "sample string 2",
"ID": "1c6008a8-c67e-4750-8c59-0541a92f652a",
"ThirdPartyID": "sample string 4",
"Drug_Id": "a3d3528a-1a4e-4714-b577-df08f8268d8e",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-12-30T14:43:04.1688735+00:00",
"End_Date": "2025-12-30T14:43:04.1688735+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "9ce031a7-6b54-4945-8f55-1262657739cd",
"Consult_Date": "2025-12-30T14:43:04.1688735+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "aa7872ca-0ccb-4baf-afb3-a1a9002a63f4",
"PracticeName": "sample string 2",
"ID": "1c6008a8-c67e-4750-8c59-0541a92f652a",
"ThirdPartyID": "sample string 4",
"Drug_Id": "a3d3528a-1a4e-4714-b577-df08f8268d8e",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-12-30T14:43:04.1688735+00:00",
"End_Date": "2025-12-30T14:43:04.1688735+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "9ce031a7-6b54-4945-8f55-1262657739cd",
"Consult_Date": "2025-12-30T14:43:04.1688735+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2025-12-30T14:43:04.1688735+00:00",
"ThirdPartyID_ProviderID": "sample string 6",
"ThirdPartyID_PatientID": "sample string 7",
"TreatmentNote": "sample string 8"
},
{
"PracticeID": "1e3d4e62-8923-4e8e-87c6-b97f9c8bac55",
"PracticeName": "sample string 2",
"ID": "c482cbb4-7864-4256-a79d-cec478232246",
"ThirdPartyID": "sample string 4",
"TreatmentDetails": [
{
"PracticeID": "aa7872ca-0ccb-4baf-afb3-a1a9002a63f4",
"PracticeName": "sample string 2",
"ID": "1c6008a8-c67e-4750-8c59-0541a92f652a",
"ThirdPartyID": "sample string 4",
"Drug_Id": "a3d3528a-1a4e-4714-b577-df08f8268d8e",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-12-30T14:43:04.1688735+00:00",
"End_Date": "2025-12-30T14:43:04.1688735+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "9ce031a7-6b54-4945-8f55-1262657739cd",
"Consult_Date": "2025-12-30T14:43:04.1688735+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
},
{
"PracticeID": "aa7872ca-0ccb-4baf-afb3-a1a9002a63f4",
"PracticeName": "sample string 2",
"ID": "1c6008a8-c67e-4750-8c59-0541a92f652a",
"ThirdPartyID": "sample string 4",
"Drug_Id": "a3d3528a-1a4e-4714-b577-df08f8268d8e",
"Instructions_Note": "sample string 6",
"Frequency": 7,
"FrequencyUnitTypeID": 8,
"Repeat": "sample string 9",
"Quantity": 10.0,
"Start_Date": "2025-12-30T14:43:04.1688735+00:00",
"End_Date": "2025-12-30T14:43:04.1688735+00:00",
"DrugName": "sample string 11",
"PrescriptionDetail_Id": "9ce031a7-6b54-4945-8f55-1262657739cd",
"Consult_Date": "2025-12-30T14:43:04.1688735+00:00",
"Authority": "sample string 12",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 13",
"DrugCategoryName": "sample string 14"
}
],
"TreatmentDate": "2025-12-30T14:43:04.1688735+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>c482cbb4-7864-4256-a79d-cec478232246</ID>
<PracticeID>1e3d4e62-8923-4e8e-87c6-b97f9c8bac55</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-12-30T14:43:04.1688735+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-12-30T14:43:04.1688735+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>a3d3528a-1a4e-4714-b577-df08f8268d8e</Drug_Id>
<End_Date>2025-12-30T14:43:04.1688735+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>1c6008a8-c67e-4750-8c59-0541a92f652a</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>aa7872ca-0ccb-4baf-afb3-a1a9002a63f4</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>9ce031a7-6b54-4945-8f55-1262657739cd</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-12-30T14:43:04.1688735+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-12-30T14:43:04.1688735+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>a3d3528a-1a4e-4714-b577-df08f8268d8e</Drug_Id>
<End_Date>2025-12-30T14:43:04.1688735+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>1c6008a8-c67e-4750-8c59-0541a92f652a</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>aa7872ca-0ccb-4baf-afb3-a1a9002a63f4</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>9ce031a7-6b54-4945-8f55-1262657739cd</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-12-30T14:43:04.1688735+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 8</TreatmentNote>
</TreatmentModel>
<TreatmentModel>
<ID>c482cbb4-7864-4256-a79d-cec478232246</ID>
<PracticeID>1e3d4e62-8923-4e8e-87c6-b97f9c8bac55</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-12-30T14:43:04.1688735+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-12-30T14:43:04.1688735+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>a3d3528a-1a4e-4714-b577-df08f8268d8e</Drug_Id>
<End_Date>2025-12-30T14:43:04.1688735+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>1c6008a8-c67e-4750-8c59-0541a92f652a</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>aa7872ca-0ccb-4baf-afb3-a1a9002a63f4</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>9ce031a7-6b54-4945-8f55-1262657739cd</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-12-30T14:43:04.1688735+00:00</Start_Date>
<ThirdPartyID>sample string 4</ThirdPartyID>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 12</Authority>
<Consult_Date>2025-12-30T14:43:04.1688735+00:00</Consult_Date>
<DrugCategoryName>sample string 14</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 11</DrugName>
<Drug_Id>a3d3528a-1a4e-4714-b577-df08f8268d8e</Drug_Id>
<End_Date>2025-12-30T14:43:04.1688735+00:00</End_Date>
<Frequency>7</Frequency>
<FrequencyUnitType>sample string 13</FrequencyUnitType>
<FrequencyUnitTypeID>8</FrequencyUnitTypeID>
<ID>1c6008a8-c67e-4750-8c59-0541a92f652a</ID>
<Instructions_Note>sample string 6</Instructions_Note>
<Is_Current>true</Is_Current>
<PracticeID>aa7872ca-0ccb-4baf-afb3-a1a9002a63f4</PracticeID>
<PracticeName>sample string 2</PracticeName>
<PrescriptionDetail_Id>9ce031a7-6b54-4945-8f55-1262657739cd</PrescriptionDetail_Id>
<Quantity>10</Quantity>
<Repeat>sample string 9</Repeat>
<Start_Date>2025-12-30T14:43:04.1688735+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>