SLnet.WebExtApi

<back to all web services

CustomerSites

Sync Service

The following routes are available for this service:
GET/services/sync/customersitesGets customer sites from customers that are activated for all companies or the scenario's company and that their revision number is greater than the input revision parameter.Gets only active customer sites.

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

RevisionNumber,WebScenID
0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

CustomerID,VATStatusEnum,PricelistID,TasksParticipationEnum,Phone1,Phone2,Fax,DiscountPercent,AgencyID,Comment,Email,WebSite,TraderSiteID,IsPrimary,Street,StreetNumber,PostalCode,CityID,PrefectureID,CountryID,CompanyID,ID,Code,Description,RevisionNumber
String,0,String,0,String,String,String,0,String,String,String,String,String,0,String,String,String,String,String,String,String,String,String,String,0