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

_decision

Sets what decision will be done for a pending Availability made.

Parameter

id

The ID of the Availability which will be decided on.

status

What will be done with the Availability:

  • 1 = Approve

  • 2 = Reject

  • 3 = Cancel

Example

FM_api('Availability_decision',[
	  'id'=>'60004',
		'status'=>'3'
	]
);

Result

On Failure

If the "id" parameter is not set or it does not match the ID of an existing Availability:

If the "status" parameter is set to a value outside 1, 2 or 3:

Last updated