---
schema_version: "1"
id: 78f6d01f54b79c09c5aa6ddce43cb70dc00c9a03504dbce7b59b0e86d1056f93
title: ConnectApi.ContractInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_contract.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_contract.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 67035ae6156840b5dddcdb69952fecaf00537da32ad85973920bb0828b1d0e4f
description: Input to create and update contract.
---
# ConnectApi.ContractInputRepresentation

Input to create and update contract.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| isAutoDocgenRequired | Boolean | Specifies whether automatic document generation is required or not. | Required | 56.0 |
| recordTypeName | String | Contract record type name. | Optional | 56.0 |
| sourceObjectId | String | Source record ID. | Required | 56.0 |
| templateName | String | Document template name for document generation. | Optional | 56.0 |