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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/CustomerSites HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/json
Content-Length: length

{"RevisionNumber":0,"WebScenID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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