SWAPI – Account List Query, general billing accounts

AccountListQuery

A new parameter is now available for querying:

·         IsGeneral

 

This will allow you to query specifically for general billing accounts – i.e. home warranty companies, etc.  You may combine this with other parameters, as needed.

 

The IsGeneral field is also returned in the result for each AccountListQueryRecord.

Request

<SessionRequest Version="string" SessionID="{7588E489-7E99-4F68-A3C8-F3E86BD92241}" RequestID="string">

  <AccountListQuery Filter="string" Max="string" OrderBy="string" StyleNo="string" StyleOptions="string">

    <Phone1>string</Phone1>

    <CompanyName>string</CompanyName>

    <LastName>string</LastName>

    <Address1>string</Address1>

    <IsGeneral>boolean</IsGeneral>

  </AccountListQuery>

</SessionRequest>

Response

<AccountListQueryData RequestID="string">

  <AccountListQueryRecord>

    <AR_BillingCustomerID>integer</AR_BillingCustomerID>

    <BillingCustomerID>string(10)</BillingCustomerID>

    <LastName>string(35)</LastName>

    <FirstName>string(25)</FirstName>

    <CompanyName>string(35)</CompanyName>

    <Address1>string(35)</Address1>

    <Address2>string(35)</Address2>

    <City>string(20)</City>

    <State>string(2)</State>

    <Zip>string(10)</Zip>

    <Phone1>string(12)</Phone1>

    <Phone1Ext>string(6)</Phone1Ext>

    <Phone2>string(12)</Phone2>

    <Phone2Ext>string(6)</Phone2Ext>

    <Phone3>string(12)</Phone3>

    <Phone3Ext>string(6)</Phone3Ext>

    <Phone4>string(12)</Phone4>

    <Phone4Ext>string(6)</Phone4Ext>

    <LastName2>string(35)</LastName2>

    <FirstName2>string(25)</FirstName2>

    <IsGeneral>boolean</IsGeneral>

  </AccountListQueryRecord>

</AccountListQueryData>