Employee

Create a new employee in the same tenant

POST
http://localhost:3000/api/employee

Body

application/json
Show child attributes
emailstringrequired
roleIdstring
roleobject

Role reference: an object with the role id (UUID).

firstNamestring
lastNamestring
imageUrlstring
preferredLanguagestringenbgherufreszhdeptitnlplar
userIdstring
passwordstringrequired

Parameters

originstringrequiredheader

Response

201Created

Employee record created successfully.

400Bad Request

Invalid input. Check the request body for potential issues.

401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

bearerhttp (bearer) in header

Enter JWT token

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey