SOLVED

Re: Create Calendar Token via REST API

Go to solution
Anonymous
Not applicable

Create Calendar Token via REST API

Hello!!

I need to create Calendar token using REST API. This is the API I am using - http://developers.marketo.com/documentation/asset-api/create-token-by-folder-id/

It supports the type = iCalendar.

The issue is there is no documentation what we need to provide for the "value" field? The calendar token needs multiple values and I want to know the syntax for sending the Request.

It would be great if you can provide a Request & Response example to better understand how to use this API for creating calendar tokens.

Thanks,
Maruti.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Create Calendar Token via REST API

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Create Calendar Token via REST API

It's supposed to be an embedded JSON object (run a get to see an example).  But I think there's a bug.   I find that even posting the exact contents of an existing (UI-created) iCalendar token, while successful at the REST level, corrupts the program store somehow so nothing can be displayed in the UI. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Create Calendar Token via REST API

Hey Maruti Shukla​ iCalendar isn't actually supported.  See Bug in REST Create Token by Folder Id w type=iCalendar

Anonymous
Not applicable

Re: Create Calendar Token via REST API

Thanks so much for looking into it. This is a total bummer though!!