POST api/SpeechToText/SavePatientAppointment

Request Information

URI Parameters

None.

Body Parameters

PatientAppoitnmentDTO
NameDescriptionTypeAdditional information
PatientId

integer

None.

FirstName

string

Required

LastName

string

None.

MRN

string

None.

VisitType

integer

None.

Age

string

None.

Gender

string

None.

ReasonOfVisit

string

None.

UserId

string

None.

ProviderId

integer

Required

AppointmentStartDate

date

Required

AppointmentEndDate

date

Required

DateOfService

date

None.

IsCancelled

boolean

None.

IsActive

boolean

None.

CancelReason

string

None.

TimezoneId

integer

None.

TZCode

string

None.

TimeZoneDescription

string

None.

AppointmentType

string

None.

AppointmentTypeId

integer

None.

ZoomMeetingId

integer

None.

IsStat

boolean

None.

StatTime

integer

None.

IsMRNUpdated

boolean

None.

ProviderEMRs

string

None.

EMRPatientId

string

None.

PreHistoryData

string

None.

PreChartSummary

string

None.

ReferralRecommendations

string

None.

VisitSummary

string

None.

IsPreHistoryRefreshed

boolean

None.

EMRMasterCode

string

None.

ProviderEMRHistoryCode

string

None.

IsAppointmentEMREnabled

boolean

None.

ProviderReference

string

None.

Type

string

None.

UploadAppointmentId

integer

None.

SectionTypeCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patientId": 1,
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "mrn": "sample string 4",
  "visitType": 1,
  "age": "sample string 5",
  "gender": "sample string 6",
  "reasonOfVisit": "sample string 7",
  "userId": "sample string 8",
  "providerId": 9,
  "appointmentStartDate": "2025-12-18T22:27:42.1880751+05:30",
  "appointmentEndDate": "2025-12-18T22:27:42.1880751+05:30",
  "dateOfService": "2025-12-18T22:27:42.1880751+05:30",
  "isCancelled": true,
  "isActive": true,
  "cancelReason": "sample string 13",
  "timezoneId": 14,
  "tzCode": "sample string 15",
  "timeZoneDescription": "sample string 16",
  "appointmentType": "sample string 17",
  "appointmentTypeId": 18,
  "zoomMeetingId": 19,
  "isStat": true,
  "statTime": 21,
  "isMRNUpdated": true,
  "providerEMRs": "sample string 23",
  "emrPatientId": "sample string 24",
  "preHistoryData": "sample string 25",
  "preChartSummary": "sample string 26",
  "referralRecommendations": "sample string 27",
  "visitSummary": "sample string 28",
  "isPreHistoryRefreshed": true,
  "emrMasterCode": "sample string 30",
  "providerEMRHistoryCode": "sample string 31",
  "isAppointmentEMREnabled": true,
  "providerReference": "sample string 33",
  "type": "sample string 34",
  "uploadAppointmentId": 1,
  "sectionTypeCode": "sample string 35"
}

application/xml, text/xml

Sample:
<PatientAppoitnmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <Age>sample string 5</Age>
  <AppointmentEndDate>2025-12-18T22:27:42.1880751+05:30</AppointmentEndDate>
  <AppointmentStartDate>2025-12-18T22:27:42.1880751+05:30</AppointmentStartDate>
  <AppointmentType>sample string 17</AppointmentType>
  <AppointmentTypeId>18</AppointmentTypeId>
  <CancelReason>sample string 13</CancelReason>
  <DateOfService>2025-12-18T22:27:42.1880751+05:30</DateOfService>
  <EMRMasterCode>sample string 30</EMRMasterCode>
  <EMRPatientId>sample string 24</EMRPatientId>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 6</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 26</PreChartSummary>
  <PreHistoryData>sample string 25</PreHistoryData>
  <ProviderEMRHistoryCode>sample string 31</ProviderEMRHistoryCode>
  <ProviderEMRs>sample string 23</ProviderEMRs>
  <ProviderId>9</ProviderId>
  <ProviderReference>sample string 33</ProviderReference>
  <ReasonOfVisit>sample string 7</ReasonOfVisit>
  <ReferralRecommendations>sample string 27</ReferralRecommendations>
  <SectionTypeCode>sample string 35</SectionTypeCode>
  <StatTime>21</StatTime>
  <TZCode>sample string 15</TZCode>
  <TimeZoneDescription>sample string 16</TimeZoneDescription>
  <TimezoneId>14</TimezoneId>
  <Type>sample string 34</Type>
  <UploadAppointmentId>1</UploadAppointmentId>
  <UserId>sample string 8</UserId>
  <VisitSummary>sample string 28</VisitSummary>
  <VisitType>1</VisitType>
  <ZoomMeetingId>19</ZoomMeetingId>
</PatientAppoitnmentDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientAppoitnmentDTO'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.