POST api/AttendanceAndTimesheet/UpdateAppointment

Request Information

URI Parameters

None.

Body Parameters

UpdateAppointmentEntity
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

CheckInTime

date

None.

CheckInDeviceName

string

None.

CheckinCoordinate

string

None.

CheckInLocation

string

None.

CheckImage

string

None.

CheckInDesignatedArea

boolean

None.

AppointmentID

integer

None.

CheckInStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "CheckInTime": "2025-08-07T06:54:28.7105265+08:00",
  "CheckInDeviceName": "sample string 4",
  "CheckinCoordinate": "sample string 5",
  "CheckInLocation": "sample string 6",
  "CheckImage": "sample string 7",
  "CheckInDesignatedArea": true,
  "AppointmentID": 9,
  "CheckInStatus": true
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","CheckInTime":"2025-08-07T06:54:28.7105265+08:00","CheckInDeviceName":"sample string 4","CheckinCoordinate":"sample string 5","CheckInLocation":"sample string 6","CheckImage":"sample string 7","CheckInDesignatedArea":true,"AppointmentID":9,"CheckInStatus":true}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.UpdateAppointmentEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AppointmentID>9</AppointmentID>
  <CheckImage>sample string 7</CheckImage>
  <CheckInDesignatedArea>true</CheckInDesignatedArea>
  <CheckInDeviceName>sample string 4</CheckInDeviceName>
  <CheckInLocation>sample string 6</CheckInLocation>
  <CheckInStatus>true</CheckInStatus>
  <CheckInTime>2025-08-07T06:54:28.7105265+08:00</CheckInTime>
  <CheckinCoordinate>sample string 5</CheckinCoordinate>
  <Token>sample string 2</Token>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.UpdateAppointmentEntity>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>