Repository5
Click here for a complete list of operations.
ReconcileLocalWorkspace
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /_tfs_resources/VersionControl/v5.0/Repository.asmx HTTP/1.1
Host: dev.pikacom.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03/ReconcileLocalWorkspace"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ReconcileLocalWorkspace xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03">
<workspaceName>string</workspaceName>
<ownerName>string</ownerName>
<pendingChangeSignature>guid</pendingChangeSignature>
<pendingChanges>
<LocalPendingChange tsi="string" csi="string" bfi="string" v="int" bfv="int" c="int" it="unsignedByte" e="int" l="unsignedByte" iid="int" cd="dateTime" hv="base64Binary" di="int" fl="unsignedByte" />
<LocalPendingChange tsi="string" csi="string" bfi="string" v="int" bfv="int" c="int" it="unsignedByte" e="int" l="unsignedByte" iid="int" cd="dateTime" hv="base64Binary" di="int" fl="unsignedByte" />
</pendingChanges>
<localVersionUpdates>
<ServerItemLocalVersionUpdate sitem="string" itemid="int" />
<ServerItemLocalVersionUpdate sitem="string" itemid="int" />
</localVersionUpdates>
<clearLocalVersionTable>boolean</clearLocalVersionTable>
<throwOnProjectRenamed>boolean</throwOnProjectRenamed>
<maxClientPathLength>int</maxClientPathLength>
</ReconcileLocalWorkspace>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ReconcileLocalWorkspaceResponse xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03">
<ReconcileLocalWorkspaceResult>
<NewSignature>guid</NewSignature>
<PendingChangesUpdated>boolean</PendingChangesUpdated>
<ReplayLocalVersionsRequired>boolean</ReplayLocalVersionsRequired>
<NewPendingChanges>
<PendingChange chgEx="int" chg="None or Add or Edit or Encoding or Rename or Delete or Undelete or Branch or Merge or Lock or Rollback or SourceRename or Property" date="dateTime" did="int" type="Any or Folder or File" enc="int" itemid="int" local="string" lock="None or Checkin or CheckOut or Unchanged" item="string" srclocal="string" srcitem="string" svrfm="int" sdi="int" ver="int" hash="base64Binary" len="long" uhash="base64Binary" pcid="int" durl="string" shelvedurl="string" ct="int">
<MergeSources xsi:nil="true" />
<PropertyValues xsi:nil="true" />
</PendingChange>
<PendingChange chgEx="int" chg="None or Add or Edit or Encoding or Rename or Delete or Undelete or Branch or Merge or Lock or Rollback or SourceRename or Property" date="dateTime" did="int" type="Any or Folder or File" enc="int" itemid="int" local="string" lock="None or Checkin or CheckOut or Unchanged" item="string" srclocal="string" srcitem="string" svrfm="int" sdi="int" ver="int" hash="base64Binary" len="long" uhash="base64Binary" pcid="int" durl="string" shelvedurl="string" ct="int">
<MergeSources xsi:nil="true" />
<PropertyValues xsi:nil="true" />
</PendingChange>
</NewPendingChanges>
<Failures>
<Failure req="None or Add or Branch or Encoding or Edit or Delete or Lock or Rename or Undelete or Property" code="string" sev="Error or Warning" computer="string" ident="string" local="string" res="string" item="string" itemid="int" ws="string" owner="string">
<Warnings xsi:nil="true" />
<Message>string</Message>
</Failure>
<Failure req="None or Add or Branch or Encoding or Edit or Delete or Lock or Rename or Undelete or Property" code="string" sev="Error or Warning" computer="string" ident="string" local="string" res="string" item="string" itemid="int" ws="string" owner="string">
<Warnings xsi:nil="true" />
<Message>string</Message>
</Failure>
</Failures>
</ReconcileLocalWorkspaceResult>
</ReconcileLocalWorkspaceResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /_tfs_resources/VersionControl/v5.0/Repository.asmx HTTP/1.1
Host: dev.pikacom.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ReconcileLocalWorkspace xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03">
<workspaceName>string</workspaceName>
<ownerName>string</ownerName>
<pendingChangeSignature>guid</pendingChangeSignature>
<pendingChanges>
<LocalPendingChange tsi="string" csi="string" bfi="string" v="int" bfv="int" c="int" it="unsignedByte" e="int" l="unsignedByte" iid="int" cd="dateTime" hv="base64Binary" di="int" fl="unsignedByte" />
<LocalPendingChange tsi="string" csi="string" bfi="string" v="int" bfv="int" c="int" it="unsignedByte" e="int" l="unsignedByte" iid="int" cd="dateTime" hv="base64Binary" di="int" fl="unsignedByte" />
</pendingChanges>
<localVersionUpdates>
<ServerItemLocalVersionUpdate sitem="string" itemid="int" />
<ServerItemLocalVersionUpdate sitem="string" itemid="int" />
</localVersionUpdates>
<clearLocalVersionTable>boolean</clearLocalVersionTable>
<throwOnProjectRenamed>boolean</throwOnProjectRenamed>
<maxClientPathLength>int</maxClientPathLength>
</ReconcileLocalWorkspace>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ReconcileLocalWorkspaceResponse xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03">
<ReconcileLocalWorkspaceResult>
<NewSignature>guid</NewSignature>
<PendingChangesUpdated>boolean</PendingChangesUpdated>
<ReplayLocalVersionsRequired>boolean</ReplayLocalVersionsRequired>
<NewPendingChanges>
<PendingChange chgEx="int" chg="None or Add or Edit or Encoding or Rename or Delete or Undelete or Branch or Merge or Lock or Rollback or SourceRename or Property" date="dateTime" did="int" type="Any or Folder or File" enc="int" itemid="int" local="string" lock="None or Checkin or CheckOut or Unchanged" item="string" srclocal="string" srcitem="string" svrfm="int" sdi="int" ver="int" hash="base64Binary" len="long" uhash="base64Binary" pcid="int" durl="string" shelvedurl="string" ct="int">
<MergeSources xsi:nil="true" />
<PropertyValues xsi:nil="true" />
</PendingChange>
<PendingChange chgEx="int" chg="None or Add or Edit or Encoding or Rename or Delete or Undelete or Branch or Merge or Lock or Rollback or SourceRename or Property" date="dateTime" did="int" type="Any or Folder or File" enc="int" itemid="int" local="string" lock="None or Checkin or CheckOut or Unchanged" item="string" srclocal="string" srcitem="string" svrfm="int" sdi="int" ver="int" hash="base64Binary" len="long" uhash="base64Binary" pcid="int" durl="string" shelvedurl="string" ct="int">
<MergeSources xsi:nil="true" />
<PropertyValues xsi:nil="true" />
</PendingChange>
</NewPendingChanges>
<Failures>
<Failure req="None or Add or Branch or Encoding or Edit or Delete or Lock or Rename or Undelete or Property" code="string" sev="Error or Warning" computer="string" ident="string" local="string" res="string" item="string" itemid="int" ws="string" owner="string">
<Warnings xsi:nil="true" />
<Message>string</Message>
</Failure>
<Failure req="None or Add or Branch or Encoding or Edit or Delete or Lock or Rename or Undelete or Property" code="string" sev="Error or Warning" computer="string" ident="string" local="string" res="string" item="string" itemid="int" ws="string" owner="string">
<Warnings xsi:nil="true" />
<Message>string</Message>
</Failure>
</Failures>
</ReconcileLocalWorkspaceResult>
</ReconcileLocalWorkspaceResponse>
</soap12:Body>
</soap12:Envelope>