_delete
Deletes a chosen Marketing Expense
Parameter
id
The ID of the Marketing Expense to be deleted
Example
FM_api(
'MarketingExpense_delete',[
'id' => '19'
]
);
Results
On Success
{"ok":1}
On Failure
If the "id" parameter is not set, or is less than 1
{"error":"invalid or missing parameter: id"}
If there is no Marketing Expense found linked to the ID given
{"error":"no such marketing expense"}
Last updated