Create

This method creates or updates customer data on BPM.

The customer data updates or creates with a unique key.

The system searches for a unique key in customer datas.

The customer data updates when finds a record. Otherwise creates new one.

The customer datas must have a unique key. You can select a unique key from the customer data fields. The default unique key is customer’s email address, when you don’t select a unique customer data field.

Name Value
Service Type RESTFUL / POST
Request Data Type XML
Response Data Type XML
Content Type UTF-8
Authentication Types Basic Authentication, Custom Header Authenticaton
Sample Request Endpoint http://company.bpm.next4biz.com/RES/RESTfulCustomerService.svc/Create/businessChannelUniqueCode/{businessChannelUniqueCode}/isAutoPassword/{isAutoPassword}/language/{Language}
BusinessChannelUniqueCode Customer data business channel code. (you can check the code on user interfaces)
isAutoPassword The System creates password automatically for customer login name
  • XML
ENDPOINT DEFINITION
POST
REQUEST BODY
                                    
                                        Pattern:

<Fields>
	<{field_code}>{field value}</{field_code}>
	<{field_code2}>{field value}</{field_code2}>
</Fields>

Sample:

<ROW>
	<CustomerName>Engin</CustomerName>
	<CustomerSurname>Atalay</CustomerSurname>
	<CustomerPhoneNumber>05000000000</CustomerPhoneNumber>
	<CustomerEmail>[email protected]</CustomerEmail>
	<rel_tuketiciSehirIlce>
	  <CascadingSubField1>İSTANBUL</CascadingSubField1>
	  <CascadingSubField2>SANCAKTEPE</CascadingSubField2>
	</rel_tuketiciSehirIlce>	
</ROW>