IEditSessionCreateClient Method (Guid, String, ListPhoneDto, DateTime)iikoFront Api V3 Documentation
Creates new client. After invoke of this action you need set necessary properties such as Name.

Namespace: Resto.Front.Api.V3.Editors
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax

C#
INewClientStub CreateClient(
	Guid id,
	string name,
	List<PhoneDto> phones,
	DateTime dateCreated
)

Parameters

id
Type: SystemGuid
Id of creating client
name
Type: SystemString
Name of client
phones
Type: System.Collections.GenericListPhoneDto
List of client phones. This list should contain at least one phone. Cannot contain null values and more than one main phone (i.e. with property IsMain = true)
dateCreated
Type: SystemDateTime
Date when client was created.

Return Value

Type: INewClientStub
See Also

Reference