GET bah/CreateAppointment

Request Information

URI Parameters

None.

Body Parameters

create
NameDescriptionTypeAdditional information
ScheduleID

string

None.

Patient_PartyID

string

None.

Patient_PartyNumber

string

None.

Appointment_SrId

string

None.

Appointment_SrNumber

string

None.

PatientID

string

None.

Nationality

string

None.

TCKN

string

None.

PatientName

string

None.

PatientSurName

string

None.

FatherName

string

None.

MotherName

string

None.

BirthDate

date

None.

Gender

string

None.

BirthPlaceCountry

string

None.

BirthPlaceCity

string

None.

Category

string

None.

AppointmentType

string

None.

Division_Id

string

None.

Doctor_Id

string

None.

OperatingRoom_Id

integer

None.

AppointmentDate

date

None.

StartDate

date

None.

EndDate

date

None.

TimelessAppointment

boolean

None.

Description

string

None.

SMSDelivery

boolean

None.

EmailDelivery

boolean

None.

PhoneCountryCode

string

None.

PhoneAreaCode

string

None.

PatientPhone

string

None.

PatientEmail

string

None.

English

boolean

None.

AppointmentStatus

string

None.

CreateAgent

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduleID": "sample string 1",
  "Patient_PartyID": "sample string 2",
  "Patient_PartyNumber": "sample string 3",
  "Appointment_SrId": "sample string 4",
  "Appointment_SrNumber": "sample string 5",
  "PatientID": "sample string 6",
  "Nationality": "sample string 7",
  "TCKN": "sample string 8",
  "PatientName": "sample string 9",
  "PatientSurName": "sample string 10",
  "FatherName": "sample string 11",
  "MotherName": "sample string 12",
  "BirthDate": "2024-09-24T03:28:51.7096083+03:00",
  "Gender": "sample string 13",
  "BirthPlaceCountry": "sample string 14",
  "BirthPlaceCity": "sample string 15",
  "Category": "sample string 16",
  "AppointmentType": "sample string 17",
  "Division_Id": "sample string 18",
  "Doctor_Id": "sample string 19",
  "OperatingRoom_Id": 1,
  "AppointmentDate": "2024-09-24T03:28:51.7096083+03:00",
  "StartDate": "2024-09-24T03:28:51.7096083+03:00",
  "EndDate": "2024-09-24T03:28:51.7096083+03:00",
  "TimelessAppointment": true,
  "Description": "sample string 23",
  "SMSDelivery": true,
  "EmailDelivery": true,
  "PhoneCountryCode": "sample string 24",
  "PhoneAreaCode": "sample string 25",
  "PatientPhone": "sample string 26",
  "PatientEmail": "sample string 27",
  "English": true,
  "AppointmentStatus": "sample string 28",
  "CreateAgent": "sample string 29"
}

text/html

Sample:
{"ScheduleID":"sample string 1","Patient_PartyID":"sample string 2","Patient_PartyNumber":"sample string 3","Appointment_SrId":"sample string 4","Appointment_SrNumber":"sample string 5","PatientID":"sample string 6","Nationality":"sample string 7","TCKN":"sample string 8","PatientName":"sample string 9","PatientSurName":"sample string 10","FatherName":"sample string 11","MotherName":"sample string 12","BirthDate":"2024-09-24T03:28:51.7096083+03:00","Gender":"sample string 13","BirthPlaceCountry":"sample string 14","BirthPlaceCity":"sample string 15","Category":"sample string 16","AppointmentType":"sample string 17","Division_Id":"sample string 18","Doctor_Id":"sample string 19","OperatingRoom_Id":1,"AppointmentDate":"2024-09-24T03:28:51.7096083+03:00","StartDate":"2024-09-24T03:28:51.7096083+03:00","EndDate":"2024-09-24T03:28:51.7096083+03:00","TimelessAppointment":true,"Description":"sample string 23","SMSDelivery":true,"EmailDelivery":true,"PhoneCountryCode":"sample string 24","PhoneAreaCode":"sample string 25","PatientPhone":"sample string 26","PatientEmail":"sample string 27","English":true,"AppointmentStatus":"sample string 28","CreateAgent":"sample string 29"}

application/xml, text/xml

Sample:
<create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <AppointmentDate>2024-09-24T03:28:51.7096083+03:00</AppointmentDate>
  <AppointmentStatus>sample string 28</AppointmentStatus>
  <AppointmentType>sample string 17</AppointmentType>
  <Appointment_SrId>sample string 4</Appointment_SrId>
  <Appointment_SrNumber>sample string 5</Appointment_SrNumber>
  <BirthDate>2024-09-24T03:28:51.7096083+03:00</BirthDate>
  <BirthPlaceCity>sample string 15</BirthPlaceCity>
  <BirthPlaceCountry>sample string 14</BirthPlaceCountry>
  <Category>sample string 16</Category>
  <CreateAgent>sample string 29</CreateAgent>
  <Description>sample string 23</Description>
  <Division_Id>sample string 18</Division_Id>
  <Doctor_Id>sample string 19</Doctor_Id>
  <EmailDelivery>true</EmailDelivery>
  <EndDate>2024-09-24T03:28:51.7096083+03:00</EndDate>
  <English>true</English>
  <FatherName>sample string 11</FatherName>
  <Gender>sample string 13</Gender>
  <MotherName>sample string 12</MotherName>
  <Nationality>sample string 7</Nationality>
  <OperatingRoom_Id>1</OperatingRoom_Id>
  <PatientEmail>sample string 27</PatientEmail>
  <PatientID>sample string 6</PatientID>
  <PatientName>sample string 9</PatientName>
  <PatientPhone>sample string 26</PatientPhone>
  <PatientSurName>sample string 10</PatientSurName>
  <Patient_PartyID>sample string 2</Patient_PartyID>
  <Patient_PartyNumber>sample string 3</Patient_PartyNumber>
  <PhoneAreaCode>sample string 25</PhoneAreaCode>
  <PhoneCountryCode>sample string 24</PhoneCountryCode>
  <SMSDelivery>true</SMSDelivery>
  <ScheduleID>sample string 1</ScheduleID>
  <StartDate>2024-09-24T03:28:51.7096083+03:00</StartDate>
  <TCKN>sample string 8</TCKN>
  <TimelessAppointment>true</TimelessAppointment>
</create>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SPCRM_RANDEVUKAYIT_Result
NameDescriptionTypeAdditional information
AppointmentID

integer

None.

Patient_PartyID

string

None.

Patient_PartyNumber

string

None.

Appointment_SrId

string

None.

Appointment_SrNumber

string

None.

PatientID

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AppointmentID": 1,
    "Patient_PartyID": "sample string 1",
    "Patient_PartyNumber": "sample string 2",
    "Appointment_SrId": "sample string 3",
    "Appointment_SrNumber": "sample string 4",
    "PatientID": "sample string 5"
  },
  {
    "AppointmentID": 1,
    "Patient_PartyID": "sample string 1",
    "Patient_PartyNumber": "sample string 2",
    "Appointment_SrId": "sample string 3",
    "Appointment_SrNumber": "sample string 4",
    "PatientID": "sample string 5"
  }
]

text/html

Sample:
[{"AppointmentID":1,"Patient_PartyID":"sample string 1","Patient_PartyNumber":"sample string 2","Appointment_SrId":"sample string 3","Appointment_SrNumber":"sample string 4","PatientID":"sample string 5"},{"AppointmentID":1,"Patient_PartyID":"sample string 1","Patient_PartyNumber":"sample string 2","Appointment_SrId":"sample string 3","Appointment_SrNumber":"sample string 4","PatientID":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfSPCRM_RANDEVUKAYIT_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MEDWEB">
  <SPCRM_RANDEVUKAYIT_Result>
    <AppointmentID>1</AppointmentID>
    <Appointment_SrId>sample string 3</Appointment_SrId>
    <Appointment_SrNumber>sample string 4</Appointment_SrNumber>
    <PatientID>sample string 5</PatientID>
    <Patient_PartyID>sample string 1</Patient_PartyID>
    <Patient_PartyNumber>sample string 2</Patient_PartyNumber>
  </SPCRM_RANDEVUKAYIT_Result>
  <SPCRM_RANDEVUKAYIT_Result>
    <AppointmentID>1</AppointmentID>
    <Appointment_SrId>sample string 3</Appointment_SrId>
    <Appointment_SrNumber>sample string 4</Appointment_SrNumber>
    <PatientID>sample string 5</PatientID>
    <Patient_PartyID>sample string 1</Patient_PartyID>
    <Patient_PartyNumber>sample string 2</Patient_PartyNumber>
  </SPCRM_RANDEVUKAYIT_Result>
</ArrayOfSPCRM_RANDEVUKAYIT_Result>