v1

latestOpenAPI 3.0.22026-07-223907721.1 MB
WorkbenchResourcesCommand

Creates a new workbench resource

post/v2/workbenchResources/create

Headers

x-tenant-idstring uuid required

The tenant ID for the target ERP instance.

x-runasstring

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

x-companyidstring

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

Request body

numberstring

This workbench resource's unique number.

namestring

This workbench resource's name.

descriptionstring

This workbench resource's description.

workbenchResourceTypeIdstring uuid
hostNamestring

The name of the host assigned to this workbench resource.

warehouseIdstring uuid
reservationMode0 | 1 | 2

0 = Operation, 1 = Iteration, 2 = Session

autoShowProcessParameterValuesInProductionboolean

Specifies whether the dialog for displaying and/or capturing process parameter values in the context of production should be displayed automatically when process parameter values can/must be displayed or captured.

expiredComponentsUsage0 | 1

0 = NotPermitted, 1 = Permitted

replenishmentCreationStockReservationMode0 | 1 | 2

0 = None, 1 = UserPrompt, 2 = Auto

Example request

{
  "workbenchResourceTypeId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
  "warehouseId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}

Response

Successfully created a workbench resource