Fetch Jobs
curl --request POST \
--url https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job.search"
}
'import requests
url = "https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search"
payload = { "@entity": "in.co.sandbox.tds.compliance.certificate.job.search" }
headers = {
"authorization": "<authorization>",
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
authorization: '<authorization>',
'x-api-key': '<x-api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({'@entity': 'in.co.sandbox.tds.compliance.certificate.job.search'})
};
fetch('https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search', 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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search",
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([
'@entity' => 'in.co.sandbox.tds.compliance.certificate.job.search'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"authorization: <authorization>",
"x-api-key: <x-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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search"
payload := strings.NewReader("{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("x-api-key", "<x-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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search")
.header("authorization", "<authorization>")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["authorization"] = '<authorization>'
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1616223746147,
"transaction_id": "f24cd229-42c8-43de-af79-8ce2d3c4c3db",
"data": {
"@entity": "in.co.sandbox.tds.compliance.certificate.paginated_list",
"items": [
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714529043000,
"updated_at": 1714529044000,
"status": "succeeded",
"remember_me": true
},
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714527043000,
"updated_at": 1714527044000,
"status": "failed",
"message": "Invalid credentials",
"remember_me": false
},
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714530043000,
"updated_at": 1714530044000,
"status": "failed",
"message": "Form not available for the given quarter and financial year",
"remember_me": false
}
],
"last_evaluated_key": "eydadadadada...=="
}
}Fetch Jobs
Get all jobs created for downloading Form 16 & Form16A
POST
/
tds
/
compliance
/
traces
/
deductors
/
forms
/
{certificate_type}
/
search
Fetch Jobs
curl --request POST \
--url https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job.search"
}
'import requests
url = "https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search"
payload = { "@entity": "in.co.sandbox.tds.compliance.certificate.job.search" }
headers = {
"authorization": "<authorization>",
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
authorization: '<authorization>',
'x-api-key': '<x-api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({'@entity': 'in.co.sandbox.tds.compliance.certificate.job.search'})
};
fetch('https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search', 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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search",
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([
'@entity' => 'in.co.sandbox.tds.compliance.certificate.job.search'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"authorization: <authorization>",
"x-api-key: <x-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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search"
payload := strings.NewReader("{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("x-api-key", "<x-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://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search")
.header("authorization", "<authorization>")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/tds/compliance/traces/deductors/forms/{certificate_type}/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["authorization"] = '<authorization>'
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"@entity\": \"in.co.sandbox.tds.compliance.certificate.job.search\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1616223746147,
"transaction_id": "f24cd229-42c8-43de-af79-8ce2d3c4c3db",
"data": {
"@entity": "in.co.sandbox.tds.compliance.certificate.paginated_list",
"items": [
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714529043000,
"updated_at": 1714529044000,
"status": "succeeded",
"remember_me": true
},
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714527043000,
"updated_at": 1714527044000,
"status": "failed",
"message": "Invalid credentials",
"remember_me": false
},
{
"@entity": "in.co.sandbox.tds.compliance.certificate.job",
"job_id": "096c4812-1829-4ee1-a3c6-3bd291654b72",
"tan": "AHMS12345C",
"financial_year": "FY 2023-24",
"quarter": "Q2",
"form": "26Q",
"created_at": 1714530043000,
"updated_at": 1714530044000,
"status": "failed",
"message": "Form not available for the given quarter and financial year",
"remember_me": false
}
],
"last_evaluated_key": "eydadadadada...=="
}
}Headers
JWT access token
API key for identification
Path Parameters
Body
application/json
Available options:
in.co.sandbox.tds.compliance.certificate.job.search Regular Expression: [A-Z]{4}[0-9]{5}[A-Z]{1}
Quarter (e.g. Q2)
TDS return form
Financial Year (e.g. FY 2022-23)
Date from which jobs are to be fetched. Value in EPOCH timestamp
Date till which jobs are to be fetched. Value in EPOCH timestamp
Number of records in the API response. Maximum allowed size is 50
Base64 encoding of the stringified JSON object, which includes x-api-key, created_at, and job_id
Was this page helpful?
⌘I