| POST | /{Workspace}/WorkspaceClone/ |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Workspace | path | string | No | |
| DestinationWorkspaceId | body | string | No | |
| NewWorkspaceName | body | string | No | |
| CloneAssets | body | bool | No | |
| CloneContacts | body | bool | No | |
| CloneDocuments | body | bool | No | |
| CloneHistory | body | bool | No | |
| CloneImages | body | bool | No | |
| CloneSchedules | body | bool | No | |
| CloneTasks | body | bool | No | |
| CloneUsers | body | bool | No | |
| GuessUserDomain | body | bool | No | |
| UserDomain | body | string | No | |
| NotificationEmail | body | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /{Workspace}/WorkspaceClone/ HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Workspace":"String","DestinationWorkspaceId":"String","NewWorkspaceName":"String","CloneAssets":false,"CloneContacts":false,"CloneDocuments":false,"CloneHistory":false,"CloneImages":false,"CloneSchedules":false,"CloneTasks":false,"CloneUsers":false,"GuessUserDomain":false,"UserDomain":"String","NotificationEmail":"String"}