Aktivite Görev Getir
Aktivite Görev Getir, Evobulut ön muhasebe / ERP yazılımının Aktivite modülüne ait bir REST API servisidir. POST yöntemiyle https://ws.evobulut.com/api/Potansiyel/base adresine JSON gönderilerek çağrılır; kimlik doğrulama için Login servisinden alınan Token UID değeri gereklidir.
Açıklama
| cmd | İlgili komut |
| UID | KULLANICI_UID |
| kayit_id | Kayıt ID |
| modul_id | Modül ID |
Header Bilgileri
| X-ClientId | Login anında alınan kullanıcı Token UID bilgisi |
İstek Gövdesi (JSON)
{
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
} Kod Örnekleri
curl -X POST "https://ws.evobulut.com/api/Potansiyel/base" \
-H "Content-Type: application/json" \
-d '{
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}'const response = await fetch("https://ws.evobulut.com/api/Potansiyel/base", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
})
});
const veri = await response.json();
console.log(veri);using System.Text;
using System.Text.Json;
using var client = new HttpClient();
var json = """
{
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}
""";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://ws.evobulut.com/api/Potansiyel/base", content);
var veri = await response.Content.ReadAsStringAsync();
Console.WriteLine(veri);import requests
url = "https://ws.evobulut.com/api/Potansiyel/base"
payload = {
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}
response = requests.post(url, json=payload)
print(response.json())<?php
$url = "https://ws.evobulut.com/api/Potansiyel/base";
$payload = '{
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;import java.net.URI;
import java.net.http.*;
HttpClient client = HttpClient.newHttpClient();
String json = """
{
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://ws.evobulut.com/api/Potansiyel/base"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString(json))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());import 'dart:convert';
import 'package:http/http.dart' as http;
final response = await http.post(
Uri.parse('https://ws.evobulut.com/api/Potansiyel/base'),
headers: {'Content-Type': 'application/json'},
body: jsonEncode({
"cmd": "aktivite_gorev_getir",
"UID": "KULLANICI_UID",
"kayit_id": "2381",
"modul_id": "2021"
}),
);
print(jsonDecode(response.body)); Başarılı Yanıt
200 OK
{
"status": "OK",
"veri": {
"Aktivite": [
{
"a_icerik": "<p>Evobulut Test Ekibi</p><p><br></p>",
"a_konu": "56461",
"a_tarih": "31.03.2023 16:06:00",
"a_saat": "01.01.1900 16:06:00",
"a_cdate": "31.03.2023 16:06:27",
"a_cuser": "Ali ALKAN",
"a_id": "8123",
"a_tip_adi": "Giden Mail",
"a_modul_id": "2021"
},
{
"a_icerik": "",
"a_konu": "",
"a_tarih": "31.03.2023 00:00:00",
"a_saat": "01.01.1900 16:05:00",
"a_cdate": "31.03.2023 16:05:31",
"a_cuser": "Ali ALKAN",
"a_id": "8122",
"a_tip_adi": "Musteri Ziyareti",
"a_modul_id": "2021"
},
{
"a_icerik": "Ddgg",
"a_konu": "54561646561616156164",
"a_tarih": "31.03.2023 16:04:00",
"a_saat": "01.01.1900 16:03:00",
"a_cdate": "31.03.2023 16:04:18",
"a_cuser": "Ali ALKAN",
"a_id": "8121",
"a_tip_adi": "Giden Mail",
"a_modul_id": "2021"
},
{
"a_icerik": "",
"a_konu": "",
"a_tarih": "31.03.2023 00:00:00",
"a_saat": "01.01.1900 15:59:00",
"a_cdate": "31.03.2023 16:00:24",
"a_cuser": "Ali ALKAN",
"a_id": "8120",
"a_tip_adi": "Musteri Ziyareti",
"a_modul_id": "2021"
},
{
"a_icerik": "",
"a_konu": "",
"a_tarih": "31.03.2023 00:00:00",
"a_saat": "01.01.1900 15:19:00",
"a_cdate": "31.03.2023 15:19:43",
"a_cuser": "Ali ALKAN",
"a_id": "8119",
"a_tip_adi": "Musteri Ziyareti",
"a_modul_id": "2021"
},
{
"a_icerik": "Ahmet aradi felam falan knks",
"a_konu": "",
"a_tarih": "31.12.2018 00:00:00",
"a_saat": "01.01.1900 12:00:00",
"a_cdate": "26.05.2022 16:15:40",
"a_cuser": "Okan CELIK",
"a_id": "3465",
"a_tip_adi": "Gelen Arama",
"a_modul_id": "2021"
}
],
"Gorev": [
{
"a_id": "10487",
"a_adi": "x",
"a_durum": "1",
"a_tarih": "05.04.2023 00:00:00",
"a_cdate": "05.04.2023 10:21:20",
"kulal_adi": "Ali ALKAN",
"son_aciklama": "",
"mus_adi": " Test"
},
{
"a_id": "10486",
"a_adi": "x",
"a_durum": "1",
"a_tarih": "05.04.2023 00:00:00",
"a_cdate": "05.04.2023 10:19:57",
"kulal_adi": "Ali ALKAN",
"son_aciklama": "",
"mus_adi": " Test"
},
{
"a_id": "10485",
"a_adi": "x",
"a_durum": "1",
"a_tarih": "05.04.2023 00:00:00",
"a_cdate": "05.04.2023 10:17:32",
"kulal_adi": "Ali ALKAN",
"son_aciklama": "",
"mus_adi": " Test"
}
]
}
} Aktivite modülündeki diğer servisler