AutoEnrolment
Get auto enrolmentnot complete
GET
/
auto-enrolment
/
not-complete
cURL
curl --request GET \
--url https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-completeimport requests
url = "https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete', 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.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete",
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://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete"
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://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete")
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{
"content": {
"data": [
{
"organisationId": "<string>",
"employeeId": "<string>",
"determinationDate": "2023-12-25",
"revisionNumber": 123,
"status": "<string>",
"associatedPayRunId": {
"organisationId": "<string>",
"year": 123,
"period": 123,
"frequency": "<string>",
"payrollConfigId": "<string>"
},
"employee": {
"organisationId": "<string>",
"employeeId": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"didPostpone": true,
"didPostponementExpire": true,
"postponementEndDate": "2023-12-25"
}
],
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>"
}
},
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>"
},
"errors": [
{
"field": "<string>",
"reasonText": "<string>",
"reasonId": "<string>",
"reasonParameters": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"message": {
"text": "<string>",
"textId": "<string>",
"textParameters": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}Was this page helpful?
⌘I
cURL
curl --request GET \
--url https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-completeimport requests
url = "https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete', 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.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete",
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://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete"
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://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.flowpayroll.ai/v2/pension/auto-enrolment/not-complete")
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{
"content": {
"data": [
{
"organisationId": "<string>",
"employeeId": "<string>",
"determinationDate": "2023-12-25",
"revisionNumber": 123,
"status": "<string>",
"associatedPayRunId": {
"organisationId": "<string>",
"year": 123,
"period": 123,
"frequency": "<string>",
"payrollConfigId": "<string>"
},
"employee": {
"organisationId": "<string>",
"employeeId": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"didPostpone": true,
"didPostponementExpire": true,
"postponementEndDate": "2023-12-25"
}
],
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>"
}
},
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>"
},
"errors": [
{
"field": "<string>",
"reasonText": "<string>",
"reasonId": "<string>",
"reasonParameters": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"message": {
"text": "<string>",
"textId": "<string>",
"textParameters": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}