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

getOrders API returning duplicate results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: sprint 12: 11-14-2012, Aquidneck
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 13, Sprint 14

      Description

      Todd wrote:

      It's a bug. I think I know what's up offhand tho. Would you mind reporting a bug so I don't lose track?

      Ross Gardner <Ross.Gardner@thesearchagency.com> wrote:

      I am calling getOrders() and getting the following response:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <orderQueryResult>
      <total>2</total>
      <count>2</count>
      <pages>2</pages>
      <current>2</current>
      <results>
      <order>
      <id>91b8db11-6a78-449d-b44b-eaa72ad00e5a</id>
      <name>Ross's Quote 0001</name>
      <comment></comment>
      <associatedMerchant>
      <id>f068bbf6-7fb0-452e-a69d-62a56dcec0ef</id>
      <name>Merchant 0001</name>
      <resellerAssignedId>MRCH0001</resellerAssignedId>
      </associatedMerchant>
      <semLandingPageURL>http://mrch.com</semLandingPageURL>
      <state>ERROR</state>
      <billingInfoCaptured>true</billingInfoCaptured>
      <campaignTargets>
      <status>VALID</status>
      <businessArea>
      <id>2000040</id>
      <title>Architectural Drafting</title>
      </businessArea>
      <location>
      <id>1</id>
      <title>Australia</title>
      </location>
      </campaignTargets>
      <distributionBudgets>
      <service>GOOGLE</service>
      <budget>5</budget>
      <markupBudget>5</markupBudget>
      <markupMultiplier>0</markupMultiplier>
      </distributionBudgets>
      <creator>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </creator>
      <creationDate>2012-11-14T10:44:31.052-05:00</creationDate>
      <modifier>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </modifier>
      <modificationDate>2012-11-14T10:44:31.052-05:00</modificationDate>
      </order>
      <order>
      <id>296ffb3b-6773-4c27-876a-d5ff568f0e05</id>
      <name>Quote 0002</name>
      <comment></comment>
      <associatedMerchant>
      <id>aa08f959-9bff-4f4a-a95f-27019faa919c</id>
      <name>Merchant 0002</name>
      <resellerAssignedId>MRCH0002</resellerAssignedId>
      </associatedMerchant>
      <semLandingPageURL>http://www.mrch0002.com</semLandingPageURL>
      <state>QUOTE</state>
      <billingInfoCaptured>false</billingInfoCaptured>
      <campaignTargets>
      <status>VALID</status>
      <businessArea>
      <id>2000039</id>
      <title>Architectural Design</title>
      </businessArea>
      <location>
      <id>1</id>
      <title>Australia</title>
      </location>
      </campaignTargets>
      <distributionBudgets>
      <service>GOOGLE</service>
      <budget>5</budget>
      <markupBudget>5</markupBudget>
      <markupMultiplier>0</markupMultiplier>
      </distributionBudgets>
      <creator>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </creator>
      <creationDate>2012-11-14T10:46:44.545-05:00</creationDate>
      <modifier>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </modifier>
      <modificationDate>2012-11-14T10:46:44.545-05:00</modificationDate>
      </order>
      </results>
      <total>2</total>
      <count>2</count>
      <pageCount>2</pageCount>
      <currentPage>2</currentPage>
      <results>
      <order>
      <id>91b8db11-6a78-449d-b44b-eaa72ad00e5a</id>
      <name>Ross's Quote 0001</name>
      <comment></comment>
      <associatedMerchant>
      <id>f068bbf6-7fb0-452e-a69d-62a56dcec0ef</id>
      <name>Merchant 0001</name>
      <resellerAssignedId>MRCH0001</resellerAssignedId>
      </associatedMerchant>
      <semLandingPageURL>http://mrch.com</semLandingPageURL>
      <state>ERROR</state>
      <billingInfoCaptured>true</billingInfoCaptured>
      <campaignTargets>
      <status>VALID</status>
      <businessArea>
      <id>2000040</id>
      <title>Architectural Drafting</title>
      </businessArea>
      <location>
      <id>1</id>
      <title>Australia</title>
      </location>
      </campaignTargets>
      <distributionBudgets>
      <service>GOOGLE</service>
      <budget>5</budget>
      <markupBudget>5</markupBudget>
      <markupMultiplier>0</markupMultiplier>
      </distributionBudgets>
      <creator>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </creator>
      <creationDate>2012-11-14T10:44:31.052-05:00</creationDate>
      <modifier>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </modifier>
      <modificationDate>2012-11-14T10:44:31.052-05:00</modificationDate>
      </order>
      <order>
      <id>296ffb3b-6773-4c27-876a-d5ff568f0e05</id>
      <name>Quote 0002</name>
      <comment></comment>
      <associatedMerchant>
      <id>aa08f959-9bff-4f4a-a95f-27019faa919c</id>
      <name>Merchant 0002</name>
      <resellerAssignedId>MRCH0002</resellerAssignedId>
      </associatedMerchant>
      <semLandingPageURL>http://www.mrch0002.com</semLandingPageURL>
      <state>QUOTE</state>
      <billingInfoCaptured>false</billingInfoCaptured>
      <campaignTargets>
      <status>VALID</status>
      <businessArea>
      <id>2000039</id>
      <title>Architectural Design</title>
      </businessArea>
      <location>
      <id>1</id>
      <title>Australia</title>
      </location>
      </campaignTargets>
      <distributionBudgets>
      <service>GOOGLE</service>
      <budget>5</budget>
      <markupBudget>5</markupBudget>
      <markupMultiplier>0</markupMultiplier>
      </distributionBudgets>
      <creator>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </creator>
      <creationDate>2012-11-14T10:46:44.545-05:00</creationDate>
      <modifier>
      <id>675c1ffb-1109-4e3d-8e59-2b06c6b2ec66</id>
      <name>OPTUS Tenant</name>
      </modifier>
      <modificationDate>2012-11-14T10:46:44.545-05:00</modificationDate>
      </order>
      </results>
      </orderQueryResult>

      The results seem to be duplicated - at least there are 2 <results> tags. Is this a bug or are the two different somehow?

      Thanks.

      Ross

        Attachments

          Activity

            People

            • Assignee:
              todd.orr Todd Orr (Inactive)
              Reporter:
              rgardner Ross Gardner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: