POST api/hms/saveAppointment

Request Information

URI Parameters

None.

Body Parameters

MobileAppointment
NameDescriptionTypeAdditional information
AppiontmentID

integer

None.

FacilityMasterSeqNumber

string

None.

PatientSeqNumber

string

None.

DoctorMasterSeqNumber

string

None.

AppointmentDate1

string

None.

AppointmentDate2

string

None.

Active

string

None.

CreatedUser

string

None.

CreatedDate

date

None.

UpdatedUser

string

None.

UpdatedDate

date

None.

appointment_status

string

None.

ReasonMasterSequenceNumber

string

None.

PatientCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AppiontmentID": 1,
  "FacilityMasterSeqNumber": "sample string 2",
  "PatientSeqNumber": "sample string 3",
  "DoctorMasterSeqNumber": "sample string 4",
  "AppointmentDate1": "sample string 5",
  "AppointmentDate2": "sample string 6",
  "Active": "sample string 7",
  "CreatedUser": "sample string 8",
  "CreatedDate": "2026-01-15T00:01:06.3375162+05:30",
  "UpdatedUser": "sample string 10",
  "UpdatedDate": "2026-01-15T00:01:06.3375162+05:30",
  "appointment_status": "sample string 12",
  "ReasonMasterSequenceNumber": "sample string 13",
  "PatientCode": "sample string 14"
}

text/html

Sample:
{"AppiontmentID":1,"FacilityMasterSeqNumber":"sample string 2","PatientSeqNumber":"sample string 3","DoctorMasterSeqNumber":"sample string 4","AppointmentDate1":"sample string 5","AppointmentDate2":"sample string 6","Active":"sample string 7","CreatedUser":"sample string 8","CreatedDate":"2026-01-15T00:01:06.3375162+05:30","UpdatedUser":"sample string 10","UpdatedDate":"2026-01-15T00:01:06.3375162+05:30","appointment_status":"sample string 12","ReasonMasterSequenceNumber":"sample string 13","PatientCode":"sample string 14"}

application/xml, text/xml

Sample:
<MobileAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <Active>sample string 7</Active>
  <AppiontmentID>1</AppiontmentID>
  <AppointmentDate1>sample string 5</AppointmentDate1>
  <AppointmentDate2>sample string 6</AppointmentDate2>
  <CreatedDate>2026-01-15T00:01:06.3375162+05:30</CreatedDate>
  <CreatedUser>sample string 8</CreatedUser>
  <DoctorMasterSeqNumber>sample string 4</DoctorMasterSeqNumber>
  <FacilityMasterSeqNumber>sample string 2</FacilityMasterSeqNumber>
  <PatientCode>sample string 14</PatientCode>
  <PatientSeqNumber>sample string 3</PatientSeqNumber>
  <ReasonMasterSequenceNumber>sample string 13</ReasonMasterSequenceNumber>
  <UpdatedDate>2026-01-15T00:01:06.3375162+05:30</UpdatedDate>
  <UpdatedUser>sample string 10</UpdatedUser>
  <appointment_status>sample string 12</appointment_status>
</MobileAppointment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>