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

Budget Estimate API having content type application/xml is giving invalid response.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Mercury
    • Component/s: API
    • Labels:
      None
    • Environment:

      QA 7

      budget-api-secure-1.0.1-BETA7.war

    • Sprint:
      Sprint 24

      Description

      1. Send Budget soap request with content-type as "Application/xml"

      <?xml version="1.0" encoding="utf-8"?>
      <externalCampaignListWrapper xmlns="http://www.admaxlocal.com/external-api/budget">
      <campaignList>
      <externalCampaign>
      <baId>150390</baId>
      <distribution>YAHOO_JAPAN</distribution>
      <locationId>400001</locationId>
      </externalCampaign>
      </campaignList>
      </externalCampaignListWrapper>

      2. Observe the response:

      Actual result:

      It shows the response UNSELLABLE_BUSINESS_ACTIVITY

      {
      "id": "bd13eaa0-5e8f-47fd-88d2-58ff8e2c97c6",
      "estimates": [ {
      "distribution": "YAHOO_JAPAN",
      "status": "UNSELLABLE_BUSINESS_ACTIVITY",
      "externalCampaign":

      { "baId": 0, "locationId": 0 }

      }]
      }

      Note: Budget estimates with Conet-type application/json works fine.

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: