Skip to main content

Zentry.Workspaces.Api v1.0

Base URLs:

Authentication

  • API Key (API_KEY)
    • Parameter Name: Api-Key Authentication, in: header.

Admin

AddUserRole

POST /Admin/role

Body parameter

{
"contact": {
"name": "string",
"email": "string",
"phone": "string"
},
"role": "LocationAdmin",
"workspaceId": "686d3163ee1ffbbdb38b6a74"
}

Parameters

NameInTypeRequiredDescription
bodybodyAddUserRoleRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKNone

RemoveUserRole

DELETE /Admin/role

Body parameter

{
"email": "johnsmit@zentrypass.com",
"role": "LocationAdmin",
"workspaceId": "686d3163ee1ffbbdb38b6a74"
}

Parameters

NameInTypeRequiredDescription
bodybodyRemoveUserRoleRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKNone

GetUsersWithRole

GET /Admin/{tenantId}/role/{role}

Parameters

NameInTypeRequiredDescription
getUsersWithRoleRequestheaderGetUsersWithRoleRequestfalsenone
tenantIdpathstringtruenone
rolepathstringtruenone

Responses

StatusMeaningDescriptionSchema
200OKOKUserIPagedResponse

Application

CreateApplication

POST /Application/create

Body parameter

{
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string"
},
"description": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyCreateApplicationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

GetApplications

POST /Application

Body parameter

{
"offset": 0,
"limit": 25,
"ids": [
"string"
],
"ownerIds": [
"string"
]
}

Parameters

NameInTypeRequiredDescription
bodybodyGetApplicationsRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplicationIPagedResponse

UpdateApplication

PUT /Application

Body parameter

{
"id": "string",
"name": "string",
"description": "string",
"locations": [
{
"name": "string",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"amenities": [
"string"
],
"price": 0,
"pictureUrls": [
"string"
],
"phone": "string",
"checkInInstructions": "string",
"description": "string",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}
]
}

Parameters

NameInTypeRequiredDescription
bodybodyUpdateApplicationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

ApproveApplicationInquiry

PUT /Application/approve-inquiry

Body parameter

{
"applicationId": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyApproveApplicationInquiryRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

SubmitApplication

PUT /Application/submit

Body parameter

{
"applicationId": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodySubmitApplicationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

ApproveApplication

PUT /Application/approve

Body parameter

{
"applicationId": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyApproveApplicationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKWorkspace

DenyApplication

PUT /Application/deny

Body parameter

{
"applicationId": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyDenyApplicationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

InviteWorkspace

POST /Application/invite

Body parameter

{
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string"
},
"description": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyInviteWorkspaceRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKApplication

Location

GetLocations

POST /Location

Body parameter

{
"offset": 0,
"limit": 25,
"ids": [
"686d3163ee1ffbbdb38b6a74"
],
"workspaceIds": [
"686d3163ee1ffbbdb38b6a74"
],
"searchText": "The Zentrys",
"geoSearch": {
"maxMiles": 25,
"latitude": 38.62,
"longitude": -90.18
},
"maxTokens": 10
}

Parameters

NameInTypeRequiredDescription
bodybodyGetLocationsRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKExtendedLocationIPagedResponse

UpdateLocation

PUT /Location

Body parameter

{
"id": "686d3163ee1ffbbdb38b6a74",
"name": "The Zentrys - St. Louis",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"pictureUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
],
"amenities": [
"Wi-Fi",
"Pickleball"
],
"price": 10000,
"phone": "5555555555",
"checkInInstructions": "Visit the front desk",
"description": "Panoramic views of the San Francisco skyline",
"waiverUrl": "https://example.com/waiver.pdf",
"termsOfSerivceUrl": "https://example.com/terms.pdf"
}

Parameters

NameInTypeRequiredDescription
bodybodyUpdateLocationRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKExtendedLocation

UploadImge

POST /Location/image

Body parameter

file: string

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» filebodystring(binary)falsenone

Responses

StatusMeaningDescriptionSchema
200OKOKstring

UploadWaiver

POST /Location/waiver

Body parameter

file: string

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» filebodystring(binary)falsenone

Responses

StatusMeaningDescriptionSchema
200OKOKstring

UploadTerms

POST /Location/terms

Body parameter

file: string

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» filebodystring(binary)falsenone

Responses

StatusMeaningDescriptionSchema
200OKOKstring

Workspace

GetWorkspace

GET /Workspace/my

Responses

StatusMeaningDescriptionSchema
200OKOKWorkspace

GetWorkspaces

POST /Workspace

Body parameter

{
"offset": 0,
"limit": 25
}

Parameters

NameInTypeRequiredDescription
bodybodyGetWorkspacesRequestfalsenone

Responses

StatusMeaningDescriptionSchema
200OKOKWorkspaceIPagedResponse

Schemas

AddUserRoleRequest

{
"contact": {
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
},
"role": "LocationAdmin",
"workspaceId": "686d3163ee1ffbbdb38b6a74"
}

NameTypeRequiredRestrictionsDescription
contactContacttruenonenone
rolestringtruenoneThe name of the role to add
workspaceIdstringtruenoneZentry Pass Workspace Id

Address

{
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
}

NameTypeRequiredRestrictionsDescription
line1stringtruenoneThe main address
line2string¦nullfalsenonenone
statestringtruenoneThe state
citystringtruenoneThe city
zipCodestringtruenoneThe zip code

Application

{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"status": "Inquiry",
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
},
"description": "string",
"locations": [
{
"name": "string",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"amenities": [
"string"
],
"price": 0,
"pictureUrls": [
"string"
],
"phone": "string",
"checkInInstructions": "string",
"description": "string",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}
],
"ownerId": "string",
"ownerEmail": "string"
}

NameTypeRequiredRestrictionsDescription
idstringtruenoneThe unique identifier for this entity
dateCreatedstring(date-time)truenoneThe initial date this entity was created
dateUpdatedstring(date-time)truenoneThe last time this entity was updated
statusApplicationStatustruenonenone
namestringtruenonenone
contactContacttruenonenone
descriptionstringtruenonenone
locations[ApplicationLocation]¦nullfalsenonenone
ownerIdstring¦nullfalsenonenone
ownerEmailstring¦nullfalsenonenone

ApplicationIPagedResponse

{
"data": [
{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"status": "Inquiry",
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
},
"description": "string",
"locations": [
{
"name": "string",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"amenities": [
"string"
],
"price": 0,
"pictureUrls": [
"string"
],
"phone": "string",
"checkInInstructions": "string",
"description": "string",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}
],
"ownerId": "string",
"ownerEmail": "string"
}
],
"pagedRequest": {
"offset": 0,
"limit": 25
},
"totalCount": 100
}

NameTypeRequiredRestrictionsDescription
data[Application]trueread-onlyThe paged data
pagedRequestIPagedRequesttruenonenone
totalCountinteger(int32)trueread-onlyThe total number of items available

ApplicationLocation

{
"name": "string",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"amenities": [
"string"
],
"price": 0,
"pictureUrls": [
"string"
],
"phone": "string",
"checkInInstructions": "string",
"description": "string",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}

NameTypeRequiredRestrictionsDescription
namestringtruenonenone
addressAddresstruenonenone
scheduleScheduletruenonenone
amenities[string]truenonenone
priceinteger(int64)truenonenone
pictureUrls[string]truenonenone
phonestringtruenonenone
checkInInstructionsstringtruenonenone
descriptionstring¦nullfalsenonenone
waiverUrlstringtruenonenone
termsOfSerivceUrlstringtruenonenone

ApplicationQuery

{
"offset": 0,
"limit": 25,
"ids": [
"string"
],
"ownerIds": [
"string"
]
}

NameTypeRequiredRestrictionsDescription
offsetinteger(int32)truenoneHow far to skip into a collection
limitinteger(int32)truenoneHow many results to return
ids[string]¦nullfalsenonenone
ownerIds[string]¦nullfalsenonenone

ApplicationStatus

"Inquiry"

NameTypeRequiredRestrictionsDescription
anonymousstringfalsenonenone

Enumerated Values

PropertyValue
anonymousInquiry
anonymousPending
anonymousSubmitted
anonymousApproved
anonymousDenied

ApproveApplicationInquiryRequest

{
"applicationId": "string"
}

NameTypeRequiredRestrictionsDescription
applicationIdstringtruenonenone

ApproveApplicationRequest

{
"applicationId": "string"
}

NameTypeRequiredRestrictionsDescription
applicationIdstringtruenonenone

Contact

{
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
}

NameTypeRequiredRestrictionsDescription
namestringtruenonenone
emailstringtruenonenone
phonestring¦nullfalsenonenone
firstNamestring¦nullfalseread-onlynone
lastNamestring¦nullfalseread-onlynone

CreateApplicationRequest

{
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
},
"description": "string"
}

NameTypeRequiredRestrictionsDescription
namestringtruenonenone
contactContacttruenonenone
descriptionstringtruenonenone

DenyApplicationRequest

{
"applicationId": "string"
}

NameTypeRequiredRestrictionsDescription
applicationIdstringtruenonenone

ExtendedLocation

{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"workspaceId": "184d3163ee1ffbbdb38b6c07",
"name": "The Zentrys - St. Louis",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"price": 0,
"geo": {
"latitude": 38.62,
"longitude": -90.18
},
"timeZone": "America/Chicago",
"pictureUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
],
"amenities": [
"Wi-Fi",
"Pickleball"
],
"phone": "5555555555",
"checkInInstructions": "Visit the front desk",
"description": "Panoramic views of the San Francisco skyline",
"waiverUrl": "string",
"termsOfSerivceUrl": "string",
"tokenCost": 5
}

NameTypeRequiredRestrictionsDescription
anonymousLocationfalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» tokenCostinteger(int32)truenoneHow many tokens this location costs

ExtendedLocationIPagedResponse

{
"data": [
{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"workspaceId": "184d3163ee1ffbbdb38b6c07",
"name": "The Zentrys - St. Louis",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"price": 0,
"geo": {
"latitude": 38.62,
"longitude": -90.18
},
"timeZone": "America/Chicago",
"pictureUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
],
"amenities": [
"Wi-Fi",
"Pickleball"
],
"phone": "5555555555",
"checkInInstructions": "Visit the front desk",
"description": "Panoramic views of the San Francisco skyline",
"waiverUrl": "string",
"termsOfSerivceUrl": "string",
"tokenCost": 5
}
],
"pagedRequest": {
"offset": 0,
"limit": 25
},
"totalCount": 100
}

NameTypeRequiredRestrictionsDescription
data[ExtendedLocation]trueread-onlyThe paged data
pagedRequestIPagedRequesttruenonenone
totalCountinteger(int32)trueread-onlyThe total number of items available

Geo

{
"latitude": 38.62,
"longitude": -90.18
}

NameTypeRequiredRestrictionsDescription
latitudenumber(double)truenonenone
longitudenumber(double)truenonenone

GeoSearch

{
"maxMiles": 25,
"latitude": 38.62,
"longitude": -90.18
}

NameTypeRequiredRestrictionsDescription
maxMilesnumber(double)truenoneThe maximum range in miles from the lat/lng
latitudenumber(double)truenoneThe latitude
longitudenumber(double)truenoneThe longitude

GetApplicationsRequest

{
"offset": 0,
"limit": 25,
"ids": [
"string"
],
"ownerIds": [
"string"
]
}

NameTypeRequiredRestrictionsDescription
anonymousApplicationQueryfalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone

GetLocationsRequest

{
"offset": 0,
"limit": 25,
"ids": [
"686d3163ee1ffbbdb38b6a74"
],
"workspaceIds": [
"686d3163ee1ffbbdb38b6a74"
],
"searchText": "The Zentrys",
"geoSearch": {
"maxMiles": 25,
"latitude": 38.62,
"longitude": -90.18
},
"maxTokens": 10
}

Used to find locations

NameTypeRequiredRestrictionsDescription
anonymousLocationQueryfalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» maxTokensinteger(int64)¦nullfalsenoneThe maximum token cost

GetUsersWithRoleRequest

{
"role": "string",
"tenantId": "string"
}

NameTypeRequiredRestrictionsDescription
rolestringtruenonenone
tenantIdstringtruenonenone

GetWorkspacesRequest

{
"offset": 0,
"limit": 25
}

NameTypeRequiredRestrictionsDescription
offsetinteger(int32)truenoneHow far to skip into a collection
limitinteger(int32)truenoneHow many results to return

IPagedRequest

{
"offset": 0,
"limit": 25
}

NameTypeRequiredRestrictionsDescription
offsetinteger(int32)trueread-onlyHow far to skip into a collection
limitinteger(int32)trueread-onlyHow many results to return

InviteWorkspaceRequest

{
"name": "string",
"contact": {
"name": "string",
"email": "string",
"phone": "string",
"firstName": "string",
"lastName": "string"
},
"description": "string"
}

NameTypeRequiredRestrictionsDescription
namestringtruenonenone
contactContacttruenonenone
descriptionstringtruenonenone

Location

{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"workspaceId": "184d3163ee1ffbbdb38b6c07",
"name": "The Zentrys - St. Louis",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"price": 0,
"geo": {
"latitude": 38.62,
"longitude": -90.18
},
"timeZone": "America/Chicago",
"pictureUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
],
"amenities": [
"Wi-Fi",
"Pickleball"
],
"phone": "5555555555",
"checkInInstructions": "Visit the front desk",
"description": "Panoramic views of the San Francisco skyline",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}

NameTypeRequiredRestrictionsDescription
idstringtruenoneThe unique identifier for this entity
dateCreatedstring(date-time)truenoneThe initial date this entity was created
dateUpdatedstring(date-time)truenoneThe last time this entity was updated
workspaceIdstringtruenoneThe workspace this location belongs to
namestringtruenoneThe name of this location
addressAddresstruenonenone
scheduleScheduletruenonenone
priceinteger(int64)truenonenone
geoGeotruenonenone
timeZonestringtruenoneThe time zone this location is in
pictureUrls[string]truenoneA list of urls for the pictures
amenities[string]truenoneA list of amenities this location offers
phonestringtruenoneThe front desk phone number for this location
checkInInstructionsstringtruenoneInstructions on how users should check-in while visiting this location
descriptionstring¦nullfalsenoneA description of this location
waiverUrlstringtruenoneThe url to the waiver users agree to before visiting
termsOfSerivceUrlstringtruenoneThe url to the terms of service users agree to before visiting

LocationQuery

{
"offset": 0,
"limit": 25,
"ids": [
"686d3163ee1ffbbdb38b6a74"
],
"workspaceIds": [
"686d3163ee1ffbbdb38b6a74"
],
"searchText": "The Zentrys",
"geoSearch": {
"maxMiles": 25,
"latitude": 38.62,
"longitude": -90.18
}
}

NameTypeRequiredRestrictionsDescription
offsetinteger(int32)truenoneHow far to skip into a collection
limitinteger(int32)truenoneHow many results to return
ids[string]¦nullfalsenoneList of Zentry Pass Location Ids
workspaceIds[string]¦nullfalsenoneList of Zentry Pass Workspace Ids
searchTextstring¦nullfalsenoneSearch by name or address
geoSearchGeoSearchfalsenonenone

RemoveUserRoleRequest

{
"email": "johnsmit@zentrypass.com",
"role": "LocationAdmin",
"workspaceId": "686d3163ee1ffbbdb38b6a74"
}

NameTypeRequiredRestrictionsDescription
emailstringtruenoneThe email of the user
rolestringtruenoneThe name of the role to remove
workspaceIdstringtruenoneZentry Pass Workspace Id

Schedule

{
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
}

NameTypeRequiredRestrictionsDescription
mondayScheduleDaytruenonenone
tuesdayScheduleDaytruenonenone
wednesdayScheduleDaytruenonenone
thursdayScheduleDaytruenonenone
fridayScheduleDaytruenonenone
saturdayScheduleDaytruenonenone
sundayScheduleDaytruenonenone

ScheduleDay

{
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}

NameTypeRequiredRestrictionsDescription
isOpenbooleantruenoneFlag indicating if the location is open on this day
openstring(date-span)truenoneThe time the location opens
closestring(date-span)truenoneThe time the location closes
maxVisitorsinteger(int32)¦nullfalsenoneThe maximum number of visitors allowed for the day. Default is unlimited.

SubmitApplicationRequest

{
"applicationId": "string"
}

NameTypeRequiredRestrictionsDescription
applicationIdstringtruenonenone

UpdateApplicationRequest

{
"id": "string",
"name": "string",
"description": "string",
"locations": [
{
"name": "string",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"amenities": [
"string"
],
"price": 0,
"pictureUrls": [
"string"
],
"phone": "string",
"checkInInstructions": "string",
"description": "string",
"waiverUrl": "string",
"termsOfSerivceUrl": "string"
}
]
}

NameTypeRequiredRestrictionsDescription
idstringtruenonenone
namestringtruenonenone
descriptionstringtruenonenone
locations[ApplicationLocation]truenonenone

UpdateLocationRequest

{
"id": "686d3163ee1ffbbdb38b6a74",
"name": "The Zentrys - St. Louis",
"address": {
"line1": "11 N 4th St",
"line2": "string",
"state": "Missouri",
"city": "St. Louis",
"zipCode": "63102"
},
"schedule": {
"monday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"tuesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"wednesday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"thursday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"friday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"saturday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
},
"sunday": {
"isOpen": true,
"open": "09:00:00",
"close": "17:00:00",
"maxVisitors": 20
}
},
"pictureUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
],
"amenities": [
"Wi-Fi",
"Pickleball"
],
"price": 10000,
"phone": "5555555555",
"checkInInstructions": "Visit the front desk",
"description": "Panoramic views of the San Francisco skyline",
"waiverUrl": "https://example.com/waiver.pdf",
"termsOfSerivceUrl": "https://example.com/terms.pdf"
}

NameTypeRequiredRestrictionsDescription
idstringtruenoneZentry Pass Workspace Location Id
namestringtruenoneThe name of this location
addressAddresstruenonenone
scheduleScheduletruenonenone
pictureUrls[string]truenoneA list of urls for the pictures
amenities[string]truenoneA list of amenities this location offers
priceinteger(int64)truenoneThe updated price in cents
phonestringtruenoneThe front desk phone number for this location
checkInInstructionsstringtruenoneInstructions on how users should check-in while visiting this location
descriptionstring¦nullfalsenoneA description of this location
waiverUrlstringtruenoneThe url to the waiver users agree to before visiting
termsOfSerivceUrlstringtruenoneThe url to the terms of service users agree to before visiting

User

{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"pictureUrl": "string"
}

NameTypeRequiredRestrictionsDescription
idstringtruenonenone
emailstringtruenonenone
firstNamestringtruenonenone
lastNamestringtruenonenone
pictureUrlstring¦nullfalsenonenone

UserIPagedResponse

{
"data": [
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"pictureUrl": "string"
}
],
"pagedRequest": {
"offset": 0,
"limit": 25
},
"totalCount": 100
}

NameTypeRequiredRestrictionsDescription
data[User]trueread-onlyThe paged data
pagedRequestIPagedRequesttruenonenone
totalCountinteger(int32)trueread-onlyThe total number of items available

Workspace

{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"name": "Zentry Pass",
"email": "workspace@zentrypass.com"
}

NameTypeRequiredRestrictionsDescription
idstringtruenoneThe unique identifier for this entity
dateCreatedstring(date-time)truenoneThe initial date this entity was created
dateUpdatedstring(date-time)truenoneThe last time this entity was updated
namestringtruenoneThe name of this workspace
emailstringtruenoneThe email used for communicating with this workspace

WorkspaceIPagedResponse

{
"data": [
{
"id": "184d3163ee1ffbbdb38b6c07",
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"name": "Zentry Pass",
"email": "workspace@zentrypass.com"
}
],
"pagedRequest": {
"offset": 0,
"limit": 25
},
"totalCount": 100
}

NameTypeRequiredRestrictionsDescription
data[Workspace]trueread-onlyThe paged data
pagedRequestIPagedRequesttruenonenone
totalCountinteger(int32)trueread-onlyThe total number of items available