Facilities
Tenant Var Code
If true, result includes users from subtenants
falseOK
Tenant Var Code
A unique identifier of the facility
Facility friendly name
Facility description
Array of email addresses that have to be users from the same tenant
Facility latitude
Facility longitude
Facility address
Facility city
Faciliti state
Facility country
Facility postal code
Primary phone number in international format (starting with '+' and country code)
Secondary phone number in international format (starting with '+' and country code)
Map icon, one of the following values: fa-building, fa-building-wheat, fa-building-user, fa-building-shield, fa-building-lock, fa-building-flag, fa-building-columns, fa-car-building, fa-house-building, fa-house, fa-city, fa-shop, fa-store, fa-school, fa-hotel, fa-place-of-worship, fa-hospital, fa-warehouse, fa-industry, fa-warehouse-full, fa-tree-city, fa-apartment, fa-fort, fa-container-storage, fa-tower-observation, fa-tent, fa-oil-well, fa-garage, fa-farm, fa-castle, fa-cabin, fa-user, fa-location-arrow
Marker color, one of the following values: blue, purple, dark-purple, dark-blue, dark-green, light-orange, yellow, light-green, light-blue, pink, gray, dark-gray
GET /V2/{tenantVarCode}/facilities HTTP/1.1
Accept: */*
OK
[
{
"TenantCode": "text",
"FacilityId": "text",
"FriendlyName": "text",
"Description": "text",
"KeyContacts": [
"text"
],
"Latitude": 1,
"Longitude": 1,
"Address": "text",
"City": "text",
"State": "text",
"Country": "text",
"PostalCode": "text",
"PrimaryPhone": "text",
"SecondaryPhone": "text",
"MapIcon": "text",
"MarkerColor": "text"
}
]Tenant Var Code
Tenant Var Code
A unique identifier of the facility
Facility friendly name
Facility description
Array of email addresses that have to be users from the same tenant
Facility latitude
Facility longitude
Facility address
Facility city
Faciliti state
Facility country
Facility postal code
Primary phone number in international format (starting with '+' and country code)
Secondary phone number in international format (starting with '+' and country code)
Map icon, one of the following values: fa-building, fa-building-wheat, fa-building-user, fa-building-shield, fa-building-lock, fa-building-flag, fa-building-columns, fa-car-building, fa-house-building, fa-house, fa-city, fa-shop, fa-store, fa-school, fa-hotel, fa-place-of-worship, fa-hospital, fa-warehouse, fa-industry, fa-warehouse-full, fa-tree-city, fa-apartment, fa-fort, fa-container-storage, fa-tower-observation, fa-tent, fa-oil-well, fa-garage, fa-farm, fa-castle, fa-cabin, fa-user, fa-location-arrow
Marker color, one of the following values: blue, purple, dark-purple, dark-blue, dark-green, light-orange, yellow, light-green, light-blue, pink, gray, dark-gray
OK
No content
POST /V2/{tenantVarCode}/facilities HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 301
{
"TenantCode": "text",
"FacilityId": "text",
"FriendlyName": "text",
"Description": "text",
"KeyContacts": [
"text"
],
"Latitude": 1,
"Longitude": 1,
"Address": "text",
"City": "text",
"State": "text",
"Country": "text",
"PostalCode": "text",
"PrimaryPhone": "text",
"SecondaryPhone": "text",
"MapIcon": "text",
"MarkerColor": "text"
}OK
No content
Tenant Var Code
Facility Id
OK
Tenant Var Code
A unique identifier of the facility
Facility friendly name
Facility description
Array of email addresses that have to be users from the same tenant
Facility latitude
Facility longitude
Facility address
Facility city
Faciliti state
Facility country
Facility postal code
Primary phone number in international format (starting with '+' and country code)
Secondary phone number in international format (starting with '+' and country code)
Map icon, one of the following values: fa-building, fa-building-wheat, fa-building-user, fa-building-shield, fa-building-lock, fa-building-flag, fa-building-columns, fa-car-building, fa-house-building, fa-house, fa-city, fa-shop, fa-store, fa-school, fa-hotel, fa-place-of-worship, fa-hospital, fa-warehouse, fa-industry, fa-warehouse-full, fa-tree-city, fa-apartment, fa-fort, fa-container-storage, fa-tower-observation, fa-tent, fa-oil-well, fa-garage, fa-farm, fa-castle, fa-cabin, fa-user, fa-location-arrow
Marker color, one of the following values: blue, purple, dark-purple, dark-blue, dark-green, light-orange, yellow, light-green, light-blue, pink, gray, dark-gray
GET /V2/{tenantVarCode}/facilities/{facilityId} HTTP/1.1
Accept: */*
OK
{
"TenantCode": "text",
"FacilityId": "text",
"FriendlyName": "text",
"Description": "text",
"KeyContacts": [
"text"
],
"Latitude": 1,
"Longitude": 1,
"Address": "text",
"City": "text",
"State": "text",
"Country": "text",
"PostalCode": "text",
"PrimaryPhone": "text",
"SecondaryPhone": "text",
"MapIcon": "text",
"MarkerColor": "text"
}Tenant Var Code
Facility Id
Tenant Var Code
A unique identifier of the facility
Facility friendly name
Facility description
Array of email addresses that have to be users from the same tenant
Facility latitude
Facility longitude
Facility address
Facility city
Faciliti state
Facility country
Facility postal code
Primary phone number in international format (starting with '+' and country code)
Secondary phone number in international format (starting with '+' and country code)
Map icon, one of the following values: fa-building, fa-building-wheat, fa-building-user, fa-building-shield, fa-building-lock, fa-building-flag, fa-building-columns, fa-car-building, fa-house-building, fa-house, fa-city, fa-shop, fa-store, fa-school, fa-hotel, fa-place-of-worship, fa-hospital, fa-warehouse, fa-industry, fa-warehouse-full, fa-tree-city, fa-apartment, fa-fort, fa-container-storage, fa-tower-observation, fa-tent, fa-oil-well, fa-garage, fa-farm, fa-castle, fa-cabin, fa-user, fa-location-arrow
Marker color, one of the following values: blue, purple, dark-purple, dark-blue, dark-green, light-orange, yellow, light-green, light-blue, pink, gray, dark-gray
OK
No content
PUT /V2/{tenantVarCode}/facilities/{facilityId} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 301
{
"TenantCode": "text",
"FacilityId": "text",
"FriendlyName": "text",
"Description": "text",
"KeyContacts": [
"text"
],
"Latitude": 1,
"Longitude": 1,
"Address": "text",
"City": "text",
"State": "text",
"Country": "text",
"PostalCode": "text",
"PrimaryPhone": "text",
"SecondaryPhone": "text",
"MapIcon": "text",
"MarkerColor": "text"
}OK
No content
Last updated

