Customer Structure
It contains all the necessary fields to send a new customer to Digital Customers Base.
| Name | Description | |
|---|---|---|
		     
	
	
	    
	   | 
	  branch | The entity's branch. If there is no branch, then branch = 0. | 
		     
	
	
	    
	   | 
	  clientServiceType | 
	
	Mandatory Field  It must match with useCase Get the possible values using the myDATATools.getDclClientServiceType method.  | 
	
		     
	
	
	    
	   | 
	  comments | 
	
	Free Text - max 150 chars  AADE will trim comments to 150 characters if their length exceeds this limit.  | 
	
		     
	
	
	    
	   | 
	  continuousLeaseService | Determines if the leasing is continuous. | 
		     
	
	
	    
	   | 
	  continuousService | Determines if the service is continuous. | 
		     
	
	
	    
	   | 
	  correlatedDclId | Fill this field withe ID of the correlated customer. | 
		     
	
	
	    
	   | 
	  creationDateTime | 
	
	The creation Date Time.  Mandatory field only when transmissionFailure = 1  | 
	
		     
	
	
	    
	   | 
	  customerCountry | 
	
	Mandatory Field only when recurringService is True; otherwise, it is ignored.  Get all available Countries using getCountries() Example: GR  | 
	
		     
	
	
	    
	   | 
	  customerVatNumber | 
	
	Mandatory Field only when recurringService is True; otherwise, it is ignored.  Example: 123456789  | 
	
		     
	
	
	    
	   | 
	  fromAgreedPeriodDate | 
	
	The "From" agreed Date  Mandatory field only when continuousService or continuousLeaseService is True  | 
	
		     
	
	
	    
	   | 
	  mixedService | Determines if the service is mixed. | 
		     
	
	
	    
	   | 
	  periodicity | Determines the periodcity of the service | 
		     
	
	
	    
	   | 
	  periodicityOther | Other periodcity (only for cases where continuousLeaseService is True. | 
		     
	
	
	    
	   | 
	  recurringService | Determines if the service is recurring. | 
		     
	
	
	    
	   | 
	  toAgreedPeriodDate | 
	
	The "To" agreed Date  Mandatory field only when continuousService or continuousLeaseService is True  | 
	
		     
	
	
	    
	   | 
	  transmissionFailure | 
	
	Determines if the customer created earlier than today.  If the customer created earlier than today, then transmissionFailure = 1  | 
	
		     
	
	
	    
	   | 
	  useCase | 
	
	Mandatory Field  Must have only one of them: GarageType ParkingCarWashType GarageType  |