Creates new client without date created. Date created should be not null for relevant OLAP reports (call CreateClient(Guid, String, ListPhoneDto, DateTime)). 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 )
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)
Return Value
Type: INewClientStubSee Also