EMUN1 ASP.NET

<back to all web services

UpdateRetailerVendor

The following routes are available for this service:
All Verbs/service/UpdateRetailerVendor
RetailerVendor Parameters:
NameParameterData TypeRequiredDescription
RetailerIdformstringNo
VendorIdformstringNo
VendorformVendorListNo
VendorCustIdformstringNo
RepGroupIdformstringNo
RepGroupformRepGroupNo
PaymentTermsformstringNo
PaymentTermformPaymentTermNo
SalesRepIdformstringNo
SalesRepformSalesRepListNo
AllowBelowMinimumformboolNo
DiscountPointsformdoubleNo
VendorList Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
LabelformstringNo
VendorNameformstringNo
AbbreviationformstringNo
ActiveformboolNo
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
RepGroup Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
PhoneformstringNo
FaxformstringNo
WebsiteformstringNo
EmailformstringNo
ShowOnDashboardformboolNo
MetaformDictionary<string, string>No
TagsformDictionary<string, HashSet<String>>No
PaymentTerm Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
IsCreditformboolNo
IsStandardformboolNo
IsB2BformboolNo
SalesRepList Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UserNameformstringNo
NameformstringNo
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
NotesformstringNo
RepGroupIdformstringNo
TerritoryIdformstringNo
RegionIdformstringNo
DivisionIdformstringNo
StartedOnformDateTime?No
TerminatedOnformDateTime?No
BornOnformDateTime?No
ActiveformboolNo

To override the Content-type in your clients, use the 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 /service/UpdateRetailerVendor HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	retailerId: String,
	vendorId: String,
	vendor: 
	{
		id: String,
		label: String,
		vendorName: String,
		abbreviation: String,
		active: False
	},
	vendorCustId: String,
	repGroupId: String,
	repGroup: 
	{
		id: String,
		name: String,
		address: String,
		city: String,
		state: String,
		zip: String,
		phone: String,
		fax: String,
		website: String,
		email: String,
		showOnDashboard: False,
		meta: 
		{
			String: String
		},
		tags: 
		{
			String: 
			[
				String
			]
		}
	},
	paymentTerms: String,
	paymentTerm: 
	{
		id: String,
		name: String,
		isCredit: False,
		isStandard: False
	},
	salesRepId: String,
	salesRep: 
	{
		id: String,
		userName: String,
		name: String,
		address: String,
		city: String,
		state: String,
		zip: String,
		phone: String,
		fax: String,
		email: String,
		notes: String,
		repGroupId: String,
		territoryId: String,
		regionId: String,
		divisionId: String,
		startedOn: 0001-01-01,
		terminatedOn: 0001-01-01,
		bornOn: 0001-01-01,
		active: False
	},
	allowBelowMinimum: False,
	discountPoints: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	retailerId: String,
	vendorId: String,
	vendor: 
	{
		id: String,
		label: String,
		vendorName: String,
		abbreviation: String,
		active: False
	},
	vendorCustId: String,
	repGroupId: String,
	repGroup: 
	{
		id: String,
		name: String,
		address: String,
		city: String,
		state: String,
		zip: String,
		phone: String,
		fax: String,
		website: String,
		email: String,
		showOnDashboard: False,
		meta: 
		{
			String: String
		},
		tags: 
		{
			String: 
			[
				String
			]
		}
	},
	paymentTerms: String,
	paymentTerm: 
	{
		id: String,
		name: String,
		isCredit: False,
		isStandard: False
	},
	salesRepId: String,
	salesRep: 
	{
		id: String,
		userName: String,
		name: String,
		address: String,
		city: String,
		state: String,
		zip: String,
		phone: String,
		fax: String,
		email: String,
		notes: String,
		repGroupId: String,
		territoryId: String,
		regionId: String,
		divisionId: String,
		startedOn: 0001-01-01,
		terminatedOn: 0001-01-01,
		bornOn: 0001-01-01,
		active: False
	},
	allowBelowMinimum: False,
	discountPoints: 0
}