Sets the status of a link request.



The ID of the link request.


An integer representing the status: 0 for Pending, 1 for Accepted and 2 for Denied.


FM_api('Outsourcing_requestLink', ['id' => '1', 'status' => '1']);


On Success


On Failure

If the user is not logged in: {'error':'not logged in'}

If no link request ID is supplied: {'error':'no ID'}

If no status integer is supplied: {'error':'no status'}

If a link request does not exist or does not connect to your FieldMotion account: {'error':'link does not exist, or is not your link'}

If a link request already has the supplied status: {'error':'link already has that status'}

Last updated