POST api/Appointments/ReadAppointmentsFromCsvAsync?filePath={filePath}&appointmentType={appointmentType}&appointmentTypeId={appointmentTypeId}&providerId={providerId}&roleCode={roleCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| filePath | string |
Required |
|
| appointmentType | string |
Required |
|
| appointmentTypeId | integer |
Required |
|
| providerId | integer |
Required |
|
| roleCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AppointmentImportResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Appointments | Collection of PatientAppoitnmentDTO |
None. |
|
| DuplicateMessages | Collection of string |
None. |
|
| ValidationMessages | Collection of string |
None. |
|
| AgeValidations | Collection of string |
None. |
|
| FileName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"appointments": [
{
"patientId": 1,
"firstName": "sample string 2",
"lastName": "sample string 3",
"mrn": "sample string 4",
"visitType": 1,
"age": 1,
"gender": "sample string 5",
"reasonOfVisit": "sample string 6",
"userId": "sample string 7",
"providerId": 8,
"appointmentStartDate": "2025-12-12T17:25:47.0278544+05:30",
"appointmentEndDate": "2025-12-12T17:25:47.0278544+05:30",
"dateOfService": "2025-12-12T17:25:47.0278544+05:30",
"isCancelled": true,
"isActive": true,
"cancelReason": "sample string 12",
"timezoneId": 13,
"tzCode": "sample string 14",
"timeZoneDescription": "sample string 15",
"appointmentType": "sample string 16",
"appointmentTypeId": 17,
"zoomMeetingId": 18,
"isStat": true,
"statTime": 20,
"isMRNUpdated": true,
"providerEMRs": "sample string 22",
"emrPatientId": "sample string 23",
"preHistoryData": "sample string 24",
"preChartSummary": "sample string 25",
"referralRecommendations": "sample string 26",
"visitSummary": "sample string 27",
"isPreHistoryRefreshed": true,
"emrMasterCode": "sample string 29",
"providerEMRHistoryCode": "sample string 30",
"isAppointmentEMREnabled": true,
"providerReference": "sample string 32",
"type": "sample string 33",
"uploadAppointmentId": 1,
"sectionTypeCode": "sample string 34"
},
{
"patientId": 1,
"firstName": "sample string 2",
"lastName": "sample string 3",
"mrn": "sample string 4",
"visitType": 1,
"age": 1,
"gender": "sample string 5",
"reasonOfVisit": "sample string 6",
"userId": "sample string 7",
"providerId": 8,
"appointmentStartDate": "2025-12-12T17:25:47.0278544+05:30",
"appointmentEndDate": "2025-12-12T17:25:47.0278544+05:30",
"dateOfService": "2025-12-12T17:25:47.0278544+05:30",
"isCancelled": true,
"isActive": true,
"cancelReason": "sample string 12",
"timezoneId": 13,
"tzCode": "sample string 14",
"timeZoneDescription": "sample string 15",
"appointmentType": "sample string 16",
"appointmentTypeId": 17,
"zoomMeetingId": 18,
"isStat": true,
"statTime": 20,
"isMRNUpdated": true,
"providerEMRs": "sample string 22",
"emrPatientId": "sample string 23",
"preHistoryData": "sample string 24",
"preChartSummary": "sample string 25",
"referralRecommendations": "sample string 26",
"visitSummary": "sample string 27",
"isPreHistoryRefreshed": true,
"emrMasterCode": "sample string 29",
"providerEMRHistoryCode": "sample string 30",
"isAppointmentEMREnabled": true,
"providerReference": "sample string 32",
"type": "sample string 33",
"uploadAppointmentId": 1,
"sectionTypeCode": "sample string 34"
}
],
"duplicateMessages": [
"sample string 1",
"sample string 2"
],
"validationMessages": [
"sample string 1",
"sample string 2"
],
"ageValidations": [
"sample string 1",
"sample string 2"
],
"fileName": "sample string 1"
}
application/xml, text/xml
Sample:
<AppointmentImportResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
<AgeValidations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AgeValidations>
<Appointments>
<PatientAppoitnmentDTO>
<Age>1</Age>
<AppointmentEndDate>2025-12-12T17:25:47.0278544+05:30</AppointmentEndDate>
<AppointmentStartDate>2025-12-12T17:25:47.0278544+05:30</AppointmentStartDate>
<AppointmentType>sample string 16</AppointmentType>
<AppointmentTypeId>17</AppointmentTypeId>
<CancelReason>sample string 12</CancelReason>
<DateOfService>2025-12-12T17:25:47.0278544+05:30</DateOfService>
<EMRMasterCode>sample string 29</EMRMasterCode>
<EMRPatientId>sample string 23</EMRPatientId>
<FirstName>sample string 2</FirstName>
<Gender>sample string 5</Gender>
<IsActive>true</IsActive>
<IsAppointmentEMREnabled>true</IsAppointmentEMREnabled>
<IsCancelled>true</IsCancelled>
<IsMRNUpdated>true</IsMRNUpdated>
<IsPreHistoryRefreshed>true</IsPreHistoryRefreshed>
<IsStat>true</IsStat>
<LastName>sample string 3</LastName>
<MRN>sample string 4</MRN>
<PatientId>1</PatientId>
<PreChartSummary>sample string 25</PreChartSummary>
<PreHistoryData>sample string 24</PreHistoryData>
<ProviderEMRHistoryCode>sample string 30</ProviderEMRHistoryCode>
<ProviderEMRs>sample string 22</ProviderEMRs>
<ProviderId>8</ProviderId>
<ProviderReference>sample string 32</ProviderReference>
<ReasonOfVisit>sample string 6</ReasonOfVisit>
<ReferralRecommendations>sample string 26</ReferralRecommendations>
<SectionTypeCode>sample string 34</SectionTypeCode>
<StatTime>20</StatTime>
<TZCode>sample string 14</TZCode>
<TimeZoneDescription>sample string 15</TimeZoneDescription>
<TimezoneId>13</TimezoneId>
<Type>sample string 33</Type>
<UploadAppointmentId>1</UploadAppointmentId>
<UserId>sample string 7</UserId>
<VisitSummary>sample string 27</VisitSummary>
<VisitType>1</VisitType>
<ZoomMeetingId>18</ZoomMeetingId>
</PatientAppoitnmentDTO>
<PatientAppoitnmentDTO>
<Age>1</Age>
<AppointmentEndDate>2025-12-12T17:25:47.0278544+05:30</AppointmentEndDate>
<AppointmentStartDate>2025-12-12T17:25:47.0278544+05:30</AppointmentStartDate>
<AppointmentType>sample string 16</AppointmentType>
<AppointmentTypeId>17</AppointmentTypeId>
<CancelReason>sample string 12</CancelReason>
<DateOfService>2025-12-12T17:25:47.0278544+05:30</DateOfService>
<EMRMasterCode>sample string 29</EMRMasterCode>
<EMRPatientId>sample string 23</EMRPatientId>
<FirstName>sample string 2</FirstName>
<Gender>sample string 5</Gender>
<IsActive>true</IsActive>
<IsAppointmentEMREnabled>true</IsAppointmentEMREnabled>
<IsCancelled>true</IsCancelled>
<IsMRNUpdated>true</IsMRNUpdated>
<IsPreHistoryRefreshed>true</IsPreHistoryRefreshed>
<IsStat>true</IsStat>
<LastName>sample string 3</LastName>
<MRN>sample string 4</MRN>
<PatientId>1</PatientId>
<PreChartSummary>sample string 25</PreChartSummary>
<PreHistoryData>sample string 24</PreHistoryData>
<ProviderEMRHistoryCode>sample string 30</ProviderEMRHistoryCode>
<ProviderEMRs>sample string 22</ProviderEMRs>
<ProviderId>8</ProviderId>
<ProviderReference>sample string 32</ProviderReference>
<ReasonOfVisit>sample string 6</ReasonOfVisit>
<ReferralRecommendations>sample string 26</ReferralRecommendations>
<SectionTypeCode>sample string 34</SectionTypeCode>
<StatTime>20</StatTime>
<TZCode>sample string 14</TZCode>
<TimeZoneDescription>sample string 15</TimeZoneDescription>
<TimezoneId>13</TimezoneId>
<Type>sample string 33</Type>
<UploadAppointmentId>1</UploadAppointmentId>
<UserId>sample string 7</UserId>
<VisitSummary>sample string 27</VisitSummary>
<VisitType>1</VisitType>
<ZoomMeetingId>18</ZoomMeetingId>
</PatientAppoitnmentDTO>
</Appointments>
<DuplicateMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</DuplicateMessages>
<FileName>sample string 1</FileName>
<ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ValidationMessages>
</AppointmentImportResult>