EMUN1 ASP.NET

<back to all web services

ApplyRetailerTags

Requires Authentication
The following routes are available for this service:
All Verbs/service/ApplyRetailerTags
ApplyRetailerTags Parameters:
NameParameterData TypeRequiredDescription
TagsqueryDictionary<string, HashSet<String>>No
RetailerIdsquerystring[]No
clearAllqueryboolNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
RetailerBase Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
OriginalIdformstringNo
CompanyNameformstringNo
AddressformstringNo
Address2formstringNo
Address3formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
BillingLocationformAddressInfoNo
PhoneformstringNo
FaxformstringNo
ContactformstringNo
PaymentTermsformstringNo
ShippingMethodformstringNo
NotesformstringNo
AccountTypeformstringNo
SourceformstringNo
CustomerTypeformstringNo
StatusformstringNo
IsKeyAccountformboolNo
DoNotUseformboolNo
IsNewAccountformboolNo
IsModifiedformboolNo
IsCreditHoldformboolNo
IsSendSetupFormformboolNo
ResidentialformboolNo
EmailformstringNo
WebsiteformstringNo
FederalTaxIDformstringNo
StateTaxIDformstringNo
StateTaxExpirationformDateTime?No
DefaultShipOnformDateTime?No
ApiKeyformstringNo
PriceListformstringNo
ContainerPriceListformstringNo
DiscountformdoubleNo
MetaformDictionary<string, string>No
CreatedOnformDateTimeNo
LastOrderedOnformDateTimeNo
LastContactedOnformDateTimeNo
LastLoginAttemptformDateTimeNo
SalesRepsformHashSet<string>No
StoreTypesformHashSet<string>No
PaymentTermformPaymentTermNo
SalesRepformSalesRepNo
ShipMethodformShippingMethodNo
OpenOrdersformintNo
OpenOrdersTotalformdoubleNo
TotalSalesformdoubleNo
TotalSalesYTDformdoubleNo
TotalSalesLYformdoubleNo
TotalOrdersformintNo
LastOrderTotalformdecimalNo
LastOrderIdformstringNo
TerritoryIdformstringNo
RegionIdformstringNo
RegionformRegionNo
TerritoryformTerritoryNo
KeywordsformstringNo
TagsformDictionary<string, HashSet<String>>No
PORequiredformboolNo
BalanceformdoubleNo
TotalBalanceformdoubleNo
FutureBalanceformdoubleNo
Past1DaysformdoubleNo
Past30DaysformdoubleNo
Past60DaysformdoubleNo
Past90DaysformdoubleNo
ERPCustIdformstringNo
RestrictionGroupformstringNo
CreditLimitformdoubleNo
CreditAvailableformdoubleNo
LocationTypeformstringNo
Reference1formstringNo
TotalShipTosformintNo
ThisYearInvoicedformdoubleNo
LastYearInvoicedformdoubleNo
TotalOpenOrdersformdoubleNo
ValidateAddressformboolNo
HashformstringNo
SetupCompletedformboolNo
InfoReviewedformboolNo
RankingformstringNo
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
AddressInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CompanyNameformstringNo
PersonNameformPersonNameInfoNo
AddressformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
StoreSizeformstringNo
Custom2formstringNo
AccountTypeformstringNo
MetaformDictionary<string, string>No
PersonNameInfo Parameters:
NameParameterData TypeRequiredDescription
SalutationformstringNo
FirstformstringNo
MiddleformstringNo
LastformstringNo
SuffixformstringNo
FullformstringNo
PaymentTerm Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
IsCreditformboolNo
IsStandardformboolNo
IsB2BformboolNo
SalesRep Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
FullNameformstringNo
UserNameformstringNo
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
NotesformstringNo
RepGroupIdformstringNo
TerritoryIdformstringNo
RegionIdformstringNo
DivisionIdformstringNo
BioformstringNo
StartedOnformDateTime?No
TerminatedOnformDateTime?No
BornOnformDateTime?No
ActiveformboolNo
TotalSalesformdoubleNo
RegionformRegionNo
DivisionformDivisionNo
TerritoryformTerritoryNo
LegacyUserformLegacyUserNo
UserformEmunUserAuthNo
CustomerServiceEmailAddressformstringNo
Region Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
HouseAccountformstringNo
Division Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
RepGroupformstringNo
KeyAccountGroupformstringNo
IsKeyAccountformboolNo
SalesRepIdformstringNo
SalesRepformSalesRepNo
Territory Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
RegionIdformstringNo
RegionformRegionNo
ZipcodeCountformintNo
CustomerCountformintNo
LegacyUser Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UserNameformstringNo
FullNameformstringNo
ShortNameformstringNo
EmailformstringNo
TypeformstringNo
PriceListformstringNo
EmunUserAuth Parameters:
NameParameterData TypeRequiredDescription
ContactIdformstringNo
RetailerIdformstringNo
SalesRepIdformstringNo
AspMembershipIdformGuidNo
MetaformDictionary<string, string>No
TagsformDictionary<string, HashSet<String>>No
ShardedUserAuth Parameters:
NameParameterData TypeRequiredDescription
ShardformstringNo
EmailformstringNo
UserNameformstringNo
MetaformDictionary<string, string>No
UserAuth Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserNameformstringNo
EmailformstringNo
PrimaryEmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
DisplayNameformstringNo
CompanyformstringNo
BirthDateformDateTime?No
BirthDateRawformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
CultureformstringNo
FullNameformstringNo
GenderformstringNo
LanguageformstringNo
MailAddressformstringNo
NicknameformstringNo
PostalCodeformstringNo
TimeZoneformstringNo
SaltformstringNo
PasswordHashformstringNo
DigestHa1HashformstringNo
RolesformList<string>No
PermissionsformList<string>No
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
InvalidLoginAttemptsformintNo
LastLoginAttemptformDateTime?No
LockedDateformDateTime?No
RecoveryTokenformstringNo
RefIdformint?No
RefIdStrformstringNo
MetaformDictionary<string, string>No
ShippingMethod Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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

POST /service/ApplyRetailerTags HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length

{"tags":{"String":["String"]},"retailerIds":["String"],"clearAll":false,"skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/xlsx
Content-Length: length

{"offset":0,"total":0,"results":[{"id":"String","originalId":"String","companyName":"String","address":"String","address2":"String","address3":"String","city":"String","state":"String","zip":"String","country":"String","billingLocation":{"companyName":"String","personName":{"full":""},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","meta":{}},"phone":"String","fax":"String","contact":"String","paymentTerms":"String","shippingMethod":"String","notes":"String","accountType":"String","source":"String","customerType":"String","status":"String","isKeyAccount":false,"doNotUse":false,"isNewAccount":false,"isModified":false,"isCreditHold":false,"isSendSetupForm":false,"residential":false,"email":"String","website":"String","federalTaxID":"String","stateTaxID":"String","stateTaxExpiration":"0001-01-01T00:00:00.0000000Z","defaultShipOn":"0001-01-01T00:00:00.0000000Z","apiKey":"String","priceList":"String","containerPriceList":"String","discount":0,"meta":{"String":"String"},"createdOn":"2024-11-10T03:37:24.8003782+00:00","lastOrderedOn":"0001-01-01T00:00:00.0000000Z","lastContactedOn":"0001-01-01T00:00:00.0000000Z","lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","salesReps":["String"],"storeTypes":["String"],"paymentTerm":{"id":"String","name":"String","isCredit":false,"isStandard":false},"salesRep":{"id":"String","name":"String","fullName":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","bio":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"division":{"id":"String","name":"String","repGroup":"String","keyAccountGroup":"String","isKeyAccount":false,"salesRepId":"String","salesRep":{"id":"String","name":"String","fullName":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","bio":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"division":{"id":"String","name":"String","repGroup":"String","keyAccountGroup":"String","isKeyAccount":false,"salesRepId":"String","salesRep":{"id":"String","name":"String","fullName":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","bio":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"division":{"id":"String","name":"String","repGroup":"String","keyAccountGroup":"String","isKeyAccount":false,"salesRepId":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"},"user":{"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"},"customerServiceEmailAddress":"String"}},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"},"user":{"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"},"customerServiceEmailAddress":"String"}},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"},"user":{"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"},"customerServiceEmailAddress":"String"},"shipMethod":{"id":"String","name":"String"},"openOrders":0,"openOrdersTotal":0,"totalSales":0,"totalSalesYTD":0,"totalSalesLY":0,"totalOrders":0,"lastOrderTotal":0,"lastOrderId":"String","territoryId":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"keywords":"String","tags":{"String":["String"]},"poRequired":false,"balance":0,"totalBalance":0,"futureBalance":0,"past1Days":0,"past30Days":0,"past60Days":0,"past90Days":0,"erpCustId":"String","restrictionGroup":"String","creditLimit":0,"creditAvailable":0,"locationType":"String","reference1":"String","totalShipTos":0,"thisYearInvoiced":0,"lastYearInvoiced":0,"totalOpenOrders":0,"validateAddress":false,"hash":"String","setupCompleted":false,"infoReviewed":false,"ranking":"String"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}