Skip to main content

Duplicate a Contract

Query String Parameters

ActionTypeDescriptionRequired
ActionStringContractCopyRequired
ContractIdIntSee note.Required
ContractRefStringSee note.Required
TargetContactIdIntSee note.Required
TargetContactRefStringSee note.Required
CopyFinancialLinesBoolInclude financial lines.Optional
CopyJobsBoolInclude jobs.Optional
CopyCompletedJobsBoolInclude completed jobs.Optional
UpdateSameRefBoolSet 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 URL

https://webservice.bigchange.com/v01/services.ashx?action=ContractCopy&ContractId=304734&TargetContactId=30434972&CopyFinancialLines=1&CopyJobs=0&CopyCompletedJobs=0&UpdateSameRef=0