Create a new employee for a company.
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "managerEmployeeId": "string",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "externalId": "string",
- "email": "string"
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "Employee",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}, - "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "displayName": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "id": "string",
- "externalId": "string",
- "email": "string",
- "employeeCount": 0
}
]
}
}
Get employees
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "Employee",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}, - "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "displayName": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "id": "string",
- "externalId": "string",
- "email": "string",
- "employeeCount": 0
}
]
}
]
}
Update an employee
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "userId": "string",
- "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "managerEmployeeId": "string",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "externalId": "string",
- "email": "string"
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "Employee",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}, - "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "displayName": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "id": "string",
- "externalId": "string",
- "email": "string",
- "employeeCount": 0
}
]
}
}
Get employee by ID
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "Employee",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}, - "availableAndPermittedTasktypes": "answerInboundVoiceCall",
- "firstName": "string",
- "lastName": "string",
- "jobName": "string",
- "email": "string",
- "displayName": "string",
- "phone": "string",
- "externalId": "string",
- "teams": [
- {
- "name": "string",
- "id": "string",
- "externalId": "string",
- "email": "string",
- "employeeCount": 0
}
]
}
}