They seem to have forgotten the CreateWorkItemAsync method. All other update methods have a corresponding Create method. To create a work item, you can use the following snippet
var client = new RestClient(string.Format(
CultureInfo.InvariantCulture,
"https://{0}.visualstudio.com/defaultcollection/{1}/_apis/",
"<vstsAccount>",
"<project>"));
client.Authenticator = new HttpBasicAuthenticator("accessToken", "<accessToken>");
var json = @"[{'op': 'add','path': '/fields/System.Title','value': 'Title of your work item'}]";
var request = new RestRequest("wit/workitems/$Product Backlog Item?api-version=1.0", Method.PATCH);
request.AddParameter("application/json-patch+json", json, ParameterType.RequestBody);
request.AddHeader("Accept", "application/json");
var response = client.Execute(request);
The response will contain json of the new work item. Use it to retrieve the id of the new item.
source
share