ProBusinessTools


Click here for a complete list of operations.

InsertNewCustomer

This method allows you to add a customer to your ProBusinessTools account. This can be done independently of InsertNewOrders().

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 /publicwebservices/probusinesstools.asmx HTTP/1.1
Host: secure.probusinesstools.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://secure.probusinesstools.com/publicWebServices/InsertNewCustomer"

<?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>
    <InsertNewCustomer xmlns="http://secure.probusinesstools.com/publicWebServices">
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
      <myCustomerInfo>
        <InternalCustID>string</InternalCustID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FullStreetAddress>string</FullStreetAddress>
        <StreetNumber>string</StreetNumber>
        <StreetName>string</StreetName>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <County>string</County>
        <Country>string</Country>
        <BillingAddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </BillingAddress>
        <Shippingaddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </Shippingaddress>
        <Phone>string</Phone>
        <Phone2>string</Phone2>
        <Phone3>string</Phone3>
        <Fax>string</Fax>
        <Email>string</Email>
        <OptionField1>string</OptionField1>
        <OptionField2>string</OptionField2>
        <OptionField3>string</OptionField3>
        <OptionField4>string</OptionField4>
        <OptionField5>string</OptionField5>
        <ErrorMessage>string</ErrorMessage>
        <AssociatedJobNumber>string</AssociatedJobNumber>
        <QAQuestions>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
        </QAQuestions>
        <CustomerIDNumber>string</CustomerIDNumber>
        <DataPoints>string</DataPoints>
        <SiteID>string</SiteID>
        <SiteName>string</SiteName>
        <Status>string</Status>
        <Status2>string</Status2>
        <Type>string</Type>
        <Type2>string</Type2>
        <Title>string</Title>
        <AltTitle>string</AltTitle>
        <BillingMethod>string</BillingMethod>
        <GeoCodeInfo>
          <Latitude>string</Latitude>
          <Longitude>string</Longitude>
        </GeoCodeInfo>
        <lastUpdated>string</lastUpdated>
        <AltFirstName>string</AltFirstName>
        <AltLastName>string</AltLastName>
        <AltAddress>string</AltAddress>
        <AltCity>string</AltCity>
        <AltState>string</AltState>
        <AltZip>string</AltZip>
        <AltPhone>string</AltPhone>
        <AltPhone2>string</AltPhone2>
        <AltPhone3>string</AltPhone3>
        <AltEmail>string</AltEmail>
        <AltRelationship>string</AltRelationship>
        <Address2>string</Address2>
        <BillingAddress2>string</BillingAddress2>
        <ShippingAddress2>string</ShippingAddress2>
        <MiddleName>string</MiddleName>
        <AltMiddleName>string</AltMiddleName>
      </myCustomerInfo>
    </InsertNewCustomer>
  </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>
    <InsertNewCustomerResponse xmlns="http://secure.probusinesstools.com/publicWebServices">
      <InsertNewCustomerResult>
        <InternalCustID>string</InternalCustID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FullStreetAddress>string</FullStreetAddress>
        <StreetNumber>string</StreetNumber>
        <StreetName>string</StreetName>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <County>string</County>
        <Country>string</Country>
        <BillingAddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </BillingAddress>
        <Shippingaddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </Shippingaddress>
        <Phone>string</Phone>
        <Phone2>string</Phone2>
        <Phone3>string</Phone3>
        <Fax>string</Fax>
        <Email>string</Email>
        <OptionField1>string</OptionField1>
        <OptionField2>string</OptionField2>
        <OptionField3>string</OptionField3>
        <OptionField4>string</OptionField4>
        <OptionField5>string</OptionField5>
        <ErrorMessage>string</ErrorMessage>
        <AssociatedJobNumber>string</AssociatedJobNumber>
        <QAQuestions>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
        </QAQuestions>
        <CustomerIDNumber>string</CustomerIDNumber>
        <DataPoints>string</DataPoints>
        <SiteID>string</SiteID>
        <SiteName>string</SiteName>
        <Status>string</Status>
        <Status2>string</Status2>
        <Type>string</Type>
        <Type2>string</Type2>
        <Title>string</Title>
        <AltTitle>string</AltTitle>
        <BillingMethod>string</BillingMethod>
        <GeoCodeInfo>
          <Latitude>string</Latitude>
          <Longitude>string</Longitude>
        </GeoCodeInfo>
        <lastUpdated>string</lastUpdated>
        <AltFirstName>string</AltFirstName>
        <AltLastName>string</AltLastName>
        <AltAddress>string</AltAddress>
        <AltCity>string</AltCity>
        <AltState>string</AltState>
        <AltZip>string</AltZip>
        <AltPhone>string</AltPhone>
        <AltPhone2>string</AltPhone2>
        <AltPhone3>string</AltPhone3>
        <AltEmail>string</AltEmail>
        <AltRelationship>string</AltRelationship>
        <Address2>string</Address2>
        <BillingAddress2>string</BillingAddress2>
        <ShippingAddress2>string</ShippingAddress2>
        <MiddleName>string</MiddleName>
        <AltMiddleName>string</AltMiddleName>
      </InsertNewCustomerResult>
    </InsertNewCustomerResponse>
  </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 /publicwebservices/probusinesstools.asmx HTTP/1.1
Host: secure.probusinesstools.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>
    <InsertNewCustomer xmlns="http://secure.probusinesstools.com/publicWebServices">
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
      <myCustomerInfo>
        <InternalCustID>string</InternalCustID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FullStreetAddress>string</FullStreetAddress>
        <StreetNumber>string</StreetNumber>
        <StreetName>string</StreetName>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <County>string</County>
        <Country>string</Country>
        <BillingAddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </BillingAddress>
        <Shippingaddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </Shippingaddress>
        <Phone>string</Phone>
        <Phone2>string</Phone2>
        <Phone3>string</Phone3>
        <Fax>string</Fax>
        <Email>string</Email>
        <OptionField1>string</OptionField1>
        <OptionField2>string</OptionField2>
        <OptionField3>string</OptionField3>
        <OptionField4>string</OptionField4>
        <OptionField5>string</OptionField5>
        <ErrorMessage>string</ErrorMessage>
        <AssociatedJobNumber>string</AssociatedJobNumber>
        <QAQuestions>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
        </QAQuestions>
        <CustomerIDNumber>string</CustomerIDNumber>
        <DataPoints>string</DataPoints>
        <SiteID>string</SiteID>
        <SiteName>string</SiteName>
        <Status>string</Status>
        <Status2>string</Status2>
        <Type>string</Type>
        <Type2>string</Type2>
        <Title>string</Title>
        <AltTitle>string</AltTitle>
        <BillingMethod>string</BillingMethod>
        <GeoCodeInfo>
          <Latitude>string</Latitude>
          <Longitude>string</Longitude>
        </GeoCodeInfo>
        <lastUpdated>string</lastUpdated>
        <AltFirstName>string</AltFirstName>
        <AltLastName>string</AltLastName>
        <AltAddress>string</AltAddress>
        <AltCity>string</AltCity>
        <AltState>string</AltState>
        <AltZip>string</AltZip>
        <AltPhone>string</AltPhone>
        <AltPhone2>string</AltPhone2>
        <AltPhone3>string</AltPhone3>
        <AltEmail>string</AltEmail>
        <AltRelationship>string</AltRelationship>
        <Address2>string</Address2>
        <BillingAddress2>string</BillingAddress2>
        <ShippingAddress2>string</ShippingAddress2>
        <MiddleName>string</MiddleName>
        <AltMiddleName>string</AltMiddleName>
      </myCustomerInfo>
    </InsertNewCustomer>
  </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>
    <InsertNewCustomerResponse xmlns="http://secure.probusinesstools.com/publicWebServices">
      <InsertNewCustomerResult>
        <InternalCustID>string</InternalCustID>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <FullStreetAddress>string</FullStreetAddress>
        <StreetNumber>string</StreetNumber>
        <StreetName>string</StreetName>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <County>string</County>
        <Country>string</Country>
        <BillingAddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </BillingAddress>
        <Shippingaddress>
          <StreetAddress>string</StreetAddress>
          <City>string</City>
          <State>string</State>
          <ZipCode>string</ZipCode>
          <County>string</County>
          <Country>string</Country>
        </Shippingaddress>
        <Phone>string</Phone>
        <Phone2>string</Phone2>
        <Phone3>string</Phone3>
        <Fax>string</Fax>
        <Email>string</Email>
        <OptionField1>string</OptionField1>
        <OptionField2>string</OptionField2>
        <OptionField3>string</OptionField3>
        <OptionField4>string</OptionField4>
        <OptionField5>string</OptionField5>
        <ErrorMessage>string</ErrorMessage>
        <AssociatedJobNumber>string</AssociatedJobNumber>
        <QAQuestions>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
          <QuestionList>
            <Questions xsi:nil="true" />
            <Type>PreScreening or Customer or Order</Type>
            <Message>string</Message>
          </QuestionList>
        </QAQuestions>
        <CustomerIDNumber>string</CustomerIDNumber>
        <DataPoints>string</DataPoints>
        <SiteID>string</SiteID>
        <SiteName>string</SiteName>
        <Status>string</Status>
        <Status2>string</Status2>
        <Type>string</Type>
        <Type2>string</Type2>
        <Title>string</Title>
        <AltTitle>string</AltTitle>
        <BillingMethod>string</BillingMethod>
        <GeoCodeInfo>
          <Latitude>string</Latitude>
          <Longitude>string</Longitude>
        </GeoCodeInfo>
        <lastUpdated>string</lastUpdated>
        <AltFirstName>string</AltFirstName>
        <AltLastName>string</AltLastName>
        <AltAddress>string</AltAddress>
        <AltCity>string</AltCity>
        <AltState>string</AltState>
        <AltZip>string</AltZip>
        <AltPhone>string</AltPhone>
        <AltPhone2>string</AltPhone2>
        <AltPhone3>string</AltPhone3>
        <AltEmail>string</AltEmail>
        <AltRelationship>string</AltRelationship>
        <Address2>string</Address2>
        <BillingAddress2>string</BillingAddress2>
        <ShippingAddress2>string</ShippingAddress2>
        <MiddleName>string</MiddleName>
        <AltMiddleName>string</AltMiddleName>
      </InsertNewCustomerResult>
    </InsertNewCustomerResponse>
  </soap12:Body>
</soap12:Envelope>