> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/contract/_get.md).

# \_get

Get Contract data

### Parameters

* id - the contract to get

### Example

```
FM_api(
	'Contract_get',
	array(
		'id'=>'9'
	)
);
```

### Result

The result should look something like this:

```
{"id":"9","name":"Test Contract","appointments":"[]","cdate":"2016-08-10 16:40:45","notes":"Some notes","last_edited":"2016-08-10 16:40:45","created_by":"1234","active":"1","customers":null,"custom":null,"budget":"0","expiry_date":null}
```

If the contract does not exist, then the result will be:

```
false
```
