# Retrieves available target options for scheduling a Wake on LAN task Returns the available target groups, computers, or custom groups that can be selected when scheduling a Wake on LAN task. Accepts 'platform' and 'isDetailView' query parameters for filtering and detail level. ## Endpoints GET `/dcapi/tools/wol/targetDetails` ## Request URL `https://{server-hostname}:8383/dcapi/tools/wol/targetDetails` ## Scope `Tools.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory**: `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/wol/targetDetails \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **targets** `array`: Array of target objects with targetType (CustomGroup/Domain), targetName, targetId, and computerCount ### Sample Response: HTTP 200 ```json { "targets": [ { "computerCount": 40, "targetName": "Engineering", "targetId": 1, "targetType": "CustomGroup" }, { "computerCount": 85, "targetName": "CORP", "targetId": 0, "targetType": "Domain" } ] } ``` ## Possible Response Codes - **200** `HTTP code` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.