Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
cURL
curl --request GET \ --url https://api.dualentry.com/public/v1/classifications/{classification_id}/ \ --header 'X-API-KEY: <api-key>'
import requests url = "https://api.dualentry.com/public/v1/classifications/{classification_id}/" headers = {"X-API-KEY": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}}; fetch('https://api.dualentry.com/public/v1/classifications/{classification_id}/', 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.dualentry.com/public/v1/classifications/{classification_id}/", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "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" "net/http" "io" ) func main() { url := "https://api.dualentry.com/public/v1/classifications/{classification_id}/" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("X-API-KEY", "<api-key>") 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.dualentry.com/public/v1/classifications/{classification_id}/") .header("X-API-KEY", "<api-key>") .asString();
require 'uri' require 'net/http' url = URI("https://api.dualentry.com/public/v1/classifications/{classification_id}/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["X-API-KEY"] = '<api-key>' response = http.request(request) puts response.read_body
{ "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "id": 123, "selections": [ { "id": 123, "name": "<string>", "is_active": true, "parent_id": 123, "parent_name": "<string>" } ], "required_for_records": [ "purchase_order" ], "parent_id": 123, "parent_name": "<string>", "name": "<string>", "created_by": { "actor_type": "<string>", "email": "<string>", "first_name": "<string>", "last_name": "<string>", "via": "<string>", "agent_id": 123, "agent_name": "<string>", "timestamp": "2023-11-07T05:31:56Z" }, "updated_by": { "actor_type": "<string>", "email": "<string>", "first_name": "<string>", "last_name": "<string>", "via": "<string>", "agent_id": 123, "agent_name": "<string>", "timestamp": "2023-11-07T05:31:56Z" }, "approval_status": "<string>", "next_approvers": [ { "id": 123, "first_name": "<string>", "last_name": "<string>", "email": "<string>", "full_name": "<string>", "avatar_url": "<string>" } ], "rejected_by": { "id": 123, "first_name": "<string>", "last_name": "<string>", "email": "<string>", "full_name": "<string>", "avatar_url": "<string>", "rejection_reason": "<string>" }, "code": "<string>", "is_active": true }
Retrieve a single classification dimension by ID.
OK
Date and time the record was created
Date and time the record was last updated
Show child attributes
purchase_order
sales_order
cash_sale
invoice
bill
direct_expense
vendor_credit
journal_entry
intercompany_journal_entry
customer_credit
customer_deposit
customer_payment
item
customer
vendor
statistical_journal
128
Schema for audit actor information.
Rejector info from pre-serialized dict, with the reason of that rejection.
Was this page helpful?