---
title: "Create a Contract"
method: POST
path: "/api/record/Contract"
---

# Create a Contract

`POST /api/record/Contract`

## Request body

- object
  - `contractname` string, required — Name (Primary)
  - `accountid` string — The related account's GUID.
  - `contractnumber` string — Number of the contract.
  - `description` string — Description of up to 4,000 characters.
  - `duration` string — Length of contract in months.
  - `enddate` string, date — End date of contract in UTC format.
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `price` number, float — Price of the contract.
  - `servicelevelcode` integer — Level of service (Picklist).
  - `servicetypecode` integer — Type of service (Picklist).
  - `startdate` string, date — Start date of contract in UTC format.
  - `statecode` integer — State (Picklist)
  - `statuscode` integer — Status (Picklist)
  - `supporthours` number, float — Monthly support hours.

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

[API](https://skmtc.net/fireberry/apis/fireberry-api.md) · [All operations](https://skmtc.net/fireberry/apis/fireberry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fireberry/fireberry-api/versions/ad6720f3920f/schema)
