EMUN1 ASP.NET

<back to all web services

UpdateVendorTerm

VendorTerm Parameters:
NameParameterData TypeRequiredDescription
VendorIdformstringNo
VendorformVendorNo
TermIdformstringNo
TermformPaymentTermNo
IsDefaultformboolNo
VendorTermCodeformstringNo
Vendor Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
LabelformstringNo
VendorNameformstringNo
AbbreviationformstringNo
OrderMinimumformdecimalNo
ReOrderMinimumformdecimalNo
MinimumBalanceformdecimalNo
ActiveformboolNo
IsInvoiceOnlyformboolNo
AllowPriceOverrideformboolNo
DefaultShipDatePreviousformboolNo
EnforceMinimumsformboolNo
EnforcePurchaseIncrementformboolNo
AllowDiscountsformboolNo
EmailOrdersformboolNo
AllowBackordersformboolNo
UseVendorCustIdformboolNo
UseVendorShipIdformboolNo
UseVendorTermsformboolNo
ExportReviewOrdersformboolNo
EmailUrlToExportformboolNo
IncludeInBatchformboolNo
DecryptCCOnExportformboolNo
CustomerNumberformstringNo
ExportOrdersformboolNo
SplitByProductLineformboolNo
IsShowroomVendorformboolNo
AllowManualItemEntryformboolNo
RequireCreditSheetformboolNo
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
WebsiteformstringNo
NoteformstringNo
CommissionPercentformdecimalNo
OrderTagLineformstringNo
ProductTagsformList<VendorProductTag>No
SettingsformList<VendorSetting>No
LastLoginAttemptformDateTimeNo
LastOrderedOnformDateTimeNo
MetaformDictionary<string, string>No
TagsformDictionary<string, HashSet<String>>No
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
VendorProductTag Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TagformstringNo
VendorSetting Parameters:
NameParameterData TypeRequiredDescription
VendorIdformstringNo
KeyformstringNo
ValueformstringNo
PaymentTerm Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
IsCreditformboolNo
IsStandardformboolNo
IsB2BformboolNo
VendorTerm Parameters:
NameParameterData TypeRequiredDescription
VendorIdformstringNo
VendorformVendorNo
TermIdformstringNo
TermformPaymentTermNo
IsDefaultformboolNo
VendorTermCodeformstringNo

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

HTTP + 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: UpdateVendorTerm

<?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>

<UpdateVendorTerm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <IsDefault>false</IsDefault>
  <Term>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
    <IsB2B>false</IsB2B>
    <IsCredit>false</IsCredit>
    <IsStandard>false</IsStandard>
    <Name>String</Name>
  </Term>
  <TermId>String</TermId>
  <Vendor xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun.Vendors">
    <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
    <d2p1:Abbreviation>String</d2p1:Abbreviation>
    <d2p1:Active>false</d2p1:Active>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:AllowBackorders>false</d2p1:AllowBackorders>
    <d2p1:AllowDiscounts>false</d2p1:AllowDiscounts>
    <d2p1:AllowManualItemEntry>false</d2p1:AllowManualItemEntry>
    <d2p1:AllowPriceOverride>false</d2p1:AllowPriceOverride>
    <d2p1:City>String</d2p1:City>
    <d2p1:CommissionPercent>0</d2p1:CommissionPercent>
    <d2p1:CustomerNumber>String</d2p1:CustomerNumber>
    <d2p1:DecryptCCOnExport>false</d2p1:DecryptCCOnExport>
    <d2p1:DefaultShipDatePrevious>false</d2p1:DefaultShipDatePrevious>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:EmailOrders>false</d2p1:EmailOrders>
    <d2p1:EmailUrlToExport>false</d2p1:EmailUrlToExport>
    <d2p1:EnforceMinimums>false</d2p1:EnforceMinimums>
    <d2p1:EnforcePurchaseIncrement>false</d2p1:EnforcePurchaseIncrement>
    <d2p1:ExportOrders>false</d2p1:ExportOrders>
    <d2p1:ExportReviewOrders>false</d2p1:ExportReviewOrders>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:IncludeInBatch>false</d2p1:IncludeInBatch>
    <d2p1:IsInvoiceOnly>false</d2p1:IsInvoiceOnly>
    <d2p1:IsShowroomVendor>false</d2p1:IsShowroomVendor>
    <d2p1:Label>String</d2p1:Label>
    <d2p1:LastLoginAttempt>0001-01-01T00:00:00</d2p1:LastLoginAttempt>
    <d2p1:LastOrderedOn>0001-01-01T00:00:00</d2p1:LastOrderedOn>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:MinimumBalance>0</d2p1:MinimumBalance>
    <d2p1:Note>String</d2p1:Note>
    <d2p1:OrderMinimum>0</d2p1:OrderMinimum>
    <d2p1:OrderTagLine>String</d2p1:OrderTagLine>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:ProductTags>
      <d2p1:VendorProductTag>
        <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
        <d2p1:Tag>String</d2p1:Tag>
      </d2p1:VendorProductTag>
    </d2p1:ProductTags>
    <d2p1:ReOrderMinimum>0</d2p1:ReOrderMinimum>
    <d2p1:RequireCreditSheet>false</d2p1:RequireCreditSheet>
    <d2p1:Settings>
      <d2p1:VendorSetting>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:Value>String</d2p1:Value>
        <d2p1:VendorId>String</d2p1:VendorId>
      </d2p1:VendorSetting>
    </d2p1:Settings>
    <d2p1:SplitByProductLine>false</d2p1:SplitByProductLine>
    <d2p1:State>String</d2p1:State>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>
          <d3p1:string>String</d3p1:string>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
    </d2p1:Tags>
    <d2p1:UseVendorCustId>false</d2p1:UseVendorCustId>
    <d2p1:UseVendorShipId>false</d2p1:UseVendorShipId>
    <d2p1:UseVendorTerms>false</d2p1:UseVendorTerms>
    <d2p1:VendorName>String</d2p1:VendorName>
    <d2p1:Website>String</d2p1:Website>
    <d2p1:Zip>String</d2p1:Zip>
  </Vendor>
  <VendorId>String</VendorId>
  <VendorTermCode>String</VendorTermCode>
</UpdateVendorTerm>

    </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>

<VendorTerm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <IsDefault>false</IsDefault>
  <Term>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
    <IsB2B>false</IsB2B>
    <IsCredit>false</IsCredit>
    <IsStandard>false</IsStandard>
    <Name>String</Name>
  </Term>
  <TermId>String</TermId>
  <Vendor xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun.Vendors">
    <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
    <d2p1:Abbreviation>String</d2p1:Abbreviation>
    <d2p1:Active>false</d2p1:Active>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:AllowBackorders>false</d2p1:AllowBackorders>
    <d2p1:AllowDiscounts>false</d2p1:AllowDiscounts>
    <d2p1:AllowManualItemEntry>false</d2p1:AllowManualItemEntry>
    <d2p1:AllowPriceOverride>false</d2p1:AllowPriceOverride>
    <d2p1:City>String</d2p1:City>
    <d2p1:CommissionPercent>0</d2p1:CommissionPercent>
    <d2p1:CustomerNumber>String</d2p1:CustomerNumber>
    <d2p1:DecryptCCOnExport>false</d2p1:DecryptCCOnExport>
    <d2p1:DefaultShipDatePrevious>false</d2p1:DefaultShipDatePrevious>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:EmailOrders>false</d2p1:EmailOrders>
    <d2p1:EmailUrlToExport>false</d2p1:EmailUrlToExport>
    <d2p1:EnforceMinimums>false</d2p1:EnforceMinimums>
    <d2p1:EnforcePurchaseIncrement>false</d2p1:EnforcePurchaseIncrement>
    <d2p1:ExportOrders>false</d2p1:ExportOrders>
    <d2p1:ExportReviewOrders>false</d2p1:ExportReviewOrders>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:IncludeInBatch>false</d2p1:IncludeInBatch>
    <d2p1:IsInvoiceOnly>false</d2p1:IsInvoiceOnly>
    <d2p1:IsShowroomVendor>false</d2p1:IsShowroomVendor>
    <d2p1:Label>String</d2p1:Label>
    <d2p1:LastLoginAttempt>0001-01-01T00:00:00</d2p1:LastLoginAttempt>
    <d2p1:LastOrderedOn>0001-01-01T00:00:00</d2p1:LastOrderedOn>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:MinimumBalance>0</d2p1:MinimumBalance>
    <d2p1:Note>String</d2p1:Note>
    <d2p1:OrderMinimum>0</d2p1:OrderMinimum>
    <d2p1:OrderTagLine>String</d2p1:OrderTagLine>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:ProductTags>
      <d2p1:VendorProductTag>
        <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
        <d2p1:Tag>String</d2p1:Tag>
      </d2p1:VendorProductTag>
    </d2p1:ProductTags>
    <d2p1:ReOrderMinimum>0</d2p1:ReOrderMinimum>
    <d2p1:RequireCreditSheet>false</d2p1:RequireCreditSheet>
    <d2p1:Settings>
      <d2p1:VendorSetting>
        <d2p1:Key>String</d2p1:Key>
        <d2p1:Value>String</d2p1:Value>
        <d2p1:VendorId>String</d2p1:VendorId>
      </d2p1:VendorSetting>
    </d2p1:Settings>
    <d2p1:SplitByProductLine>false</d2p1:SplitByProductLine>
    <d2p1:State>String</d2p1:State>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>
          <d3p1:string>String</d3p1:string>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
    </d2p1:Tags>
    <d2p1:UseVendorCustId>false</d2p1:UseVendorCustId>
    <d2p1:UseVendorShipId>false</d2p1:UseVendorShipId>
    <d2p1:UseVendorTerms>false</d2p1:UseVendorTerms>
    <d2p1:VendorName>String</d2p1:VendorName>
    <d2p1:Website>String</d2p1:Website>
    <d2p1:Zip>String</d2p1:Zip>
  </Vendor>
  <VendorId>String</VendorId>
  <VendorTermCode>String</VendorTermCode>
</VendorTerm>

    </soap:Body>
</soap:Envelope>