Create Contract Document Generation Action
Create a contract for a specified record.
This action is available in API version 61.0 and later.
URI: /services/data/vXX.X/actions/standard/createClmContract
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
contractRecordType | String | Required API name of the contract record type |
documentTemplateName | String | Required Name of the document template to use when creating the contract |
sourceRecordId | ID | Required ID of the record to use to populate the fields on the contract |
isCreateContractDocument | Boolean | Required Indicates whether to create a contract document in addition to the contract ( true) or not (false). |
| Output | Type | Description |
|---|---|---|
contractId | String | Collection that contains the ID of the contract that was created |
- Sample Input
This sample request is for the Create Contract Document Generation action.
- Sample Output
This sample response is for the Create Contract Document Generation action.