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

DEMO: updateCampaignStatus requires header element

    Details

    • Sprint:
      Sprint 13

      Description

      XML being sent to ADS:
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><core:updateCampaignStatus xmlns:core="http://thesearchagency.com/smb/core">
      <updateCampaignStatusRequest>
      <customerID>bfd0b07d-7cdb-4a7a-a91b-d37e25b6303d</customerID>
      <campaignStatusList>
      <campaignID>bfd0b07d-7cdb-4a7a-a91b-d37e25b6303d-0</campaignID>
      <campaignStatus>active</campaignStatus>
      </campaignStatusList>
      </updateCampaignStatusRequest>
      </core:updateCampaignStatus></soap:Body></soap:Envelope>

      Working XML:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:core="http://thesearchagency.com/smb/core">
      <soapenv:Header/>
      <soapenv:Body>
      <core:updateCampaignStatus>
      <!-Optional:->
      <updateCampaignStatusRequest>
      <header>
      <requestID>1</requestID>
      </header>
      <customerID>aml-demo-54302</customerID>
      <!-1 or more repetitions:->
      <campaignStatusList>
      <campaignID>9</campaignID>
      <!-- active, paused, terminated -->
      <campaignStatus>active</campaignStatus>
      </campaignStatusList>
      </updateCampaignStatusRequest>
      </core:updateCampaignStatus>
      </soapenv:Body>
      </soapenv:Envelope>

        Attachments

          Activity

            People

            • Assignee:
              gavin.nicol Gavin Nicol (Inactive)
              Reporter:
              therouxj Jeff Theroux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: