---
title: "Tab: API Tool"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/2078310886/Tab%3A%20API%20Tool"
format: markdown
---
The API Tool is a fast and more ellaborated way to find out and test the data logs for inbound and outbound sync. It's possible to configure a URL and send requests, see what is happening. If there is an Error in the Audit Trail, You can  find out with the API Tool What the Error is exactly or what data is retrieved. You can also use the Reference Documentation in Exact online to create the URL  for the API Tool:[https://start.exactonline.nl/docs/HlpRestAPIResources.aspx](https://start.exactonline.nl/docs/HlpRestAPIResources.aspx) 

### explanation of the URL:

- [https://start.exactonline.nl](https://start.exactonline.nl/api/v1/936047/logistics/Items?$select=ID,Code,Description&$filter=Code%20eq%20%27Bla%27) = the URL of the of the exact online browser
- api/v = ?
- [936047](https://start.exactonline.nl/api/v1/936047/logistics/Items?$select=ID,Code,Description&$filter=Code%20eq%20%27Bla%27) = instance ID. This is different per account
- [logistics](https://start.exactonline.nl/api/v1/936047/logistics/Items?$select=ID,Code,Description&$filter=Code%20eq%20%27Bla%27) = Service
- Items = Object or also called Endpoint
- [?$select=ID,Code,Description](https://start.exactonline.nl/api/v1/936047/logistics/Items?$select=ID,Code,Description&$filter=Code%20eq%20%27Bla%27) = are the fields you want to GET
- [&$filter=Code%20eq%20%27Bla%27](https://start.exactonline.nl/api/v1/936047/logistics/Items?$select=ID,Code,Description&$filter=Code%20eq%20%27Bla%27) = filter you want to create on the fields that you want to retrieve encoded in an URL encoder. this is the same: code= "Bla"

![image](media://1117fec9-cb27-44c8-95e8-d203779cea0b)

Parameters used for the API Tool:

### A better overview for the Response:

1. Open Sublime
2. Paste the Response
3. CMD+Shift+P
4. Select 'Pretty JSON (print)'
5. Choose NEON colors

### Commands:

|  |  |
| --- | --- |
| GET | Inbound sync, retrieves data from e.g. EOL |
| POST | outbound sync, Sends data |
| PUT | outbound sync, when data has been updated |
| PATCH | Updates a resource |
| DELETE | Deletes a resource |

[http://restful-api-design.readthedocs.io/en/latest/methods.html](http://restful-api-design.readthedocs.io/en/latest/methods.html)

  


### Headers:

![image](media://eff6495a-bfa7-48b1-8499-2ba29e80302c)

Unfortunately the labels are not documented by Exact Online.

### Via Audit trail:

1. Get your URL from (for example the audit trail)
2. Go to the API Tool
3. Change for example a filter criteria in the URL