Agile · Tasks
Listar lançamentos de tempo
GET
/
api
/
v1
/
tasks
/
{id}
/
time-entries
Listar lançamentos de tempo
curl --request GET \
--url https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries")
.header("X-API-Key", "<api-key>")
.asString();⌘I
Listar lançamentos de tempo
curl --request GET \
--url https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://wisedesk-api.wiseapp360.com/api/v1/tasks/{id}/time-entries")
.header("X-API-Key", "<api-key>")
.asString();