Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning centerGet All Teams
Get All Teams returns a list of all Teams currently configured on the Leapwork Enterprise Controller. The returned list of Teams will give access to the Name, IDs etc. of the Teams that are needed to call other endpoints in the API.
Please note this endpoint will work with the Leapwork Enterprise Edition only.
http://{controllerMachine}:{controllerPort}/api/v4/team/all
curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v4/team/all'
$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v4/team/all" -ContentType "application/json" -Headers $headers -Method GET
List of variables:
[{ "$id": "1", "Id": "9fb4ef50-6924-471d-8261-052aa8b572c9", "Title": "Team A", "DateCreation": "2018-12-04T07:51:03.4600097+00:00", "DateModify": "2018-12-04T13:21:03.4600097", "CreatedBy": "b53baf84-75f2-4486-8775-819403507433", "ModifiedBy": "b53baf84-75f2-4486-8775-819403507433" }, { "$id": "2", "Id": "47d7f183-d0ea-4730-b529-3b8a743a820d", "Title": "Team B", "DateCreation": "2018-12-04T07:51:03.4600097+00:00", "DateModify": "2018-12-04T13:21:03.4600097", "CreatedBy": "b53baf84-75f2-4486-8775-819403507433", "ModifiedBy": "b53baf84-75f2-4486-8775-819403507433" } ] |
Field | Type | Description | Values |
---|---|---|---|
$id | String | Internal object Id for the Team | |
Title | String | Title of Team | |
DateCreation | DateTime | Team Creation date | |
DateModify | DateTime | Team Modification date | |
CreatedBy | String | UserId of the person who created Team | UserId can be found in the Administration section |
ModifiedBy | String | UserId of the person who modified Team |
Response Code
200 (OK)
404 (Not Found)
401 (Unauthorized)
400 (Bad Request)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.