※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
POST /api/v1/teams/:team_id/employs
Create a employ
Supported Formats
jsonExamples
POST /api/v1/teams/11535/employs { "employ": { "rate": "1500", "started_at": "2015-03-13 11:19:24", "user_id": "14319" } } 200 { "id": 411, "team_id": 11535, "user_id": 14319, "rate": 1500, "period": "hourly", "started_at": "2015-03-13T11:19:24.000Z", "deleted_at": null, "created_at": "2024-12-17T00:27:00.000Z", "updated_at": "2024-12-17T00:27:00.000Z", "task_id": null, "rate_text": "1,500 yen", "user": { "id": 14319 }, "team": { "id": 11535 } }
Params
Param name | Description |
---|---|
employ optional |
Validations:
|
employ[user_id] required |
Validations:
|
employ[rate] required |
Validations:
|