cURL
curl --request GET \
--url https://api.smartbills.io/api/taxonomy/classifications/unverifiedimport requests
url = "https://api.smartbills.io/api/taxonomy/classifications/unverified"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.smartbills.io/api/taxonomy/classifications/unverified', 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.smartbills.io/api/taxonomy/classifications/unverified",
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.smartbills.io/api/taxonomy/classifications/unverified"
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.smartbills.io/api/taxonomy/classifications/unverified")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.smartbills.io/api/taxonomy/classifications/unverified")
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[
{
"id": 123,
"lineItemId": 123,
"taxonomyId": 123,
"taxonomy": {
"id": 123,
"taxonomyId": "<string>",
"name": "<string>",
"fullName": "<string>",
"path": "<string>",
"level": 123,
"handle": "<string>",
"vertical": "<string>",
"verticalPrefix": "<string>",
"verticalId": 123,
"taxonomyVertical": {
"id": 123,
"name": "<string>",
"prefix": "<string>",
"handle": "<string>",
"categories": "<array>",
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>"
}
]
},
"parentId": 123,
"parent": "<unknown>",
"children": "<array>",
"attributes": [
{
"id": 123,
"taxonomyId": "<string>",
"name": "<string>",
"handle": "<string>",
"description": "<string>",
"categoryId": 123,
"values": [
{
"id": 123,
"taxonomyId": "<string>",
"value": "<string>",
"handle": "<string>",
"attributeId": 123,
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"value": "<string>"
}
]
}
],
"isRequired": true,
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"description": "<string>"
}
]
}
],
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"fullName": "<string>"
}
]
},
"suggestedLedgerAccountId": 123,
"suggestedLedgerAccount": {
"id": 123,
"code": "<string>",
"currency": "<string>",
"isSystemDefined": true,
"locale": "<string>",
"name": "<string>",
"description": "<string>",
"isActive": true,
"parentAccountId": 123,
"parentAccount": "<unknown>",
"subAccounts": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"description": "<string>",
"createdById": 123
}
]
},
"confidenceScore": 123,
"classificationMethod": "<string>",
"isVerified": true,
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Taxonomy
Get apitaxonomyclassificationsunverified
GET
/
api
/
taxonomy
/
classifications
/
unverified
cURL
curl --request GET \
--url https://api.smartbills.io/api/taxonomy/classifications/unverifiedimport requests
url = "https://api.smartbills.io/api/taxonomy/classifications/unverified"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.smartbills.io/api/taxonomy/classifications/unverified', 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.smartbills.io/api/taxonomy/classifications/unverified",
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.smartbills.io/api/taxonomy/classifications/unverified"
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.smartbills.io/api/taxonomy/classifications/unverified")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.smartbills.io/api/taxonomy/classifications/unverified")
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[
{
"id": 123,
"lineItemId": 123,
"taxonomyId": 123,
"taxonomy": {
"id": 123,
"taxonomyId": "<string>",
"name": "<string>",
"fullName": "<string>",
"path": "<string>",
"level": 123,
"handle": "<string>",
"vertical": "<string>",
"verticalPrefix": "<string>",
"verticalId": 123,
"taxonomyVertical": {
"id": 123,
"name": "<string>",
"prefix": "<string>",
"handle": "<string>",
"categories": "<array>",
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>"
}
]
},
"parentId": 123,
"parent": "<unknown>",
"children": "<array>",
"attributes": [
{
"id": 123,
"taxonomyId": "<string>",
"name": "<string>",
"handle": "<string>",
"description": "<string>",
"categoryId": 123,
"values": [
{
"id": 123,
"taxonomyId": "<string>",
"value": "<string>",
"handle": "<string>",
"attributeId": 123,
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"value": "<string>"
}
]
}
],
"isRequired": true,
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"description": "<string>"
}
]
}
],
"isActive": true,
"locale": "<string>",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"fullName": "<string>"
}
]
},
"suggestedLedgerAccountId": 123,
"suggestedLedgerAccount": {
"id": 123,
"code": "<string>",
"currency": "<string>",
"isSystemDefined": true,
"locale": "<string>",
"name": "<string>",
"description": "<string>",
"isActive": true,
"parentAccountId": 123,
"parentAccount": "<unknown>",
"subAccounts": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"translations": [
{
"id": 123,
"locale": "<string>",
"parentId": 123,
"name": "<string>",
"description": "<string>",
"createdById": 123
}
]
},
"confidenceScore": 123,
"classificationMethod": "<string>",
"isVerified": true,
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I