Headers
-
X-Correlation-Id string
Unique identifier to allow referencing a particular transaction or event chain
Minimum length is
1
.
Body Required
-
Minimum length is
1
. -
Minimum length is
1
, maximum length is255
. -
Minimum length is
1
. -
capacity integer | null
Minimum value is
0
. -
isWheelChairAccessible boolean | null
-
Values are
CRONOFY
,GOOGLE
, orOFFICE365
.
POST /meeting-rooms
curl \
-X POST https://api.development.pexipengage.com/enterprises/acme/meeting-rooms \
-H "Content-Type: application/json" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" \
-H "X-Correlation-Id: a4f0048e-c983-11ed-afa1-0242ac120002" \
-d '{"email":"john.doe@pexip.com","externalId":"ABCD1234","name":"string","capacity":5,"isWheelChairAccessible":true,"provider":"OFFICE365"}'
Request examples
# Headers
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
X-Correlation-Id: a4f0048e-c983-11ed-afa1-0242ac120002
# Payload
{
"email": "john.doe@pexip.com",
"externalId": "ABCD1234",
"name": "string",
"capacity": 5,
"isWheelChairAccessible": true,
"provider": "OFFICE365"
}
Response examples (201)
{
"data": {
"id": "123",
"email": "john.doe@pexip.com",
"externalId": "ABCD1234",
"name": "string",
"capacity": 5,
"isWheelChairAccessible": true,
"provider": "OFFICE365",
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
}
}