Create Calendar Token via REST API | Community
Skip to main content
February 17, 2016
Solved

Create Calendar Token via REST API

  • February 17, 2016
  • 2 replies
  • 2553 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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

2 replies

SanfordWhiteman
Level 10
February 18, 2016

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
SanfordWhitemanAccepted solution
Level 10
February 22, 2016

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

February 25, 2016

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