一覧
GET
/mediatories/{teamId}/bookings
Requestパラメータ
Authorization
Headerにパラメータ
Authorization
を追加し、その値にはBearerの後にTokenを連結します例:
Authorization: Bearer ********************
Pathパラメータ
teamId
string
必須
Queryパラメータ
ids
array[string]
可選
サンプル値:
["0a4792db,0c3a8283,3706a08c"]
name
string
可選
サンプル値:
一次面接
status
enum<string>
可選
列挙型:
wipconfirmedcanceled
サンプル値:
wip
clientId
string
可選
サンプル値:
058d3f7e
candidateId
string
可選
サンプル値:
17bc2d30
hasError
boolean
可選
サンプル値:
true
page
number
可選
デフォルト値:
0
サンプル値:
0
hitsPerPage
number
可選
デフォルト値:
10
サンプル値:
10
サンプルコード
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?ids=0a4792db,0c3a8283,3706a08c&name=一次面接&status=wip&clientId=058d3f7e&candidateId=17bc2d30&hasError=true&page=0&hitsPerPage=10'
Response
🟢200成功
application/json
Body
bookings
array[object (日程調整) {19}]
必須
id
string <uuid>
必須
name
string
必須
lengthMin
number
必須
client
object (企業担当者)
必須
candidate
object (求職者)
必須
proposablePeriods
array[object (時間帯) {2}]
可選
proposableWeeklyAvailableTimes
必須
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
必須
selectedPeriod
必須
approvedPeriod
必須
links
object
必須
createdAt
string <date-time>
必須
metadata
object
可選
page
number
必須
htisPerPage
number
必須
numberHits
number
必須
例
{
"bookings": [
{
"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": {}
}
],
"page": 0,
"htisPerPage": 0,
"numberHits": 0
}
🟠401Unauthorized
🟠404NotFound
🟠422Unprocessable Entity
🔴500InternalServerError
更新日時 2024-04-18 07:02:47