I am Testing the API for Creating Landing Page:http://developers.marketo.com/documentation/marketo-rest-apis-web-page-objects/create-landing-page/
The API call for this is a little confusing because for this particular call the {id} value of the template needs to be passed through such as this, along with the clone.json which is use in all other methods of creating something from a template:
Instead we have this as the url for the call:
This url gives us no way to pass the {id} of the template through to the server, nor does it include the clone.json. Therefore, when I use the current url for the api call, I get the following response from the server:
This is very perplexing because I am using a valid template ID, and yet I am being told that a valid template ID is required from the server (Which makes sense by the way!). Once again I believe this is because the {id} of the template that I would like to create LP's from is not being passed through. This is the only API call that I am experiencing this with, which leads me to think that this API call has not been fully developed yet, or the incorrect information is being displayed on the developers page. Any direction on this would be most helpful. Thank you.
The template ID is a parameter passed in the body as "template", not as a path parameter. There were some examples on this page that somehow went unpublished here. I've published them so it, should be a little clearer now.