Duplicate a Contract
Query String Parameters
Action | Type | Description | Required |
---|---|---|---|
Action | String | ContractCopy | Required |
ContractId | Int | See note. | Required |
ContractRef | String | See note. | Required |
TargetContactId | Int | See note. | Required |
TargetContactRef | String | See note. | Required |
CopyFinancialLines | Bool | Include financial lines. | Optional |
CopyJobs | Bool | Include jobs. | Optional |
CopyCompletedJobs | Bool | Include completed jobs. | Optional |
UpdateSameRef | Bool | Set to 1 to update an existing contract. | Optional |
note
Supply either ContractId or ContractRef. If both are provided, ContractId will take precedence.
note
Supply either TargetContactId or TargetContactRef. If both are provided, TargetContactId will take precedence.
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=ContractCopy&ContractId=304734&TargetContactId=30434972&CopyFinancialLines=1&CopyJobs=0&CopyCompletedJobs=0&UpdateSameRef=0
Response Data
{ "Code": 0, "Result": 304735 }