how should the request for Schedule Campaigns REST API should be ?
I am trying Schedule campaigns Rest api and i provide the request as below,
http://developers.marketo.com/documentation/rest/schedule-campaign/
{
"input":
{
"tokens" : [
{
"name": "{{my.Aparna1}}",
"value": 11
}
]
}
}
I am getting the following exception as response,
{"requestId":"66de#156ebf0da0a","success":false,"errors":[{"code":"1003","message":"Invalid token value: [\"Aparna1\"] "}]}
Wanted to know if there should be some other way to provide tokens input. {{my.Aparna1}} is a token of type number. I have tried providing value as "11",11 and even a float "11.09". Should i provide something different? I have also ensured {{my.Aparna1}} is present in the same schedule campaign id. Please hlep out.