Send Synology Surveillance motion events to HA switch

OK, making some progress. Now have an API controlled input_boolean.

http://ipofhass:8123/api/services/input_boolean/turn_on
{
    "entity_id": "input_boolean.motion_entrance"
}

Can someone help me format that into a string I can use with the Synology action rule wizard?