EPMS_Connect


Click here for a complete list of operations.

SubmitCustomer

Insert/Update a Customer into the database.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /EnterpriseWebService/Service.asmx HTTP/1.1
Host: epms.strategicfactory.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://localhost/EnterpriseWebService/Enterprise Connect/SubmitCustomer"

<?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>
    <SubmitCustomer xmlns="http://localhost/EnterpriseWebService/Enterprise Connect">
      <Credentials>
        <Username>string</Username>
        <Password>string</Password>
      </Credentials>
      <Customer>
        <Account>string</Account>
        <CustName>string</CustName>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <Address3>string</Address3>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <Phone>string</Phone>
        <Fax>string</Fax>
        <Country>string</Country>
        <County>string</County>
        <Email>string</Email>
        <Website>string</Website>
        <ContactName>string</ContactName>
        <AccountsContact>string</AccountsContact>
        <BillAccount>string</BillAccount>
        <BillName>string</BillName>
        <BillAddress1>string</BillAddress1>
        <BillAddress2>string</BillAddress2>
        <BillAddress3>string</BillAddress3>
        <BillCity>string</BillCity>
        <BillState>string</BillState>
        <BillZip>string</BillZip>
        <BillPhone>string</BillPhone>
        <BillFax>string</BillFax>
        <BillCountry>string</BillCountry>
        <BillCounty>string</BillCounty>
        <BillEmail>string</BillEmail>
        <BillContact>string</BillContact>
        <ShipViaCode>string</ShipViaCode>
        <RegionalCode>string</RegionalCode>
        <CustomerTypeCode>string</CustomerTypeCode>
        <TermsCode>string</TermsCode>
        <Notes>string</Notes>
        <Commission>decimal</Commission>
        <Commission2>decimal</Commission2>
        <Discount>decimal</Discount>
        <InvoiceDiscount>decimal</InvoiceDiscount>
        <ProductionMarkup>decimal</ProductionMarkup>
        <MaterialMarkup>decimal</MaterialMarkup>
        <StockMarkup>decimal</StockMarkup>
        <FreightMarkup>decimal</FreightMarkup>
        <CreditHoldFlag>boolean</CreditHoldFlag>
        <CreditLimit>decimal</CreditLimit>
        <ExemptNo>string</ExemptNo>
        <DefaultTaxJurisdiction>string</DefaultTaxJurisdiction>
        <UserDefined1>string</UserDefined1>
        <UserDefined2>string</UserDefined2>
        <UserDefined3>string</UserDefined3>
        <UserDefined4>string</UserDefined4>
        <UserDefined5>string</UserDefined5>
        <UserDefined6>string</UserDefined6>
        <SalesRepCode>string</SalesRepCode>
        <SalesRepCode2>string</SalesRepCode2>
        <SalesRepCode3>string</SalesRepCode3>
        <SalesRepCode4>string</SalesRepCode4>
        <CSR>string</CSR>
        <CSR2>string</CSR2>
        <PlantID>string</PlantID>
        <Status>string</Status>
        <StmtAccount>string</StmtAccount>
        <PaymentMethod>string</PaymentMethod>
        <TaxByShipping>long</TaxByShipping>
        <MandatoryPOInvoice>long</MandatoryPOInvoice>
        <CreditRating>string</CreditRating>
        <StartDate>string</StartDate>
        <MandatoryPOOrder>long</MandatoryPOOrder>
        <UseShipServiceMarkup>long</UseShipServiceMarkup>
        <BlanketPO>string</BlanketPO>
        <DefaultHandling>decimal</DefaultHandling>
        <HandlingPerLineItem>decimal</HandlingPerLineItem>
        <ParentAccount>string</ParentAccount>
        <ParentFlag>long</ParentFlag>
        <BillingCycle>string</BillingCycle>
        <DontBillFreight>long</DontBillFreight>
        <ResaleCustomer>long</ResaleCustomer>
        <ApplyFinanceCharges>long</ApplyFinanceCharges>
        <MarkupTable>string</MarkupTable>
        <TaxExempt>long</TaxExempt>
        <InvoiceNotes>string</InvoiceNotes>
        <CreditCardProfileID>string</CreditCardProfileID>
      </Customer>
    </SubmitCustomer>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <SubmitCustomerResponse xmlns="http://localhost/EnterpriseWebService/Enterprise Connect">
      <SubmitCustomerResult>
        <ReturnStatus>int</ReturnStatus>
        <Message>string</Message>
      </SubmitCustomerResult>
    </SubmitCustomerResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /EnterpriseWebService/Service.asmx HTTP/1.1
Host: epms.strategicfactory.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SubmitCustomer xmlns="http://localhost/EnterpriseWebService/Enterprise Connect">
      <Credentials>
        <Username>string</Username>
        <Password>string</Password>
      </Credentials>
      <Customer>
        <Account>string</Account>
        <CustName>string</CustName>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <Address3>string</Address3>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <Phone>string</Phone>
        <Fax>string</Fax>
        <Country>string</Country>
        <County>string</County>
        <Email>string</Email>
        <Website>string</Website>
        <ContactName>string</ContactName>
        <AccountsContact>string</AccountsContact>
        <BillAccount>string</BillAccount>
        <BillName>string</BillName>
        <BillAddress1>string</BillAddress1>
        <BillAddress2>string</BillAddress2>
        <BillAddress3>string</BillAddress3>
        <BillCity>string</BillCity>
        <BillState>string</BillState>
        <BillZip>string</BillZip>
        <BillPhone>string</BillPhone>
        <BillFax>string</BillFax>
        <BillCountry>string</BillCountry>
        <BillCounty>string</BillCounty>
        <BillEmail>string</BillEmail>
        <BillContact>string</BillContact>
        <ShipViaCode>string</ShipViaCode>
        <RegionalCode>string</RegionalCode>
        <CustomerTypeCode>string</CustomerTypeCode>
        <TermsCode>string</TermsCode>
        <Notes>string</Notes>
        <Commission>decimal</Commission>
        <Commission2>decimal</Commission2>
        <Discount>decimal</Discount>
        <InvoiceDiscount>decimal</InvoiceDiscount>
        <ProductionMarkup>decimal</ProductionMarkup>
        <MaterialMarkup>decimal</MaterialMarkup>
        <StockMarkup>decimal</StockMarkup>
        <FreightMarkup>decimal</FreightMarkup>
        <CreditHoldFlag>boolean</CreditHoldFlag>
        <CreditLimit>decimal</CreditLimit>
        <ExemptNo>string</ExemptNo>
        <DefaultTaxJurisdiction>string</DefaultTaxJurisdiction>
        <UserDefined1>string</UserDefined1>
        <UserDefined2>string</UserDefined2>
        <UserDefined3>string</UserDefined3>
        <UserDefined4>string</UserDefined4>
        <UserDefined5>string</UserDefined5>
        <UserDefined6>string</UserDefined6>
        <SalesRepCode>string</SalesRepCode>
        <SalesRepCode2>string</SalesRepCode2>
        <SalesRepCode3>string</SalesRepCode3>
        <SalesRepCode4>string</SalesRepCode4>
        <CSR>string</CSR>
        <CSR2>string</CSR2>
        <PlantID>string</PlantID>
        <Status>string</Status>
        <StmtAccount>string</StmtAccount>
        <PaymentMethod>string</PaymentMethod>
        <TaxByShipping>long</TaxByShipping>
        <MandatoryPOInvoice>long</MandatoryPOInvoice>
        <CreditRating>string</CreditRating>
        <StartDate>string</StartDate>
        <MandatoryPOOrder>long</MandatoryPOOrder>
        <UseShipServiceMarkup>long</UseShipServiceMarkup>
        <BlanketPO>string</BlanketPO>
        <DefaultHandling>decimal</DefaultHandling>
        <HandlingPerLineItem>decimal</HandlingPerLineItem>
        <ParentAccount>string</ParentAccount>
        <ParentFlag>long</ParentFlag>
        <BillingCycle>string</BillingCycle>
        <DontBillFreight>long</DontBillFreight>
        <ResaleCustomer>long</ResaleCustomer>
        <ApplyFinanceCharges>long</ApplyFinanceCharges>
        <MarkupTable>string</MarkupTable>
        <TaxExempt>long</TaxExempt>
        <InvoiceNotes>string</InvoiceNotes>
        <CreditCardProfileID>string</CreditCardProfileID>
      </Customer>
    </SubmitCustomer>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SubmitCustomerResponse xmlns="http://localhost/EnterpriseWebService/Enterprise Connect">
      <SubmitCustomerResult>
        <ReturnStatus>int</ReturnStatus>
        <Message>string</Message>
      </SubmitCustomerResult>
    </SubmitCustomerResponse>
  </soap12:Body>
</soap12:Envelope>