Bearer authentication header of the form Bearer <token>.
Body
ListingSearchPayload
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.
startAfterIdstringOptionalDeprecated
The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.
Responses
200
Your search result
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
post
/api/listings/search
Update listings
put
Bulk upsert listings independently of their facility
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
ListingBulkUpsertPayload
Responses
200
Result of the bulk upsert operation
application/json
400
Invalid input. See response for details.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
404
The requested entity was not found
application/json
409
A version conflict occurred.
application/json
put
/api/listings
Get listing
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to get listing. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
tenantArticleIdstringRequired
tenantArticleId of listing you want to get
Query parameters
localestringOptional
Provide the localized names and descriptions for the listing. If not provided the default locale is used., for example de_DE.
Responses
200
Listing is found & you were allowed to access it. The result is in the body.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to delete all listings of. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
Responses
200
Facility listings were found and successfully deleted
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
404
Facility listing not found
application/json
delete
/api/facilities/{facilityId}/listings
No content
List listings
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to get listing for. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
Query parameters
startAfterIdstringOptional
all entities after given Id
sizeintegerOptional
number of facilities to show
Default: 25
tenantArticleIdsstring[] · max: 500Optional
Array of tenantArticleIds
scannableCodestringOptional
limit results to this scannableCode
Responses
200
Facility was found & you were allowed to access it. The results are in the body.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
404
Facility not found
application/json
get
/api/facilities/{facilityId}/listings
Update listings
put
Bulk PUT for Listings. Please note: This endpoint has legacy behaviour, i.e. all PUTs fail if a single PUT fails.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to put listings for. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
Body
ListingsForReplacement
Responses
200
Facility listing was found & you were allowed to access it. The result is in the body.
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
404
Facility listing not found
application/json
put
/api/facilities/{facilityId}/listings
Update listing
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to patch a listing of. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
tenantArticleIdstringRequired
tenant ID of the articles listing you want to patch
Body
ListingPatchActions
versioninteger · int64Required
The version of the document to be used in optimistic locking mechanisms.
Example: 42
Responses
200
Facility listing was found and successfully patched
application/json
400
Invalid input. See response for details
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
Bearer authentication header of the form Bearer <token>.
Path parameters
facilityIdstringRequired
ID of facility you want to delete a listing of. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
tenantArticleIdstringRequired
tenant ID of the articles listing you want to delete
Responses
200
Facility listing was found and successfully deleted
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint