Developer

Customer XML File Preparation

Uploading customer files in bulk allows you to upload or replace multiple customers.

All records in a XML file must be for the same object. When processing XML files:
  • To create a record, verify that all required fields exist.
  • Files must be in UTF-8 format.
Bulk customer registration and deactivation files contain assembled service requests; one complete request per line. The following example creates a consumer; it has been reformatted for readability:
<cus:CreateFullCustomerRequest <cus:CreateFullCustomerRequest xmlns:cus=
"http://mobiliser.sybase365.com/money/contract/v5_0/customer" origin="SOAPUI" traceNo="1234">

<customer>
  <orgUnitId>0000</orgUnitId>
  <blackListReason>0</blackListReason>
  <active>true</active>
  <test>false</test>
  <displayName>Test Full Customer</displayName>
  <riskCategoryId>0</riskCategoryId>
  <customerTypeId>2</customerTypeId>
  <cancellationReasonId>0</cancellationReasonId>
  <txnReceiptModeId>0</txnReceiptModeId>
</customer>

<identifications>
  <type>0</type>
  <identification>+49987654329</identification>
</identifications>

<addresses>
  <addressType>0</addressType>
  <addressStatus>0</addressStatus>
  <firstName>Test</firstName>
  <lastName>Customer 0815</lastName>
  <street1>Test Street</street1>
  <houseNumber>1</houseNumber>
  <city>Test City</city>
  <zip>12345</zip>
  <country>DE</country>
</addresses>
</cus:CreateFullCustomerRequest>
The following example deactivates two customers :
<cus:DeleteCustomerRequest xmlns:cus="http://mobiliser.sybase365.com/money/contract/v5_0/customer" origin="SOAPUI"
traceNo="1234">
  <customerId>500005459</customerId>
</cus:DeleteCustomerRequest>   

<cus:DeleteCustomerRequest xmlns:cus="http://mobiliser.sybase365.com/money/contract/v5_0/customer" origin="SOAPUI"
traceNo="5678">
  <customerId>500005458</customerId>
</cus:DeleteCustomerRequest>