POST api/AttendanceAndTimesheet/QRCodeGenerateAppointment

Request Information

URI Parameters

None.

Body Parameters

InsertQRAppointment
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

Location

string

None.

Center

string

None.

Distance

string

None.

AttendeesList

string

None.

QRCodeType

string

None.

AppointmenttDate

string

None.

AppointmentFromTime

string

None.

AppointmentToTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "Location": "sample string 3",
  "Center": "sample string 4",
  "Distance": "sample string 5",
  "AttendeesList": "sample string 6",
  "QRCodeType": "sample string 7",
  "AppointmenttDate": "sample string 8",
  "AppointmentFromTime": "sample string 9",
  "AppointmentToTime": "sample string 10"
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","Location":"sample string 3","Center":"sample string 4","Distance":"sample string 5","AttendeesList":"sample string 6","QRCodeType":"sample string 7","AppointmenttDate":"sample string 8","AppointmentFromTime":"sample string 9","AppointmentToTime":"sample string 10"}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.InsertQRAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AppointmentFromTime>sample string 9</AppointmentFromTime>
  <AppointmentToTime>sample string 10</AppointmentToTime>
  <AppointmenttDate>sample string 8</AppointmenttDate>
  <AttendeesList>sample string 6</AttendeesList>
  <Center>sample string 4</Center>
  <Distance>sample string 5</Distance>
  <Location>sample string 3</Location>
  <QRCodeType>sample string 7</QRCodeType>
  <Token>sample string 2</Token>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.InsertQRAppointment>

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

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>