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

{
	ID: String,
	Code: String,
	Description: String,
	Name: String,
	Comments: String,
	MGUserID: String,
	TIN: String,
	CurrencyID: String,
	StringField1: String,
	StringField2: String,
	StringField3: String,
	StringField4: String,
	StringField5: String,
	StringField6: String,
	StringField7: String,
	FloatField1: 0,
	FloatField2: 0,
	FloatField3: 0,
	FloatField4: 0,
	FloatField5: 0,
	FloatField6: 0,
	FloatField7: 0,
	CustomerSites: 
	[
		{
			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
		}
	]
}