HttpClient keeps receiving bad request
<p>I'm having a hard time resolving my Bad Request responses from a REST api when I'm creating a client using C#.  I tested the REST api using Fiddler 2 and executing it there, but when I'm creating the same thing programmatically I get 400 response.  Here is my Fiddler composer test:</p>

<p>URL:</p>

<pre><code>https://&lt;third-party-rest-client&gt;/api/v2/job
</code></pre>

<p>Here are my Headers</p>

<pre><code>User-Agent: Fiddler
Content-Type: application/json
Accept: application/json
icSessionId: PomCSBCVU4VgXCJ5    
Content-Length: 123
</code></pre>

<p>And here is the body I'm sending a POST request with</p>

<pre><code>{
"@type": "job",
"taskId":"0000G20G000000000002",
"taskName":"TestReplication",
"taskType":"DRS",
"callbackURL":""
}
</code></pre>

<p>This POST comes back with a 200 response and a response body, which is perfect, but when I try to simulate the same thing in C# with this code:</p>

<pre><code>public JobResponse RunJob(JobRequest jobRequest)
    {
        try
        {
            client = new HttpClient();
            client.BaseAddress = new Uri(loggedUser.serverUrl + "/");
            client.DefaultRequestHeaders.Clear();
            client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));
            client.DefaultRequestHeaders.TryAddWithoutValidation("icSessionId", icSessionId);

            string message = JsonConvert.SerializeObject(jobRequest);
            message = message.Insert(1, "\"@type\": \"job\",");
            Console.WriteLine(message);
            var response = client.PostAsJsonAsync("api/v2/job", message).Result;
            if (response.IsSuccessStatusCode)
            {
                return response.Content.ReadAsAsync&lt;JobResponse&gt;().Result;
            }
            else
            {
                var result = response.Content.ReadAsStringAsync().Result;
                Console.WriteLine(result);
            }
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex);
        }
        return null;
    }
</code></pre>

<p>This comes back as a 400.  Does anybody have any ideas what's wrong with my code?</p>