Click or drag to resize

IEditSessionAddOrderExternalData Method

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

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

Parameters

key  String
External data key. Max length - 256 chars.
value  String
External data value. Max length - 32000 chars.
isPublic  Boolean
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  IOrderStub
Order to which external data will be added.
See Also