Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence API Endpoint for Calendar Entry

I am trying to use the API to create a calendar entry with Postman.  I seem to be close receiving a 200 OK response, but still failing on a couple of things.

Here is some of the items...

Using JSON PUT request

http://confluence.(yourdomain).com/rest/calendar-services/1.0/calendar/events.json

Auth - Basic Auth - Use your user name and password

Header - Key: Content-Type Value: application/x-www-form-urlencoded

Body -

{    
"subCalendarId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",            "eventType":"Events",     
"what": "Test Meeting",     
"person": "(Your user ID)",    
"startDate": "Oct 11, 2020",    
"startTime": "10:00 AM",    
"endDate": "Oct 11, 2020",    
"endTime": "11:00 AM",    
"allDayEvent": "false",    
"where": "Test Room",}

 confluencepostman.png

It looks like it is going to the right URL, but my fields might be incorrect.  Anyone have any suggestions?  I have tried digging through the internet and some of the python suggestions didn't seem to work either.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

102 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you