team

Add a person to Team

Puts an employee, a founder or a contractor on Team: their party, found by email or new, gains the role, with an employment that has their title, start date and work state. Someone already on Team isn't added twice.

post/team

Request

  • Base URL: https://localhost:4410/api/v1
  • URL: https://localhost:4410/api/v1/team
  • Auth: HTTP bearer

Request body

namestring required
emailstring email required
kind'employee' | 'founder' | 'contractor'
titlestring
start_datestring date nullable
work_statestring nullable

Response

The result.

party_idstring nullable required
member_idstring nullable required
namestring required
emailstring nullable required
kind'employee' | 'founder' | 'contractor' required
titlestring required
start_datestring date nullable required
work_statestring nullable required
ended_onstring date nullable required
ended_by'resigned' | 'company' nullable required
source'application.hired' | 'added' | 'imported' | 'workspace' required

Changes

No recorded changes to this operation across all 1 revision of this API.