# Sends Wake on LAN magic packets to the specified offline computers immediately Executes an immediate Wake on LAN operation by broadcasting UDP magic packets to the specified computers. Accepts a JSON body containing a list of resource IDs and the target platform. Only Windows computers are supported. ## Endpoints **POST** `/dcapi/tools/wol/tasks/executeWakeupNow` ## Request URL `https://{server-hostname}:8383/dcapi/tools/wol/tasks/executeWakeupNow` ## Scope `Tools.UPDATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** (`string`, Mandatory): `application/WakeupNowInfo.v1+json` ### Request Body `application/json` - JSON Object - **resourceIDs** (`JSON Array`, Optional) ## Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/tools/wol/tasks/executeWakeupNow \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/WakeupNowInfo.v1+json' \ --data '{"resourceIDs":[101,202,303]}' ``` ## Sample Request Body ```json { "resourceIDs": [ 101, 202, 303 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - JSON Object - **status** (`string`): Result of the trigger operation: success or failure - **triggeredCount** (`integer`): Number of devices for which the operation was successfully triggered ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "triggeredCount": 3, "status": "success" } ``` **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.