取得
GET
/mediatories/{teamId}/bookings/{id}
Requestパラメータ
Authorization
Headerにパラメータ
Authorization
を追加し、その値にはBearerの後にTokenを連結します例:
Authorization: Bearer ********************
Pathパラメータ
teamId
string
必須
id
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 GET 'https://api.nitte.app/mediatories//bookings/'
Response
🟢200成功
application/json
Body
id
string <uuid>
必須
name
string
必須
lengthMin
number
必須
client
object (企業担当者)
必須
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}]
必須
preProposedPeriods
array[object (時間帯) {2}]
必須
candidate
object (求職者)
必須
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}]
必須
preProposedPeriods
array[object (時間帯) {2}]
必須
proposablePeriods
array[object (時間帯) {2}]
可選
start
string <date-time>
必須
end
string <date-time>
必須
proposableWeeklyAvailableTimes
必須
Any of
mon
object (曜日毎の調整可能時刻)
必須
tue
object (曜日毎の調整可能時刻)
必須
wed
object (曜日毎の調整可能時刻)
必須
thu
object (曜日毎の調整可能時刻)
必須
fri
object (曜日毎の調整可能時刻)
必須
sat
object (曜日毎の調整可能時刻)
必須
sun
object (曜日毎の調整可能時刻)
必須
hol
object (曜日毎の調整可能時刻)
必須
place
string | null
必須
placeInfo
enum<string>
可選
列挙型:
offlineonline
information
string | null
必須
deadline
string <date-time>
可選
cc
array[string]
必須
status
enum<string>
必須
列挙型:
startedproposedselectedconfirmedcanceled
proposedPeriods
array[object (時間帯) {2}] | null
必須
start
string <date-time>
必須
end
string <date-time>
必須
selectedPeriod
必須
Any of
start
string <date-time>
必須
end
string <date-time>
必須
approvedPeriod
必須
Any of
start
string <date-time>
必須
end
string <date-time>
必須
links
object
必須
candidateBookingUrl
string
必須
clientBookingUrl
string
必須
detailUrl
string
必須
createdAt
string <date-time>
必須
metadata
object
可選
例
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"lengthMin": 0,
"client": {
"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"
}
]
},
"candidate": {
"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"
}
]
},
"proposablePeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"proposableWeeklyAvailableTimes": {
"mon": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"tue": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"wed": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"thu": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"fri": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"sat": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"sun": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
},
"hol": {
"available": true,
"times": [
{
"startTime": {
"hour": 0,
"min": 0
},
"endTime": {
"hour": 0,
"min": 0
}
}
]
}
},
"place": "string",
"placeInfo": "offline",
"information": "string",
"deadline": "2019-08-24T14:15:22Z",
"cc": [
"string"
],
"status": "started",
"proposedPeriods": [
{
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
}
],
"selectedPeriod": {
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
},
"approvedPeriod": {
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z"
},
"links": {
"candidateBookingUrl": "string",
"clientBookingUrl": "string",
"detailUrl": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"metadata": {}
}
🟠401Unauthorized
🟠404NotFound
🔴500InternalServerError
更新日時 2024-04-11 08:44:01