Ana Sayfa › Genel İşlemler › Kullanıcı Listesi
Kullanıcı Listesi
Kullanıcı Listesi, Evobulut ön muhasebe / ERP yazılımının Genel İşlemler modülüne ait bir REST API servisidir. POST yöntemiyle https://ws.evobulut.com/api/General/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 |
| ara | Arama yazısı |
Header Bilgileri
| X-ClientId | Login anında alınan kullanıcı Token UID bilgisi |
İstek Gövdesi (JSON)
{
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
} Kod Örnekleri
curl -X POST "https://ws.evobulut.com/api/General/base/" \
-H "Content-Type: application/json" \
-d '{
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}'const response = await fetch("https://ws.evobulut.com/api/General/base/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
})
});
const veri = await response.json();
console.log(veri);using System.Text;
using System.Text.Json;
using var client = new HttpClient();
var json = """
{
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}
""";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://ws.evobulut.com/api/General/base/", content);
var veri = await response.Content.ReadAsStringAsync();
Console.WriteLine(veri);import requests
url = "https://ws.evobulut.com/api/General/base/"
payload = {
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}
response = requests.post(url, json=payload)
print(response.json())<?php
$url = "https://ws.evobulut.com/api/General/base/";
$payload = '{
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}';
$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": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://ws.evobulut.com/api/General/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/General/base/'),
headers: {'Content-Type': 'application/json'},
body: jsonEncode({
"cmd": "user_list",
"UID": "KULLANICI_UID",
"ara": ""
}),
);
print(jsonDecode(response.body)); Başarılı Yanıt
200 OK
{
"status": "OK",
"veri": {
"Ana": [
{
"a_id": "29459",
"a_username": "[email protected]",
"a_name": "Hasan Tasan"
"a_departman_adi": "Yönetim",
"a_departman_id": "1",
},
{
"a_id": "26027",
"a_username": "[email protected]",
"a_name": "Api Kullanici"
"a_departman_adi": "Satış",
"a_departman_id": "2",
},
{
"a_id": "7767",
"a_username": "[email protected]",
"a_departman_adi": "Yönetim",
"a_departman_id": "1",
"a_name": "Joe test user"
}
]
}
}
Genel İşlemler modülündeki diğer servisler