Event Scope Configuration (Core)

Endpoints to create, update and read event scope configurations.

Create event scope config

post

This part of the API is in Alpha status. For details please check the api-release-life-cycle documentation. Create a new event scope configuration for inventory article availability changed events.

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

InventoryArticleAvailabilityChangedEventScopeForCreation

facilityGroupRefsstring[] · max: 5 · nullableOptional

Facility group references whose members are included in this scope. Omit or null for a global scope including all facilities.

facilityRefsstring[] · max: 50 · nullableOptional

Direct facility references to include in this scope. Omit or null for a global scope including all facilities.

keystring · max: 128Required

Unique key identifying this scope. Used to derive the URN.

statusstring · enumOptional

A scope config can be set to inactive instead of being deleted to temporarily disable emission. The maximum limit of 10 applies to both active and inactive scope configs.

Default: ACTIVEPossible values:
Responses
post
/api/configurations/eventscopes/inventoryarticleavailabilitychanged

Get event scope config

get

This part of the API is in Alpha status. For details please check the api-release-life-cycle documentation. Get an event scope configuration by ID or URN.

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

ID of scope you want to get. Also accepts key in urn format (e.g., urn:fft:eventScopeConfig:key:{your-key}).

Responses
200

The event scope configuration.

application/json

InventoryArticleAvailabilityChangedEventScope

createdstring · date-timeRequired
facilityGroupRefsstring[]Optional
facilityRefsstring[]Optional
idstringRequired
keystringRequired
lastModifiedstring · date-timeRequired
statusstring · enumRequiredPossible values:
versionnumberRequired
get
/api/configurations/eventscopes/inventoryarticleavailabilitychanged/{id}

Replace event scope config

put

This part of the API is in Alpha status. For details please check the api-release-life-cycle documentation. Replace an existing event scope configuration.

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

ID of scope you want to get. Also accepts key in urn format (e.g., urn:fft:eventScopeConfig:key:{your-key}).

Body

InventoryArticleAvailabilityChangedEventScopeForReplace

facilityGroupRefsstring[] · max: 5 · nullableOptional

Facility group references whose members are included in this scope. Omit or null for a global scope including all facilities.

facilityRefsstring[] · max: 50 · nullableOptional

Direct facility references to include in this scope. Omit or null for a global scope including all facilities.

statusstring · enumOptional

A scope config can be set to inactive instead of being deleted to temporarily disable emission. The maximum limit of 10 applies to both active and inactive scope configs.

Possible values:
versionnumberRequired

Version for optimistic locking.

Responses
200

The updated event scope configuration.

application/json

InventoryArticleAvailabilityChangedEventScope

createdstring · date-timeRequired
facilityGroupRefsstring[]Optional
facilityRefsstring[]Optional
idstringRequired
keystringRequired
lastModifiedstring · date-timeRequired
statusstring · enumRequiredPossible values:
versionnumberRequired
put
/api/configurations/eventscopes/inventoryarticleavailabilitychanged/{id}

Delete event scope config

delete

This part of the API is in Alpha status. For details please check the api-release-life-cycle documentation. Delete an event scope configuration by ID or URN.

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

ID of scope you want to get. Also accepts key in urn format (e.g., urn:fft:eventScopeConfig:key:{your-key}).

Responses
200

The event scope configuration was deleted.

application/json

InventoryArticleAvailabilityChangedEventScope

createdstring · date-timeRequired
facilityGroupRefsstring[]Optional
facilityRefsstring[]Optional
idstringRequired
keystringRequired
lastModifiedstring · date-timeRequired
statusstring · enumRequiredPossible values:
versionnumberRequired
delete
/api/configurations/eventscopes/inventoryarticleavailabilitychanged/{id}

List event scope configs (search)

post

This part of the API is in Alpha status. For details please check the api-release-life-cycle documentation. Search for ScopedAvailabilityConfig

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

ScopedAvailabilityConfigSearchPayload

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

ScopedAvailabilityConfigPaginatedResult

totalnumberOptional

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

post
/api/configurations/eventscopes/inventoryarticleavailabilitychanged/search

Last updated