Click or drag to resize

IOperationServiceMeasureDocumentItemWeight Method

Reads the configured terminal scale without UI and returns gross weight, tare, net weight and converted product quantity.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
DocumentItemWeight MeasureDocumentItemWeight(
	Guid operationId,
	Guid productId,
	ICredentials credentials,
	Guid? containerId = null
)

Parameters

operationId  Guid
Identifier of a configured operation returned by GetDocumentCreationContext.
productId  Guid
Identifier of a product allowed by GetDocumentProducts for the selected operation.
credentials  ICredentials
The credentials returned by AuthenticateByPin(String) method.
containerId  NullableGuid  (Optional)
Identifier of a container belonging to the product; null selects the implicit base-unit container.

Return Value

DocumentItemWeight
Exceptions
ExceptionCondition
PermissionDeniedExceptionThe caller has insufficient document permissions.
ConstraintViolationExceptionDocument data or state violates Front rules.
DeviceExceptionThe required equipment is absent or failed.
See Also