SWAPI – CustomerFlexQuery

This command is used to query company settings that have been configured in Successware.

Request

<SessionRequest Version="string" SessionID="{8CA30500-59E8-4272-8E24-899A314C78C9}" RequestID="string">

  <CustomerFlexQuery Version="string">

    <LocationID>int</LocationID>

    <Phone>string</Phone>

    <CompanyName>string</CompanyName>

    <LastName>string</LastName>

    <Address1>string</Address1>

    <Address2>string</Address2>

    <City>string</City>

    <State>string</State>

    <Zip>string</Zip>

    <Email>string</Email>

  </CustomerFlexQuery>

</SessionRequest>

 

·         LocationID – description.

·         Phone – description.

·         CompanyName – description.

·         LastName – description.

·         Address1 – description.

·         Address2 – description.

·         City – description.

·         State – description.

·         Zip – description.

·         Email – description.

Response

<CustomerFlexQueryResponse Successful="true" ResultCode="000" ResultText="Successful" Version="2.1.300.1" AccuracyLevel="2" AccuracyText="Zip(clean),State,City,Address1(clean),Address2(numeric),LastName(firstword),Phone,EmailAddress" RequestID="string">

  <CustomerRecordDataset>

    <CustomerRecordRecord>

      <LocationID>string</LocationID>

      <LastName>string</LastName>

      <FirstName>string</FirstName>

      <CompanyName>string</CompanyName>

      <Address1>string</Address1>

      <Address2>string</Address2>

      <City>string</City>

      <State>string</State>

      <Zip>string</Zip>

      <Zone>string</Zone>

      <Phone1>string</Phone1>

      <Phone1Ext>string</Phone1Ext>

      <Phone2>string</Phone2>

      <Phone2Ext>string</Phone2Ext>

      <EmailAddress>string</EmailAddress>

    </CustomerRecordRecord>

  </CustomerRecordDataset>

</CustomerFlexQueryResponse>

 

·         LocationID – description.

·         LastName – description.

·         FirstName – description.

·         CompanyName – description.

·         Address1 – description.

·         Address2 – description.

·         City – description.

·         State – description.

·         Zip – description.

·         Zone – description.

·         Phone1 – description.

·         Phone1Ext – description.

·         Phone2 – description.

·         Phone2Ext – description.

·         EmailAddress – description.