_setStatus
Sets the status of a link request.
Parameters
id
The ID of the link request.
status
An integer representing the status: 0 for Pending, 1 for Accepted and 2 for Denied.
Example
Result
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