_get
Gathers the data of a certain Form Block from its given ID.
Parameter
id
The ID of the Form Block to have its data returned.
Example
FM_api('FormBlock_get',[
'id'=>'12345'
]
);
Results
On Success
{"id":"1","type":"0","name":"test_name","image":"92447\/formblocks\/test_image.png","code":null,"parent":"0","cdate":"1669565479","last_edited":"1732456417"}
On Failure
If the "id" parameter is not set or has a value less than 1:
{"error":"invalid or missing parameter: id"}
If the "id" parameter does not match the ID of an existing Form Block:
{"error":"no such form block"}
Last updated