Create a Contract

Create a new contract in your SysAid account.

Body Params

The request body to create a new contract.

string
required
length between 1 and 255

The display name of the contract.

string | null
required

The unique identifier of the linked application. Use the Applications API to retrieve application details.

string
required

The current status of the contract. Allowed values are "active" (currently in effect), "closed" (terminated), "expired" (past its end date; set automatically when the account has automatic expiry turned on), and "pipeline" (planned but not yet active).

string | null

The type of software deployment for this contract. Allowed values are "saas" (cloud-based software), "on-prem" (on-premises software), "hybrid" (combination of cloud and on-premises), and "other".

string | null

The business category of the application. Possible values are "operations", "sales-and-marketing", "developer-tools", "design", "project-management", "customer-success", "human-resources", "it-and-security", "finance", "productivity", "analytics-and-bi" and "other".

date | null

The start date of the contract.

date | null

The end date of the contract.

string | null

The billing frequency for this contract. Allowed values are "annual", "monthly", "multiyear", "quarterly", "one-time", and "free".

number | null
≥ 0

The total monetary value of the contract in the specified currency.

string

The ISO 4217 currency code of the contract value.

integer | null
≥ 0

The number of licenses included in this contract.

boolean
Defaults to false

The option to renew the contract automatically when it reaches its end date. The default is "false".

integer | null
≥ 0

The number of days before the end date by which you must cancel the contract to stop the automatic renewal.

string | null

Free-text notes or comments about the contract.

customFields
object | null

The custom field values of the contract. Each key is the ID of a custom field (CUID). The type of the value depends on the type of the custom field. A "short-text" or "long-text" field takes a string. A "number" field takes a number. A "date" field takes an ISO 8601 date ("YYYY-MM-DD"). A "list" field takes the ID of the selected option. To keep a field unset, do not include its key. The API does not return a value whose field or list option was deleted.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json