Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6763297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:27:33+00:00 2026-05-26T14:27:33+00:00

I am unable to figure out how to update a milestone in baseCamp using

  • 0

I am unable to figure out how to update a milestone in baseCamp using the API. I’m able to do everything else (create, complete, uncomplete, and delete). But I’m stuck on updating. I keep getting a 406 error.

HttpWebRequest _request = (HttpWebRequest)WebRequest.Create(myURL);
_request.ContentType = "application/xml";
_request.Accept = "application/xml";
_request.Method = "POST";
_request.ServicePoint.Expect100Continue = false;
_request.Credentials = new NetworkCredential("xxxxMYKEYxxxx", "X");

byte[] byteData = UTF8Encoding.UTF8.GetBytes(RequestData);
_request.ContentLength = byteData.Length;
using (Stream stream = _request.GetRequestStream())
{
    stream.Write(byteData, 0, byteData.Length);
}

myURL is correct according to the api: https://mycompany.basecamphq.com/projects/8040830/calendar_entries/20940505.xml

And my request data looks correct:

<request>
 <calendar-entry>
  <title>My New Milestone - Renamed</title>
  <type>Milestone</type>
 </calendar-entry>
</request>

However, it always bombs with a “(406) Not Acceptable” error on

_request.GetResponse();

Can anybody see anything glaring? I’m new to the new REST api. I can do everything with calendar entries using the API. I just can’t seem to figure out the updating. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:27:34+00:00Added an answer on May 26, 2026 at 2:27 pm

    For the love of Pete!!!!!

    Although the documentation clearly states that the update operation is a POST, it’s actually a PUT. I love it when bad documentation costs me hours worth of time. At least this may help any of you out there who have the horrible habit of following directions.

    Here is their documentation at http://developer.37signals.com/basecamp/calendar-entries.shtml

    Update calendar entry
    POST /projects/#{project_id}/calendar_entries/#{id}.xml
    Modifies a calendar entry. Supplying a different value for ‘type’ can convert a calendar event to a milestone and vice versa. You can use this to shift the deadline of a single milestone, and optionally shift the deadlines of subsequent milestones as well

    .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey i am unable to figure out why this xml is not being generated
In a DOS script that I wrote, I am unable to figure out what
I was unable to figure out how to use @class inside Html.LabelFor, so I
The cascading dropdown control works great except that I am unable to figure out
I am new to C programming and I am unable to figure out why
Silly question, but I'm unable to figure out.. I tried the following in Ruby:
This seems like it should be really simple, but I'm unable to figure this
I cannot figure out how to pass the text from a <SelectListItem> with a
been trying to figure out why my code wont run in the new 4.0
I have another script that I can't figure out what is wrong with it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.