POST api/V3/Projection/Commit?fileAttachmentPath={fileAttachmentPath}&runConcurrencyCheck={runConcurrencyCheck}&invokeAsService={invokeAsService} Updates a workitem projection in order to create a new workitem ensure that the LastModified property is set to : "LastModified": "0001-01-01T00:00:00.000Z"
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fileAttachmentPath |
Optional - Path where file attachments are saved |
string |
Default value is |
runConcurrencyCheck |
Optional - Boolean to use Concurrency Checking |
boolean |
Default value is True |
invokeAsService |
Optional - Boolean to save as service Checking |
boolean |
Default value is False |
Body Parameters
Projection Object in JSON format : { "formJson" : { "current" : { projection object with changes }, "original" : { original projection object } } }
FormJsonName | Description | Type | Additional information |
---|---|---|---|
formJson | Object |
None. |
Request Formats
application/json, text/json
Sample:
{ "formJson": {} }
application/xml, text/xml
Sample:
<FormJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CiresonWebConsole.Controllers.api.Models"> <formJson /> </FormJson>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />