Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-113

CustomerCampaignService readFiltered returns 0 as businessLocationId

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      optus dev environment

      Description

      This bug blocks building out site links as this is the only call (I know of) which associates BA and BLs

      // soap request

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://thesearchagency.com/smb/core/content_model">
      <soapenv:Header/>
      <soapenv:Body>
      <con:readFiltered>
      <!-Optional:->
      <entityId>917</entityId>
      <!-Zero or more repetitions:->
      <filter>
      <!-Optional:->
      <field>BUSINESS_AREA</field>
      <!-Optional:->
      <value>2000084</value>
      <negative>false</negative>
      </filter>
      </con:readFiltered>
      </soapenv:Body>
      </soapenv:Envelope>

      // soap response

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
      <ns2:readFilteredResponse xmlns:ns2="http://thesearchagency.com/smb/core/content_model">
      <CustomerCampaign entityId="917" customizableEntityParentId="1395" id="1397" description="Residential Building Construction in Richmond - Tweed" type="CUSTOMER_CAMPAIGN">
      <businessLocationId businessLocationId="0"/>
      </CustomerCampaign>
      </ns2:readFilteredResponse>
      </soap:Body>
      </soap:Envelope>

      I would expect the businessLocationId to be valid (in this case, 59)

        Attachments

          Activity

            People

            • Assignee:
              caitlyn Caitlyn Duggan (Inactive)
              Reporter:
              caitlyn Caitlyn Duggan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: