所属を追加

POST/organization_member

認証中ユーザー自身の所属(職歴・学歴)を追加します。組織の作成者以外が指定した role は MEMBER に強制されます。

認証要ログイン

リクエストボディ

organizationIdstring

組織 ID。null を指定すると組織に紐づかない経歴として登録される。

titlestring

役職・学部など。文字数制限なし。

startDatestring必須

開始年月。YYYY-MM 形式(必須)

endDatestring

終了年月。YYYY-MM 形式。在籍中は null。startDate より前は不可。

currentboolean

在籍中かどうか。true の場合 endDate は null にする。

リクエスト
curl https://api.4s.link/organization_member \
-X POST \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"organizationId": "o1a2b3c4-...",
"title": "Software Engineer",
"startDate": "2024-04-01",
"current": true
}'
レスポンス例
{
"id": "om1a2b3c-...",
"organizationId": "o1a2b3c4-...",
"title": "Software Engineer",
"startDate": "2024-04-01",
"endDate": null,
"current": true,
"role": "MEMBER"
}