curl --request POST \
--url https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"columns": [
"<string>"
],
"filters": {
"amount": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"census_data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"class": [
"<string>"
],
"data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"error": [
"<string>"
],
"group": [
"<string>"
],
"search": "<string>",
"show_terminated_employees": true,
"status": [
"<string>"
]
},
"page": {
"limit": 123,
"skip": 123
},
"plan_id": "<string>",
"sort": {
"field": "<string>",
"last": "<unknown>",
"order": 123
}
}
'import requests
url = "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list"
payload = {
"columns": ["<string>"],
"filters": {
"amount": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"census_data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"class": ["<string>"],
"data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"error": ["<string>"],
"group": ["<string>"],
"search": "<string>",
"show_terminated_employees": True,
"status": ["<string>"]
},
"page": {
"limit": 123,
"skip": 123
},
"plan_id": "<string>",
"sort": {
"field": "<string>",
"last": "<unknown>",
"order": 123
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
columns: ['<string>'],
filters: {
amount: [{key: '<string>', op: '<string>', value: '<unknown>'}],
census_data: [{key: '<string>', op: '<string>', value: '<unknown>'}],
class: ['<string>'],
data: [{key: '<string>', op: '<string>', value: '<unknown>'}],
error: ['<string>'],
group: ['<string>'],
search: '<string>',
show_terminated_employees: true,
status: ['<string>']
},
page: {limit: 123, skip: 123},
plan_id: '<string>',
sort: {field: '<string>', last: '<unknown>', order: 123}
})
};
fetch('https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list', 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://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'columns' => [
'<string>'
],
'filters' => [
'amount' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'census_data' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'class' => [
'<string>'
],
'data' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'error' => [
'<string>'
],
'group' => [
'<string>'
],
'search' => '<string>',
'show_terminated_employees' => true,
'status' => [
'<string>'
]
],
'page' => [
'limit' => 123,
'skip' => 123
],
'plan_id' => '<string>',
'sort' => [
'field' => '<string>',
'last' => '<unknown>',
'order' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list"
payload := strings.NewReader("{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"employees": [
{
"_id": "<string>",
"census": {
"_id": "<string>",
"address": {
"city": "<string>",
"country": "<string>",
"state": "<string>",
"street": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"email": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"first_name": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"location_code": "<string>",
"not_employee": true,
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"entry_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"status": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>"
},
"classes": [
"<string>"
],
"client": "<string>",
"ct_group_code": "<string>",
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"first_name": "<string>",
"group": "<string>",
"hire_date": "<string>",
"last_name": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"prior_year_census": {
"birth_date": "<string>",
"hire_date": "<string>",
"ownership_percentage": 123,
"plans_data": [
{
"eligibility_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"entry_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"status": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"principal": "<string>",
"rehire_date": "<string>",
"termination_date": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
}
},
"rehire_date": "<string>",
"ssn": "<string>",
"termination_date": "<string>"
}
],
"groups": [
"<string>"
],
"issues": [
"<string>"
],
"total": 123
}{}{}List participants
List participants for the census resource table. Filters are applied to the complete accessible population before sorting and pagination; total is the full filtered count. Each row includes classifications, current/prior-year census fields, phone/address, validation issues, effective selected-plan values, eligibility/entry dates, and stored vesting status/percentage/date by money type. MEP/PEP rows preserve the employee’s actual joinder plan_id. Supported sort fields: errors, ssn_last_4, first_name, last_name, classes, birth_date, age, hire_date, termination_date, termination_reason, rehire_date, employment_type, gross_pay, hours_worked, ee_plan_compensation, er_match_plan_compensation, sh_plan_compensation, psne_plan_compensation, ee_pre_tax, ee_roth, er_match, sh_match, sh_non_elective, qaca_match, psne, ownership, is_officer, principal, relationship, email. Sort order must be 1 or -1; missing values are always last.
curl --request POST \
--url https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"columns": [
"<string>"
],
"filters": {
"amount": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"census_data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"class": [
"<string>"
],
"data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"error": [
"<string>"
],
"group": [
"<string>"
],
"search": "<string>",
"show_terminated_employees": true,
"status": [
"<string>"
]
},
"page": {
"limit": 123,
"skip": 123
},
"plan_id": "<string>",
"sort": {
"field": "<string>",
"last": "<unknown>",
"order": 123
}
}
'import requests
url = "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list"
payload = {
"columns": ["<string>"],
"filters": {
"amount": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"census_data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"class": ["<string>"],
"data": [
{
"key": "<string>",
"op": "<string>",
"value": "<unknown>"
}
],
"error": ["<string>"],
"group": ["<string>"],
"search": "<string>",
"show_terminated_employees": True,
"status": ["<string>"]
},
"page": {
"limit": 123,
"skip": 123
},
"plan_id": "<string>",
"sort": {
"field": "<string>",
"last": "<unknown>",
"order": 123
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
columns: ['<string>'],
filters: {
amount: [{key: '<string>', op: '<string>', value: '<unknown>'}],
census_data: [{key: '<string>', op: '<string>', value: '<unknown>'}],
class: ['<string>'],
data: [{key: '<string>', op: '<string>', value: '<unknown>'}],
error: ['<string>'],
group: ['<string>'],
search: '<string>',
show_terminated_employees: true,
status: ['<string>']
},
page: {limit: 123, skip: 123},
plan_id: '<string>',
sort: {field: '<string>', last: '<unknown>', order: 123}
})
};
fetch('https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list', 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://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'columns' => [
'<string>'
],
'filters' => [
'amount' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'census_data' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'class' => [
'<string>'
],
'data' => [
[
'key' => '<string>',
'op' => '<string>',
'value' => '<unknown>'
]
],
'error' => [
'<string>'
],
'group' => [
'<string>'
],
'search' => '<string>',
'show_terminated_employees' => true,
'status' => [
'<string>'
]
],
'page' => [
'limit' => 123,
'skip' => 123
],
'plan_id' => '<string>',
'sort' => [
'field' => '<string>',
'last' => '<unknown>',
'order' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list"
payload := strings.NewReader("{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}/_list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"columns\": [\n \"<string>\"\n ],\n \"filters\": {\n \"amount\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"census_data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"class\": [\n \"<string>\"\n ],\n \"data\": [\n {\n \"key\": \"<string>\",\n \"op\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"error\": [\n \"<string>\"\n ],\n \"group\": [\n \"<string>\"\n ],\n \"search\": \"<string>\",\n \"show_terminated_employees\": true,\n \"status\": [\n \"<string>\"\n ]\n },\n \"page\": {\n \"limit\": 123,\n \"skip\": 123\n },\n \"plan_id\": \"<string>\",\n \"sort\": {\n \"field\": \"<string>\",\n \"last\": \"<unknown>\",\n \"order\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"employees": [
{
"_id": "<string>",
"census": {
"_id": "<string>",
"address": {
"city": "<string>",
"country": "<string>",
"state": "<string>",
"street": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"email": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"first_name": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"location_code": "<string>",
"not_employee": true,
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"entry_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"status": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>"
},
"classes": [
"<string>"
],
"client": "<string>",
"ct_group_code": "<string>",
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"first_name": "<string>",
"group": "<string>",
"hire_date": "<string>",
"last_name": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"prior_year_census": {
"birth_date": "<string>",
"hire_date": "<string>",
"ownership_percentage": 123,
"plans_data": [
{
"eligibility_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"entry_date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"status": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"principal": "<string>",
"rehire_date": "<string>",
"termination_date": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
}
},
"rehire_date": "<string>",
"ssn": "<string>",
"termination_date": "<string>"
}
],
"groups": [
"<string>"
],
"issues": [
"<string>"
],
"total": 123
}{}{}Authorizations
Body
List participants request