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