calling the API to create customer
1) customerService
URL : /ws/api/customerService/createCustomer
Type : x-www-form-urlencoded
userName : Required
...
password : Required
...
customerJson : Required with at least one field from customer column
Sample json :
{
"name":"",
"custAccountCode": "",
"description": "",
"accType": "",
"identityNumber": "",
"mainAddress1": "",
"mainAddress2": "",
"mainAddress3": "",
"mainCity": "",
"mainPostcode": "",
"mainState": "",
"mainCountry": "",
"shipAddress1": "",
"shipAddress2": "",
"shipAddress3": "",
"shipCity": "",
"shipPostcode": "",
"shipState": "",
"shipCountry": "",
"billAddress1": "",
"billAddress2": "",
"billAddress3": "",
"billCity": "",
"billPostcode": "",
"billState": "",
"billCountry": "",
"telephone1": "",
"telephone2": "",
"homePhone": "",
"mobilePhone": "",
"faxNo": "",
"homepage": "",
"email1": "",
"email2": "",
"email3": "",
"creditLimit": "",
"creditTerms": "",
"property1": "",
"property2": "",
"property3": "",
"property4": "",
"property5": "",
"note": "",
"salesman": "",
"state": "",
"dealerCode": "",
"areaCode": "",
"deptCode": "",
"supplierId": "",
"branch": "",
"pcCenter": "",
"creditOption": "",
"alertMsg": "",
"main2Address1": "",
"main2Address2": "",
"main2Address3": "",
"main2City": "",
"main2Postcode": "",
"main2State": "",
"main2Country": "",
"main2Telephone1": "",
"main2Telephone2": "",
"main2HomePhone": "",
"main2MobilePhone": "",
"main2FaxNo": "",
"main2Homepage": "",
"main2Email": "",
"mainAddressDesc": "",
"main2AddressDesc": "",
"bizEntityType": "",
"companyRegistrationNumber": "",
"ownerName": "",
"bankIdentifierCode": "",
"taxIdNumber": "",
"bankAccNo": "",
"consignment_credit_limit": "",
"creditTermsAdjustment1": "",
"creditTermsAdjustment2": "",
"creditTermsAdjustment3": "",
"creditTermsAdjustment4": "",
"taxOption": "",
"custSource": "",
"taxCode": "",
"taxType": "",
"taxRate": ""
}
...