Required role: | Administrator |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
CompanyName | form | string | No | |
AccountType | form | string | No | |
BillAddress | form | string | No | |
BillAddress2 | form | string | No | |
BillCity | form | string | No | |
BillState | form | string | No | |
BillZipcode | form | string | No | |
BillCountry | form | string | No | |
Phone | form | string | No | |
ShipName | form | string | No | |
ShipAddress | form | string | No | |
ShipAddress2 | form | string | No | |
ShipCity | form | string | No | |
ShipState | form | string | No | |
ShipZipcode | form | string | No | |
ShipCountry | form | string | No | |
ShipPhone | form | string | No | |
form | string | No | ||
Website | form | string | No | |
Fax | form | string | No | |
Contact | form | string | No | |
CreditCardType | form | string | No | |
CreditCardNumber | form | string | No | |
CreditCardExpiration | form | string | No | |
CreditCardAVS | form | string | No | |
CreditCardName | form | string | No | |
CreditCardAddress | form | string | No | |
CreditCardAddress2 | form | string | No | |
CreditCardCity | form | string | No | |
CreditCardState | form | string | No | |
CreditCardZipcode | form | string | No | |
CreditCardCountry | form | string | No | |
ShipVia | form | string | No | |
Terms | form | string | No | |
SalesRep | form | string | No | |
Notes | form | string | No | |
KeyAccount | form | bool | No | |
CreditLimit | form | double | No | |
DBNum | form | string | No | |
Bank | form | string | No | |
BankAccountNum | form | string | No | |
BankAccountType | form | string | No | |
FederalTaxId | form | string | No | |
StateTaxId | form | string | No | |
Reference1 | form | string | No | |
Reference2 | form | string | No | |
Reference3 | form | string | No | |
Reference4 | form | string | No | |
Reference5 | form | string | No | |
FaxOrder | form | bool | No | |
EmailOrder | form | bool | No | |
Custom1STR | form | string | No | |
Custom2STR | form | string | No | |
Custom3STR | form | string | No | |
Custom4STR | form | string | No | |
Custom5STR | form | string | No | |
Custom6STR | form | string | No | |
Custom7STR | form | string | No | |
Custom8STR | form | string | No | |
Custom9STR | form | string | No | |
Custom10STR | form | string | No | |
Custom11STR | form | string | No | |
Custom12STR | form | string | No | |
Custom13STR | form | string | No | |
Custom14STR | form | string | No | |
Custom15STR | form | string | No | |
NewCustomer | form | bool | No | |
Modified | form | bool | No | |
Discount | form | double | No | |
LineLevel | form | bool | No | |
OrderLevel | form | bool | No | |
PricingLevel | form | string | No | |
Type | form | string | No | |
Created | form | DateTime | No | |
SalesRep2 | form | string | No | |
LastContact | form | DateTime | No | |
LastOrder | form | DateTime | No | |
ERPNotes | form | string | No | |
CurBalance | form | double | No | |
Past30Days | form | double | No | |
Past60Days | form | double | No | |
Past90Days | form | double | No | |
Past1Days | form | double | No | |
Source | form | string | No | |
TerritoryId | form | string | No | |
RegionId | form | string | No | |
OriginalCustomerId | form | string | No | |
Exported | form | bool | No | |
CurrencyCode | form | string | No | |
CYForecast | form | double | No | |
NYForecast | form | double | No | |
InfoReviewed | form | DateTime | No | |
_InfoReviewed | form | bool | No | |
PriceList | form | string | No | |
Ranking | form | string | No | |
Hash | form | string | No | |
SalesRep3 | form | string | No | |
SalesRep4 | form | string | No | |
SalesRep5 | form | string | No | |
Residential | form | bool | No | |
PORequired | form | bool | No | |
Custom16STR | form | string | No | |
Custom17STR | form | string | No | |
Custom18STR | form | string | No | |
Custom19STR | form | string | No | |
Custom20STR | form | string | No | |
Custom21STR | form | string | No | |
Custom22STR | form | string | No | |
Custom23STR | form | string | No | |
Custom24STR | form | string | No | |
Custom25STR | form | string | No | |
Custom26STR | form | string | No | |
Custom27STR | form | string | No | |
Custom28STR | form | string | No | |
Custom29STR | form | string | No | |
Custom30STR | form | string | No | |
CreditAvailable | form | double | No | |
TotalBalance | form | double | No | |
FutureBalance | form | double | No | |
BankAddress | form | string | No | |
BankCity | form | string | No | |
BankState | form | string | No | |
BankZipcode | form | string | No | |
BankPhone | form | string | No | |
BankFax | form | string | No | |
BankContact | form | string | No | |
Reference1Account | form | string | No | |
Reference1Phone | form | string | No | |
Reference1Fax | form | string | No | |
Reference1Contact | form | string | No | |
Reference2Account | form | string | No | |
Reference2Phone | form | string | No | |
Reference2Fax | form | string | No | |
Reference2Contact | form | string | No | |
Reference3Account | form | string | No | |
Reference3Phone | form | string | No | |
Reference3Fax | form | string | No | |
Reference3Contact | form | string | No | |
SalesRep1Sellable | form | bool | No | |
SalesRep2Sellable | form | bool | No | |
SalesRep3Sellable | form | bool | No | |
SalesRep4Sellable | form | bool | No | |
SalesRep5Sellable | form | bool | No | |
BillAddress3 | form | string | No | |
ShipAddress3 | form | string | No | |
CreatedBy | form | string | No | |
SetupCompleted | form | bool | No | |
SendSetupForm | form | bool | No | |
B2BUserId | form | string | No | |
CreditChecksExecuted | form | int | No | |
CreditHold | form | bool | No | |
Owner | form | string | No | |
LocationType | form | string | No | |
AnnualSales | form | string | No | |
NumOfEmployees | form | string | No | |
YearBusinessOpened | form | string | No | |
DaysHoursOfOperation | form | string | No | |
BestTimesToContact | form | string | No | |
BuyingMonths | form | string | No | |
SICCode | form | string | No | |
NAICSCode | form | string | No | |
CreditProfileId | form | string | No | |
BankBranchLocation | form | string | No | |
Reference1Address | form | string | No | |
Reference1City | form | string | No | |
Reference1State | form | string | No | |
Reference1Zip | form | string | No | |
Reference2Address | form | string | No | |
Reference2City | form | string | No | |
Reference2State | form | string | No | |
Reference2Zip | form | string | No | |
Reference3Address | form | string | No | |
Reference3City | form | string | No | |
Reference3State | form | string | No | |
Reference3Zip | form | string | No | |
DNU | form | bool | No | |
RestrictionGroup | form | string | No | |
DiscountPercent1 | form | double | No | |
DiscountPercent2 | form | double | No | |
DiscountPercent3 | form | double | No | |
DiscountPercent4 | form | double | No | |
DiscountPercent5 | form | double | No | |
KeyAccountGroup | form | string | No | |
Custom31STR | form | string | No | |
Custom32STR | form | string | No | |
Custom33STR | form | string | No | |
Custom34STR | form | string | No | |
Custom35STR | form | string | No | |
Custom36STR | form | string | No | |
Custom37STR | form | string | No | |
Custom38STR | form | string | No | |
Custom39STR | form | string | No | |
Custom40STR | form | string | No | |
Custom41STR | form | string | No | |
Custom42STR | form | string | No | |
Custom43STR | form | string | No | |
Custom44STR | form | string | No | |
Custom45STR | form | string | No | |
DefaultWarehouseId | form | string | No | |
Status | form | string | No | |
ContainerPriceList | form | string | No | |
CreditSheetNotes | form | string | No | |
DiscountPoints | form | double | No | |
CustomerTags | form | string | No | |
StateTaxExpiration | form | DateTime | No | |
BlockWebAccess | form | bool | No | |
BackOrders | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: www.bernhardthospitality.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: UpdateCustomerRDB
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateCustomerRDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.RestDb">
<AccountType>String</AccountType>
<AnnualSales>String</AnnualSales>
<B2BUserId>String</B2BUserId>
<BackOrders>0</BackOrders>
<Bank>String</Bank>
<BankAccountNum>String</BankAccountNum>
<BankAccountType>String</BankAccountType>
<BankAddress>String</BankAddress>
<BankBranchLocation>String</BankBranchLocation>
<BankCity>String</BankCity>
<BankContact>String</BankContact>
<BankFax>String</BankFax>
<BankPhone>String</BankPhone>
<BankState>String</BankState>
<BankZipcode>String</BankZipcode>
<BestTimesToContact>String</BestTimesToContact>
<BillAddress>String</BillAddress>
<BillAddress2>String</BillAddress2>
<BillAddress3>String</BillAddress3>
<BillCity>String</BillCity>
<BillCountry>String</BillCountry>
<BillState>String</BillState>
<BillZipcode>String</BillZipcode>
<BlockWebAccess>false</BlockWebAccess>
<BuyingMonths>String</BuyingMonths>
<CYForecast>0</CYForecast>
<CompanyName>String</CompanyName>
<Contact>String</Contact>
<ContainerPriceList>String</ContainerPriceList>
<Created>0001-01-01T00:00:00</Created>
<CreatedBy>String</CreatedBy>
<CreditAvailable>0</CreditAvailable>
<CreditCardAVS>String</CreditCardAVS>
<CreditCardAddress>String</CreditCardAddress>
<CreditCardAddress2>String</CreditCardAddress2>
<CreditCardCity>String</CreditCardCity>
<CreditCardCountry>String</CreditCardCountry>
<CreditCardExpiration>String</CreditCardExpiration>
<CreditCardName>String</CreditCardName>
<CreditCardNumber>String</CreditCardNumber>
<CreditCardState>String</CreditCardState>
<CreditCardType>String</CreditCardType>
<CreditCardZipcode>String</CreditCardZipcode>
<CreditChecksExecuted>0</CreditChecksExecuted>
<CreditHold>false</CreditHold>
<CreditLimit>0</CreditLimit>
<CreditProfileId>String</CreditProfileId>
<CreditSheetNotes>String</CreditSheetNotes>
<CurBalance>0</CurBalance>
<CurrencyCode>String</CurrencyCode>
<Custom10STR>String</Custom10STR>
<Custom11STR>String</Custom11STR>
<Custom12STR>String</Custom12STR>
<Custom13STR>String</Custom13STR>
<Custom14STR>String</Custom14STR>
<Custom15STR>String</Custom15STR>
<Custom16STR>String</Custom16STR>
<Custom17STR>String</Custom17STR>
<Custom18STR>String</Custom18STR>
<Custom19STR>String</Custom19STR>
<Custom1STR>String</Custom1STR>
<Custom20STR>String</Custom20STR>
<Custom21STR>String</Custom21STR>
<Custom22STR>String</Custom22STR>
<Custom23STR>String</Custom23STR>
<Custom24STR>String</Custom24STR>
<Custom25STR>String</Custom25STR>
<Custom26STR>String</Custom26STR>
<Custom27STR>String</Custom27STR>
<Custom28STR>String</Custom28STR>
<Custom29STR>String</Custom29STR>
<Custom2STR>String</Custom2STR>
<Custom30STR>String</Custom30STR>
<Custom31STR>String</Custom31STR>
<Custom32STR>String</Custom32STR>
<Custom33STR>String</Custom33STR>
<Custom34STR>String</Custom34STR>
<Custom35STR>String</Custom35STR>
<Custom36STR>String</Custom36STR>
<Custom37STR>String</Custom37STR>
<Custom38STR>String</Custom38STR>
<Custom39STR>String</Custom39STR>
<Custom3STR>String</Custom3STR>
<Custom40STR>String</Custom40STR>
<Custom41STR>String</Custom41STR>
<Custom42STR>String</Custom42STR>
<Custom43STR>String</Custom43STR>
<Custom44STR>String</Custom44STR>
<Custom45STR>String</Custom45STR>
<Custom4STR>String</Custom4STR>
<Custom5STR>String</Custom5STR>
<Custom6STR>String</Custom6STR>
<Custom7STR>String</Custom7STR>
<Custom8STR>String</Custom8STR>
<Custom9STR>String</Custom9STR>
<CustomerTags>String</CustomerTags>
<DBNum>String</DBNum>
<DNU>false</DNU>
<DaysHoursOfOperation>String</DaysHoursOfOperation>
<DefaultWarehouseId>String</DefaultWarehouseId>
<Discount>0</Discount>
<DiscountPercent1>0</DiscountPercent1>
<DiscountPercent2>0</DiscountPercent2>
<DiscountPercent3>0</DiscountPercent3>
<DiscountPercent4>0</DiscountPercent4>
<DiscountPercent5>0</DiscountPercent5>
<DiscountPoints>0</DiscountPoints>
<ERPNotes>String</ERPNotes>
<Email>String</Email>
<EmailOrder>false</EmailOrder>
<Exported>false</Exported>
<Fax>String</Fax>
<FaxOrder>false</FaxOrder>
<FederalTaxId>String</FederalTaxId>
<FutureBalance>0</FutureBalance>
<Hash>String</Hash>
<Id>String</Id>
<InfoReviewed>0001-01-01T00:00:00</InfoReviewed>
<KeyAccount>false</KeyAccount>
<KeyAccountGroup>String</KeyAccountGroup>
<LastContact>0001-01-01T00:00:00</LastContact>
<LastOrder>0001-01-01T00:00:00</LastOrder>
<LineLevel>false</LineLevel>
<LocationType>String</LocationType>
<Modified>false</Modified>
<NAICSCode>String</NAICSCode>
<NYForecast>0</NYForecast>
<NewCustomer>false</NewCustomer>
<Notes>String</Notes>
<NumOfEmployees>String</NumOfEmployees>
<OrderLevel>false</OrderLevel>
<OriginalCustomerId>String</OriginalCustomerId>
<Owner>String</Owner>
<PORequired>false</PORequired>
<Past1Days>0</Past1Days>
<Past30Days>0</Past30Days>
<Past60Days>0</Past60Days>
<Past90Days>0</Past90Days>
<Phone>String</Phone>
<PriceList>String</PriceList>
<PricingLevel>String</PricingLevel>
<Ranking>String</Ranking>
<Reference1>String</Reference1>
<Reference1Account>String</Reference1Account>
<Reference1Address>String</Reference1Address>
<Reference1City>String</Reference1City>
<Reference1Contact>String</Reference1Contact>
<Reference1Fax>String</Reference1Fax>
<Reference1Phone>String</Reference1Phone>
<Reference1State>String</Reference1State>
<Reference1Zip>String</Reference1Zip>
<Reference2>String</Reference2>
<Reference2Account>String</Reference2Account>
<Reference2Address>String</Reference2Address>
<Reference2City>String</Reference2City>
<Reference2Contact>String</Reference2Contact>
<Reference2Fax>String</Reference2Fax>
<Reference2Phone>String</Reference2Phone>
<Reference2State>String</Reference2State>
<Reference2Zip>String</Reference2Zip>
<Reference3>String</Reference3>
<Reference3Account>String</Reference3Account>
<Reference3Address>String</Reference3Address>
<Reference3City>String</Reference3City>
<Reference3Contact>String</Reference3Contact>
<Reference3Fax>String</Reference3Fax>
<Reference3Phone>String</Reference3Phone>
<Reference3State>String</Reference3State>
<Reference3Zip>String</Reference3Zip>
<Reference4>String</Reference4>
<Reference5>String</Reference5>
<RegionId>String</RegionId>
<Residential>false</Residential>
<RestrictionGroup>String</RestrictionGroup>
<SICCode>String</SICCode>
<SalesRep>String</SalesRep>
<SalesRep1Sellable>false</SalesRep1Sellable>
<SalesRep2>String</SalesRep2>
<SalesRep2Sellable>false</SalesRep2Sellable>
<SalesRep3>String</SalesRep3>
<SalesRep3Sellable>false</SalesRep3Sellable>
<SalesRep4>String</SalesRep4>
<SalesRep4Sellable>false</SalesRep4Sellable>
<SalesRep5>String</SalesRep5>
<SalesRep5Sellable>false</SalesRep5Sellable>
<SendSetupForm>false</SendSetupForm>
<SetupCompleted>false</SetupCompleted>
<ShipAddress>String</ShipAddress>
<ShipAddress2>String</ShipAddress2>
<ShipAddress3>String</ShipAddress3>
<ShipCity>String</ShipCity>
<ShipCountry>String</ShipCountry>
<ShipName>String</ShipName>
<ShipPhone>String</ShipPhone>
<ShipState>String</ShipState>
<ShipVia>String</ShipVia>
<ShipZipcode>String</ShipZipcode>
<Source>String</Source>
<StateTaxExpiration>0001-01-01T00:00:00</StateTaxExpiration>
<StateTaxId>String</StateTaxId>
<Status>String</Status>
<Terms>String</Terms>
<TerritoryId>String</TerritoryId>
<TotalBalance>0</TotalBalance>
<Type>String</Type>
<Website>String</Website>
<YearBusinessOpened>String</YearBusinessOpened>
<_InfoReviewed>false</_InfoReviewed>
</UpdateCustomerRDB>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</int> </soap:Body> </soap:Envelope>