For the complete documentation index, see llms.txt. This page is also available as Markdown.

Facility endpoints

Get facility

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility you want to get. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).

Responses
200

Facility was found & you were allowed to access it. The result is in the body.

application/json
or
get/api/facilities/{facilityId}

Create facility

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
or
Responses
201

The facility was successfully created. The Location header contains the URL of the facility.

application/json
or
post/api/facilities

Update facility

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility you want to patch. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).

Body
or
or
Responses
200

Facility was found & patch-set has been applied. The patched facility is in the body.

application/json
or
patch/api/facilities/{facilityId}

Update facility

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility you want to replace. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).

Body
or
Responses
200

Facility was replaced. The replaced facility is in the body.

application/json
or
put/api/facilities/{facilityId}

Delete facility

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired

ID of facility you want to delete. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).

Query parameters
forceDeletionbooleanOptional

cascading deletion without pre condition check

Default: false
Responses
200

Facility was found & you were allowed to delete it.

No content

delete/api/facilities/{facilityId}

No content

List facilities

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional

all entities after given Id

statusstring[]Optional

Reference to the status you want to get the corresponding facilities

sizeintegerOptional

number of facilities to show

Default: 25
tenantFacilityIdstringOptional

query facilities with the given tenantFacilityId

orderBystring · enumOptional

Attribute to order a facility list

Possible values:
Responses
200

Facilities are found.

application/json

StrippedFacilities

totalintegerOptional

Total number of found entities for this query

Example: 42
get/api/facilities

List facilities (search)

post

This part of the API is in Beta status. For details, see the API release lifecycle documentation. Search for Facility

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

FacilitySearchPayload

afterstringOptional

The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.

beforestringOptional

The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).

lastnumber · min: 1 · max: 250Optional

Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.

sizenumber · min: 1 · max: 250Optional

Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.

Example: 10
startAfterIdstringOptionalDeprecated

The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.

Responses
200

Your search result

application/json

FacilityPaginatedResult

totalnumberOptional

The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.

post/api/facilities/search

Last updated

Was this helpful?