I can't get the putUpdateInteraction method to work as per the documentation. I'm simply just trying to update an Interaction description.
Request
Here's the request that I'm using:
HOST: https://www.exacttargetapis.com
PUT /interaction/v1/interactions/0c58a686-c953-4ebc-86f2-242c39ac7b8d
Content-Type: application/json
{
"id": "0c58a686-c953-4ebc-86f2-242c39ac7b8d",
"modifiedDate": "2015-01-15T00:48:07.223",
"description": "An updated description of my Interaction.",
"version": 1,
"workflowApiVersion": 1.0
}
Response
{"message":"Oops. We’ve encountered an error. Please retry the action or contact support.","errorcode":30000,"documentation":""}
Documentation Issues
I believe there are a few issues with the documentation:
- Path to method is incorrect. It reads
/interaction/v1/interactions/interactions/
but should be/interaction/v1/interactions/
- In the JSON Parameters section of the documentation, modifiedDate is not required, but apparently it is required.
- The documentation mentions the URL parameter
?versionNumber=2
in the request, but this is not mentioned in the URL Parameters section of the documentation. I've tried including this parameter but it doesn't seem to help.
Please can someone confirm what is the correct syntax for this request?
/interaction/v1/interactions/interactions/
typo has now been corrected in the documentation, however I am still dying to update an interaction. If anyone can figure out how to get this method to work I'd really appreciate it.