GET v1/appointments/types
Gets all appointment types.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of AppointmentTypeName | Description | Type | Additional information |
---|---|---|---|
Id |
Appointment Type Id |
integer |
None. |
Name |
Appointment Type Name |
string |
None. |
DefaultDuration |
Default duration in minutes |
integer |
None. |
IncludeInWorkLoadCalculations |
Include in workload calculations |
boolean |
None. |
AllowCandidateAttendees |
Allow adding candidate as attendees |
boolean |
None. |
Active |
true is active false is inactive |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2", "defaultDuration": 1, "includeInWorkLoadCalculations": true, "allowCandidateAttendees": true, "active": true }, { "id": 1, "name": "sample string 2", "defaultDuration": 1, "includeInWorkLoadCalculations": true, "allowCandidateAttendees": true, "active": true } ]
application/xml, text/xml
Sample:
<ArrayOfAppointmentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.HR"> <AppointmentType> <Active>true</Active> <AllowCandidateAttendees>true</AllowCandidateAttendees> <DefaultDuration>1</DefaultDuration> <Id>1</Id> <IncludeInWorkLoadCalculations>true</IncludeInWorkLoadCalculations> <Name>sample string 2</Name> </AppointmentType> <AppointmentType> <Active>true</Active> <AllowCandidateAttendees>true</AllowCandidateAttendees> <DefaultDuration>1</DefaultDuration> <Id>1</Id> <IncludeInWorkLoadCalculations>true</IncludeInWorkLoadCalculations> <Name>sample string 2</Name> </AppointmentType> </ArrayOfAppointmentType>