cancel
Showing results for 
Search instead for 
Did you mean: 

responseText for existing Campaign

Occasional Contributor

responseText for existing Campaign

Hello,

 

using xmlhttp request I am trying to fetch the available campaigns and parse the responseText so that I could display them in a Grid. Although I am getting responseText, I am not able to parse it. I tried responseXml but gets undefined error. In the responseText, I am able to see all my existing campaigns. Can you suggest me what I am missing here?

4 REPLIES 4
CTCT Employee

Re: responseText for existing Campaign

Hi Anupriya,

 

I am looking into this for you but it make take some time because I am not familiar with this process either.

 

Thank you,

Ryan Davis
Quality Engineer
CTCT Employee

Re: responseText for existing Campaign

Hey Anupryia,

 

Can you post your code so I can see how the information is gathered?

 

Thanks,

Ryan Davis
Quality Engineer
Occasional Contributor

How to update a campain

Hello

Can Anybody help me to update a campaign. Which method(POST or PUT) should i use to update a campaign?

I am getting Error 415: Media type not supported while trying to update.

Thankyou

Highlighted
CTCT Employee

Re: How to update a campain

Hello,

 

You would get a 415 error if you are trying to do an incorrect call to a URI.  If you are updating a campaign, you must do a PUT HTTPS call with the correct XML to the campaigns URI.  More information about this can be found here.

 

If you have any questions please let me know.

 

Sincerely,

Benjamin Soder
NOC Analyst
Constant Contact