0

I'm trying to use the documented GET /interactions/rest method to identify available methods from the Interaction Service Discovery Document, but it doesn't seem to work. I get the error:

{"message":"Must provide a valid ID or Key parameter","errorcode":10005,"documentation":""}

I shouldn't need to provide an ID or Key, but if I do, then I get a 404 error.

Can someone confirm if this method actually works?

  • Could you please post the entire routes with parameters, obfuscating as necessary? – Timothy Jan 12 '15 at 16:06
  • Hi Timothy, sure refer to this gist – Eliot Harper Jan 12 '15 at 20:51
  • Hey @EliotHarper did you manage to figure out how to retrieve the interactions collection. – Furqan Asghar Mar 13 '15 at 7:00
0

This worked for me:

headers: 
Authorization: Bearer <token>
Content-Type: application/json
GET https://www.exacttargetapis.com/interaction/v1/rest
  • Hi Drew, thanks this works for me too. It looks like the documentation has been updated to include the correct route as the route documented previously didn't work. What's interesting is that the method reveals upcoming features in the next release related to Journey Maps. Also, there are several other helpful methods such as getWaitStatistics and searchTraceEvents that aren't yet documented. I'll have a play! – Eliot Harper Feb 20 '15 at 18:02
0
 "getInteraction": {<br/>
             "path": "interactions/{id}",<br/>
            "httpMethod": "get",<br/>
            "description": "Retrieve an interaction.",<br/>
            "parameters": {}<br/>
        }

This is how the method should look like. More details here :https://code.exacttarget.com/apis-sdks/rest-api/v1/interaction/getInteractionById.html

  • Yes, but that's for getting an interaction by ID. I know that works. I'm referring to the method to retrieve all methods. – Eliot Harper Jan 12 '15 at 20:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.