List Users
curl --request GET \
--url https://app.govworx.net/api/v1/external/userimport requests
url = "https://app.govworx.net/api/v1/external/user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.govworx.net/api/v1/external/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.govworx.net/api/v1/external/user"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.govworx.net/api/v1/external/user")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"totalElements": 123,
"totalPages": 123,
"first": true,
"last": true,
"size": 123,
"content": [
{
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"loginEnabled": true,
"notificationEmail": "<string>",
"id": 123,
"tenantId": 123,
"idpSub": "<string>",
"personnelId": "<string>",
"roleId": 123,
"isSuperAdmin": true,
"isSystemUser": true,
"mfaEnabled": true,
"lastLoginAt": "2023-11-07T05:31:56Z",
"isSupervisor": true,
"isTemplatePublishingAllowed": true,
"vlrIdentifier": "<string>",
"passwordExpiresAt": "2023-11-07T05:31:56Z",
"isPasswordExpired": true,
"isSupportUser": true,
"investmentTrainingPipeline": true
}
],
"number": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"numberOfElements": 123,
"pageable": {
"offset": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageNumber": 123,
"pageSize": 123,
"paged": true,
"unpaged": true
},
"empty": true
}Users
List Users
Get a list of users. Token must have ‘Manage Users’ permission.
GET
/
api
/
v1
/
external
/
user
List Users
curl --request GET \
--url https://app.govworx.net/api/v1/external/userimport requests
url = "https://app.govworx.net/api/v1/external/user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.govworx.net/api/v1/external/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.govworx.net/api/v1/external/user"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.govworx.net/api/v1/external/user")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"totalElements": 123,
"totalPages": 123,
"first": true,
"last": true,
"size": 123,
"content": [
{
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"loginEnabled": true,
"notificationEmail": "<string>",
"id": 123,
"tenantId": 123,
"idpSub": "<string>",
"personnelId": "<string>",
"roleId": 123,
"isSuperAdmin": true,
"isSystemUser": true,
"mfaEnabled": true,
"lastLoginAt": "2023-11-07T05:31:56Z",
"isSupervisor": true,
"isTemplatePublishingAllowed": true,
"vlrIdentifier": "<string>",
"passwordExpiresAt": "2023-11-07T05:31:56Z",
"isPasswordExpired": true,
"isSupportUser": true,
"investmentTrainingPipeline": true
}
],
"number": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"numberOfElements": 123,
"pageable": {
"offset": 123,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"pageNumber": 123,
"pageSize": 123,
"paged": true,
"unpaged": true
},
"empty": true
}⌘I

