For the complete documentation index, see llms.txt. This page is also available as Markdown.

_setName

Edit the name of an existing Contract

Parameters

id

The ID of the Contract to be edited

name

The new name of the Contract

Example

FM_api('Contract_setName',[
  'id'=>'34521',
  'name'=>'test contract'
  ]
);

Results

On Success

If the Contract name is successfully updated, the result will be:

On Failure

If the "id" parameter is not set or has an integer value less than 1:

If the "name" parameter has over 64 characters after being trimmed:

If the "name" parameter is empty:

If the "id" parameter does not match the ID of an existing Contract:

Last updated