SLnet.WebExtApi

<back to all web services

CustomersRequest

The following routes are available for this service:
POST/api/glx/services/retailstudio/postcustomers

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/oneway/CustomersRequest HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/csv
Content-Length: length

Customer
"[{CustomerCode:String,CustomerName:String,CustomerAddress1:String,CustomerAddress2:String,CustomerAddress3:String,CustomerAddress4:String,CustomerPostCode:String,CustomerPhone1:String,CustomerPhone2:String,CustomerAFM:String,CustomerDOY:String,CustomerEmail:String,CustomerProfessionCode:String,CustomerType:0,RevisionNumber:0,CustomerComments:String,CustomerMobile:String,CustomerFax:String,CustomerCategoryCode:String,CustomerVATCategory:String,CustomerDiscount:{},UDFS1:String,UDFS2:String,UDFS3:String,UDFS4:String,UDFN1:0,UDFN2:0,UDFN3:0,UDFN4:0,UDFD1:0001-01-01,UDFD2:0001-01-01,UDFD3:0001-01-01,UDFD4:0001-01-01}]"