Custom Services (Core)

Endpoints to create, update and read custom services.

List custom services

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

all entities after given Id

sizeintegerOptional

number of entities to show

Default: 25
tenantCustomServiceIdstringOptional

tenantCustomServiceId to filter for

Responses
chevron-right
200

Custom service config could be found in response body.

application/json

StrippedCustomServices

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/customservices

Create custom service

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

CustomServiceForCreation

customAttributesobject · nullableOptional

Attributes that can be added to custom service. These attributes cannot be used within fulfillment processes, but it could be useful to have the information carried here.

executionTimeInMinintegerOptionalExample: 120
itemsRequiredstring · enumRequired

ItemsRequiredEnum

Possible values:
itemsReturnablebooleanOptional
statusstring · enumRequired

Deprecated values: ENABLED and DISABLED, use INACTIVE and ACTIVE instead

Possible values:
tenantCustomServiceIdstringOptional
Responses
chevron-right
200

The custom service was successfully updated.

application/json

CustomService

and
post
/api/customservices

Get custom service

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of custom service you want to get

Responses
chevron-right
200

Custom service config could be found in response body.

application/json

CustomService

and
get
/api/customservices/{customServiceId}

Update custom service

patch

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of custom service you want to patch

Body
or
Responses
chevron-right
200

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

application/json

CustomService

and
patch
/api/customservices/{customServiceId}

Create additional information

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of custom service you want to create service job for

Body

AdditionalInformationForCreation

isMandatorybooleanOptional
tenantAdditionalInformationIdstring · min: 1Optional

Id to identifiy the additional information on an external system. Must be unique per CustomService.

Example: AddInfoABC123
valueTypestring · enumRequired

AdditionalInformationValueType

Possible values:
Responses
chevron-right
200

The custom service was successfully updated.

application/json

CustomService

and
post
/api/customservices/{customServiceId}/additionalinformation

Update additional information

put

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of custom service

additionalInformationIdstringRequired

ID of additional information you want to put

Body

AdditionalInformationForCreation

isMandatorybooleanOptional
tenantAdditionalInformationIdstring · min: 1Optional

Id to identifiy the additional information on an external system. Must be unique per CustomService.

Example: AddInfoABC123
valueTypestring · enumRequired

AdditionalInformationValueType

Possible values:
Responses
chevron-right
200

The custom service was successfully updated.

application/json

CustomService

and
put
/api/customservices/{customServiceId}/additionalinformation/{additionalInformationId}

Delete additional information

delete

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of custom service

additionalInformationIdstringRequired

ID of additional information you want to delete

Responses
chevron-right
200

The custom service was successfully updated.

application/json

CustomService

and
delete
/api/customservices/{customServiceId}/additionalinformation/{additionalInformationId}

List facility custom services

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

ID of facility. 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 entities to show

Default: 25
Responses
chevron-right
200

Custom service connections could be found in response body.

application/json

StrippedFacilityCustomServiceConnections

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/facilities/{facilityId}/customservices

Get facility custom service

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

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

customServiceIdstringRequired

ID of the custom service

Responses
chevron-right
200

Custom service connection could be found in response body.

application/json

FacilityCustomServiceConnection

get
/api/facilities/{facilityId}/customservices/{customServiceId}

Create facility custom service

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

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

customServiceIdstringRequired

ID of the custom service

Body

FacilityCustomServiceConnectionForCreation

executionTimeInMinintegerOptional

Time in minutes the custom service takes to be executed

Example: 100
statusstring · enumRequired

FacilityCustomServiceConnectionStatus

Possible values:
Responses
post
/api/facilities/{facilityId}/customservices/{customServiceId}

Delete facility custom service

delete

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

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

customServiceIdstringRequired

ID of the custom service

Responses
chevron-right
200

The custom service connection was successfully deleted.

No content

delete
/api/facilities/{facilityId}/customservices/{customServiceId}

No content

Update facility custom service

patch

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

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

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

customServiceIdstringRequired

ID of the custom service

Body

FacilityCustomServiceConnectionForUpdate

executionTimeInMinintegerOptional

Time in minutes the custom service takes to be executed

Example: 100
statusstring · enumOptional

FacilityCustomServiceConnectionStatus

Possible values:
versioninteger · int64Required

Version of the documentSet you want to update a document of

Example: 42
Responses
chevron-right
200

The custom service connection was successfully created.

application/json

FacilityCustomServiceConnection

patch
/api/facilities/{facilityId}/customservices/{customServiceId}

Last updated