POST api/Patients/AddPatientAppointment

Request Information

URI Parameters

None.

Body Parameters

PatientAddAppointment
NameDescriptionTypeAdditional information
CustNum

integer

None.

DLine

integer

None.

BranchCode

integer

None.

OperCode

integer

None.

InsurCode

integer

None.

InsurDistrictCode

integer

None.

InsurBranchCode

integer

None.

ObligNum

string

None.

SendSms

boolean

None.

SendEmail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustNum": 1,
  "DLine": 2,
  "BranchCode": 3,
  "OperCode": 4,
  "InsurCode": 5,
  "InsurDistrictCode": 1,
  "InsurBranchCode": 1,
  "ObligNum": "sample string 6",
  "SendSms": true,
  "SendEmail": true
}

application/xml, text/xml

Sample:
<PatientAddAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage">
  <BranchCode>3</BranchCode>
  <CustNum>1</CustNum>
  <DLine>2</DLine>
  <InsurBranchCode>1</InsurBranchCode>
  <InsurCode>5</InsurCode>
  <InsurDistrictCode>1</InsurDistrictCode>
  <ObligNum>sample string 6</ObligNum>
  <OperCode>4</OperCode>
  <SendEmail>true</SendEmail>
  <SendSms>true</SendSms>
</PatientAddAppointment>

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 'PatientAddAppointment'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

PatientAppointmentData
NameDescriptionTypeAdditional information
CustNum

integer

None.

OperName

string

None.

DDate

date

None.

DTime

time interval

None.

BranchName

string

None.

BranchAddress

string

None.

InetInstructions

string

None.

InetInstrFileName

string

None.

VisitCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CustNum": 1,
  "OperName": "sample string 2",
  "DDate": "2024-11-21T11:38:36.7860534+02:00",
  "DTime": "00:00:00.1234567",
  "BranchName": "sample string 5",
  "BranchAddress": "sample string 6",
  "InetInstructions": "sample string 7",
  "InetInstrFileName": "sample string 8",
  "VisitCode": 9
}

application/xml, text/xml

Sample:
<PatientAppointmentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage">
  <BranchAddress>sample string 6</BranchAddress>
  <BranchName>sample string 5</BranchName>
  <CustNum>1</CustNum>
  <DDate>2024-11-21T11:38:36.7860534+02:00</DDate>
  <DTime>PT0.1234567S</DTime>
  <InetInstrFileName>sample string 8</InetInstrFileName>
  <InetInstructions>sample string 7</InetInstructions>
  <OperName>sample string 2</OperName>
  <VisitCode>9</VisitCode>
</PatientAppointmentData>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.