Click or drag to resize

IEditSessionAddOrderExternalData Method

Adds external data to the order. Use DeleteOrderExternalData(String, IOrderStub) to delete the data when it's no longer needed.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
void AddOrderExternalData(
	string key,
	string value,
	bool isPublic,
	IOrderStub order
)

Parameters

key
Type: SystemString
External data key. Max length - 256 chars.
value
Type: SystemString
External data value. Max length - 32000 chars.
isPublic
Type: SystemBoolean
Whether the external data item should be sent to iikoRMS server then can be available in OLAP report and via iikoRMS API. 'false' means that the external data item will be stored in iikoFront during order lifetime and can be obtained via iikoFront API.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to which external data will be added.
See Also