Employees
Get employees
GET/v2/employees
Query parameters
Header parameters
Response
Success
Body
Resultsnullable array of Adopto.Common.Api.Dto.Settings.EmployeeWriteRead (object)
Countinteger (int32)
Pageinteger (int32)
PerPageinteger (int32)
PagesAdopto.Common.Api.Dto.Paging.Pages (object)
IdResultsnullable array of Adopto.Common.Api.Dto.Settings.EmployeeWriteRead (object)
OriginalCountnullable integer (int32)
Request
Response
Create employee
POST/v2/employees
Header parameters
Body
Idinteger (int32)
FirstNamenullable string
LastNamenullable string
Namenullable string
Emailnullable string
ExternalIdnullable string
Uidstring (uuid)
DepartmentAdopto.Common.Api.Dto.DepartmentSimpleReadOnly (object)
LastEmailnullable string (date-time)
Response
Created
Body
Idinteger (int32)
FirstNamenullable string
LastNamenullable string
Namenullable string
Emailnullable string
ExternalIdnullable string
Uidstring (uuid)
DepartmentAdopto.Common.Api.Dto.DepartmentSimpleReadOnly (object)
LastEmailnullable string (date-time)
Request
Response
Get employee
GET/v2/employees/{id}
Path parameters
id*integer (int32)
Header parameters
Response
Success
Body
Idinteger (int32)
FirstNamenullable string
LastNamenullable string
Namenullable string
Emailnullable string
ExternalIdnullable string
Uidstring (uuid)
DepartmentAdopto.Common.Api.Dto.DepartmentSimpleReadOnly (object)
LastEmailnullable string (date-time)
Request
Response
Save employee
PUT/v2/employees/{id}
Path parameters
id*integer (int32)
Header parameters
Body
Idinteger (int32)
FirstNamenullable string
LastNamenullable string
Namenullable string
Emailnullable string
ExternalIdnullable string
Uidstring (uuid)
DepartmentAdopto.Common.Api.Dto.DepartmentSimpleReadOnly (object)
LastEmailnullable string (date-time)
Response
Success
Request
Response
Delete employee
DELETE/v2/employees/{id}
Path parameters
id*integer (int32)
Header parameters
Response
No Content
Request
Response
Sync all employees
POST/v2/employees/sync
Header parameters
Body
FirstNamenullable string
LastNamenullable string
Emailnullable string
ExternalIdnullable string
Departmentnullable string
Response
Created
Request
Response
Last updated