Services (Operations)

Endpoints to create, update and read operative service jobs.

List linked service jobs

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
facilityIdsstring[]Optional

facilities to filter to

statusstring[]Optional

Reference to the statuses you want to get the corresponding linked service jobs

orderBystring · enumOptional

Attribute to order linked service jobs by

Possible values:
channelstring · enumOptional

LinkedServiceJobsFilterChannel

Possible values:
startTargetTimestring · date-timeOptional

Start target date range for linked service jobs

Example: 2020-02-03T08:45:50.525Z
endTargetTimestring · date-timeOptional

End target date range for linked service jobs

Example: 2020-02-03T08:45:50.525Z
searchTermstringOptional

Search term you want to get the corresponding linked service jobs. Search will be performed on multiple fields, like tenantOrderId, consumerName, tenantArticleId and more

modifiedByUsernamestringOptional

Reference to the username you want to get the corresponding linkedServiceJobs for

Responses
chevron-right
200

LinkedServiceJobs could be found in response body.

application/json

LinkedServiceJobsResult

totalobjectRequired
get
/api/linkedservicejobs

Get linked service jobs

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
linkedServiceJobsIdstringRequired

ID of LinkedServiceJobs you want to get

Responses
chevron-right
200

LinkedServiceJobs could be found in response body.

application/json

LinkedServiceJobs

get
/api/linkedservicejobs/{linkedServiceJobsId}

Create service job link

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Add a ServiceJobLink to a LinkedServiceJob on root level.

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

ID of LinkedServiceJobs you want to alter

Body

ServiceJobLinkForAdding

serviceJobRefstringRequiredExample: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
Responses
post
/api/linkedservicejobs/{linkedServiceJobsId}/servicejoblinks

Create service job link

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Add a ServiceJobLink to a ServiceJobLink inside the LinkedServiceJob.

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

ID of LinkedServiceJobs you want to alter

serviceJobLinkIdstringRequired

ID of ServiceJobLink you want to add the new ServiceJobLink underneath

Body

ServiceJobLinkForAdding

serviceJobRefstringRequiredExample: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
Responses
post
/api/linkedservicejobs/{linkedServiceJobsId}/servicejoblinks/{serviceJobLinkId}

List linked service jobs (search)

post

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

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

LinkedServiceJobsSearchPayload

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
chevron-right
200

Your search result

application/json

LinkedServiceJobsPaginatedResult

totalnumberOptional

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

post
/api/linkedservicejobs/search

List service containers

get

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

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

all entities after given Id

sizeinteger · max: 500Optional

number of entities to show

Default: 25
facilityRefsstring[] · max: 50Optional

Reference of the facility you want to filter for

serviceJobRefstringOptional

Reference of the service job you want to filter for

orderBystringOptional

sorting for the results

Responses
chevron-right
200

Service Jobs could be found in response body.

application/json

ServiceContainers

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/servicecontainers

Create service container

post

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

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

ServiceContainerForCreation

customAttributesobjectOptional

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

operativeContainerTypeRefstringRequired

Reference to the operative container type this container is based on.

scannableCodesstring[] · max: 50Optional

Codes that can be used for scanning this container.

serviceJobRefstringRequired

Id of the ServiceJob this container belongs to.

storageLocationRefstringOptional

Id of the storage location this container is located at.

Responses
post
/api/servicecontainers

Get service container by id

get

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

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

ID of the service container to retrieve

Responses
chevron-right
200

Service container for the given id.

application/json

ServiceContainer

get
/api/servicecontainers/{serviceContainerId}

Delete service container

delete

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

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

ID of the service container to delete

Responses
chevron-right
200

The service container was successfully deleted.

No content

delete
/api/servicecontainers/{serviceContainerId}

No content

List service jobs

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
facilityRefstringOptional

Reference of the facility you want to filter for

assignedUserstringOptional

Reference the assigned user on this entity - id or username

statusstring[]Optional

Reference to the statuses you want to get the corresponding service job

channelstring · enumOptional

ServiceJobFilterChannel

Possible values:
startTargetTimestring · date-timeOptional

Start target date range for service jobs

Example: 2020-02-03T08:45:50.525Z
endTargetTimestring · date-timeOptional

End target date range for service jobs

Example: 2020-02-03T08:45:50.525Z
searchTermstringOptional

Search term you want to get the corresponding service jobs. Search will be performed on multiple fields, like tenantOrderId, consumerName, tenantArticleId and more

Responses
chevron-right
200

Service Jobs could be found in response body.

application/json

ServiceJobs

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/servicejobs

Create service job

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

ServiceJobForCreation

customAttributesobjectOptional

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

customServiceRefstringOptional

ID of the Custom Service, the Service Job should reference. Either this and/or the tenantCustomServiceId must passed.

Example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
facilityRefstringRequired

ID of the Facility, the Service Job is executed in.

Example: ba095e30-879f-11ee-b9d1-0242ac120002
operativeProcessRefstringOptional
processRefstringOptional

ID of the Process, the Service Job belongs to.

Example: 550e8400-e29b-41d4-a716-446655440000
serviceJobLinkRefstringOptional

ID of the Service Job Link, the Service Job should reference.

Example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
shortIdstringOptionalExample: KD-12-1
targetTimestring · date-timeRequired

At which time the service job is expected to be finished.

Example: 2020-02-03T09:45:51.525Z
tenantCustomServiceIdstringOptional

Tenant ID of the Custom Service, the Service Job should reference. Either this and/or the customServiceRef must passed.

Example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
tenantOrderIdstringOptional

ID of the tenant order, the linked service jobs are part of

Example: ocff-order-100
Responses
post
/api/servicejobs

Get service job

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
serviceJobIdstringRequired

ID of service job you want to get

Responses
chevron-right
200

Service Job could be found in response body.

application/json

ServiceJob

get
/api/servicejobs/{serviceJobId}

Call service job action

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
serviceJobIdstringRequired

ID of service job you want to update

Body

ServiceJobActionsParameter

or
or
or
or
or
or
or
or
Responses
chevron-right
200

The service job was successfully updated.

application/json

ServiceJob

post
/api/servicejobs/{serviceJobId}/actions

List service containers for a service job

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Lists service containers by the id of the related service job

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

ID of the service job to retrieve containers for

Responses
chevron-right
200

Service containers for the given service job.

application/json

ServiceContainer

get
/api/servicejobs/{serviceJobId}/servicecontainers

Get service data

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
serviceJobIdstringRequired

ID of service job referenced by the service data you want to get

Responses
chevron-right
200

Service Data could be found in response body.

application/json

ServiceData

createdstring · date-timeRequired

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
idstringRequired

ID of the Service Data

Example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
lastModifiedstring · date-timeRequired

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
serviceJobRefsstring[] · min: 1Required

IDs of all serviceJobs connected to this service data

Example: cdb1dfc4-8361-4ba9-b3c2-33a6f2fc8d05
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
get
/api/servicejobs/{serviceJobId}/servicedata

Call service data action

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
serviceJobIdstringRequired

ID of service job referenced by the service data you want to update

Body

ServiceDataActionsParameter

or
or
or
or
Responses
chevron-right
200

The service data was successfully updated.

application/json

ServiceData

createdstring · date-timeRequired

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
idstringRequired

ID of the Service Data

Example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
lastModifiedstring · date-timeRequired

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
serviceJobRefsstring[] · min: 1Required

IDs of all serviceJobs connected to this service data

Example: cdb1dfc4-8361-4ba9-b3c2-33a6f2fc8d05
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
post
/api/servicejobs/{serviceJobId}/servicedata/actions

Last updated