_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

Last updated