※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
PATCH /api/v1/teams/:team_id/employs/:id
Edit a employ
Supported Formats
jsonExamples
PATCH /api/v1/teams/398/employs/20 { "employ": { "rate": "1500", "started_at": "2015-03-13 11:19:24", "user_id": "204" } } 200 { "id": 20, "team_id": 398, "user_id": 204, "rate": 1500, "period": "hourly", "started_at": "2015-03-13T11:19:24.000+09:00", "deleted_at": null, "created_at": "2025-08-13T09:05:26.000+09:00", "updated_at": "2025-08-13T09:05:26.000+09:00", "task_id": null, "rate_text": "1,500 yen", "user": { "id": 204 }, "team": { "id": 398 } }
Params
Param name | Description |
---|---|
employ optional |
Validations:
|
employ[user_id] required |
Validations:
|
employ[rate] required |
Validations:
|