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

HTTP + JSV

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

POST /jsv/reply/CustomerSites HTTP/1.1 
Host: drt-racing.gr 
Content-Type: text/jsv
Content-Length: length

{
	RevisionNumber: 0,
	WebScenID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
	}
]