更新
PATCH
/mediatories/{teamId}/clients/{id}
Requestパラメータ
Authorization
Headerにパラメータ
Authorization
を追加し、その値にはBearerの後にTokenを連結します例:
Authorization: Bearer ********************
Pathパラメータ
teamId
string
必須
id
string
必須
Request Bodyパラメータapplication/json
email
string <email>
可選
サンプル値:
nitte@exmaple.com
publicName
string
可選
サンプル値:
山田太郎
privateName
string
可選
サンプル値:
candidate-12345
tel
string | null
可選
サンプル値:
08012341234
blockedPeriods
array[object (時間帯) {2}]
可選
start
string <date-time>
必須
end
string <date-time>
必須
preProposedPeriods
array[object (時間帯) {2}]
可選
start
string <date-time>
必須
end
string <date-time>
必須
lineUserId
string | null
可選
例
{
"email": "nitte@exmaple.com",
"publicName": "山田太郎",
"privateName": "candidate-12345",
"tel": "08012341234",
"blockedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"preProposedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"lineUserId": "string"
}
サンプルコード
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.nitte.app/mediatories//clients/' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "nitte@exmaple.com",
"publicName": "山田太郎",
"privateName": "candidate-12345",
"tel": "08012341234",
"blockedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"preProposedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"lineUserId": "string"
}'
Response
🟢200成功
application/json
Body
企業担当者オブジェクト
id
string
必須
サンプル値:
c1be87a5-d8ff-4338-a60a-ad8792b99ee6
email
string
必須
サンプル値:
nitte@exmaple.com
publicName
string
必須
サンプル値:
Nitte株式会社
privateName
string
必須
サンプル値:
client-12345
tel
string | null
必須
サンプル値:
08012341234
lineUserId
string | null
必須
blockedPeriods
array[object (時間帯) {2}]
必須
start
string <date-time>
必須
end
string <date-time>
必須
preProposedPeriods
array[object (時間帯) {2}]
必須
start
string <date-time>
必須
end
string <date-time>
必須
例
{
"id": "c1be87a5-d8ff-4338-a60a-ad8792b99ee6",
"email": "nitte@exmaple.com",
"publicName": "Nitte株式会社",
"privateName": "client-12345",
"tel": "08012341234",
"lineUserId": "string",
"blockedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"preProposedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
]
}
🟠401Unauthorized
🟠404NotFound
🔴500InternalServerError
更新日時 2025-02-15 09:23:33