CompanyUser
Resource
This is the same underlying db table as UserPermission, however it is readonly, and strips permission data from the result, so it can be used as a public user work history
Endpoints | URI | Access Control | Description |
---|---|---|---|
offer-employment | POST /api/CompanyUser/offer-employment |
Endpoint level permissions | Send an employment offer to a user RequestType: POST |
accept-employment | GET /api/CompanyUser/accept-employment |
Authentication only | User accepts an employment offer from a company |
decline-employment | POST /api/CompanyUser/decline-employment |
Authentication only | User delines an employment offer from a company |
find | GET /api/CompanyUser/find |
Allowed with an active employment connection | |
get | GET /api/CompanyUser/get |
Allowed with an active employment connection |
Property | Type | Description |
---|---|---|
id |
number | |
slug |
string | |
user_id |
number | |
role_type_last_updated |
datetime | |
is_inactive |
boolean | |
invite_accepted |
datetime | |
invite_declined |
boolean | |
disconnect_date |
datetime | |
user_services_json |
string | |
created_at |
datetime |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order |
created_at DESC |
Related Resource | Key | Relationship to CompanyUser | Property |
---|---|---|---|
Company | tenant_id |
Belongs To | Company |
User | user_id |
Belongs To | User |