SLnet.WebExtApi

<back to all web services

PostCustomerRequest

Sync Service

The following routes are available for this service:
POST/services/sync/actions/postcustomer

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/PostCustomerRequest HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/csv
Content-Length: length

ID,Code,Description,Name,Comments,MGUserID,TIN,CurrencyID,StringField1,StringField2,StringField3,StringField4,StringField5,StringField6,StringField7,FloatField1,FloatField2,FloatField3,FloatField4,FloatField5,FloatField6,FloatField7,CustomerSites
String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,0,0,0,0,0,0,0,"[{ID:String,Code:String,Description:String,IsBilling:0,IsPrimary:0,CountryID:String,CountryDescr:String,PrefectureID:String,PrefectureDescr:String,CityID:String,CityDescr:String,PostalCode:String,Street:String,StreetNumber:String,Email:String,Phone1:String}]"