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?
I am looking into this for you but it make take some time because I am not familiar with this process either.
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.
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.