boekt.online API
Versie 1
Read and change the data of one organisation in boekt.online.
Every request needs an API key in the Authorization header. A key only sees its own organisation. Lists are paginated and may be filtered by their last update time.
Aanmelden met een sleutel
Authorization: Bearer gt_...
Zet je sleutel in elk verzoek in de kopregel Authorization.
De technische beschrijving
Hetzelfde bestand als deze pagina, in de vorm die gereedschap als Postman of een codegenerator inleest.
Dezelfde tekst, plat
Zet .md achter het adres van een documentatiepagina en je krijgt hem als platte tekst. Handig als je een assistent laat meelezen. In llms.txt staat de hele lijst.
Zelf uitproberen
Plak een sleutel en druk op Probeer bij een aanroep hieronder. De sleutel blijft in deze browser en gaat nooit naar onze server. Het voorvoegsel kiest de omgeving: een sleutel die met gt_test_ begint gaat naar de proefomgeving.
Dit gaat nu naar:
Opdrachtgevers
/api/v1/customers
List clients
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records Customer -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/customers
Create a client
Wat je meegeeft
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "customer": { ... } }
-
namestring -
emailstring of leeg -
phonestring of leeg -
addressstring of leeg -
external_idstring of leeg -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
201The new record Customer -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/customers/{id}
Show a client
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record Customer -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
/api/v1/customers/{id}
Change a client
Wat je meegeeft
-
idinteger jain het pad
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "customer": { ... } }
-
namestring -
emailstring of leeg -
phonestring of leeg -
addressstring of leeg -
external_idstring of leeg -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Customer -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/customers/{id}
Change a client
Wat je meegeeft
-
idinteger jain het pad
Wat je stuurt
{ "customer": { ... } }
-
namestring -
emailstring of leeg -
phonestring of leeg -
addressstring of leeg -
external_idstring of leeg -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Customer -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
Projecten
/api/v1/projects
List projects
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records Project -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/projects
Create a project for a client of this organisation
Wat je meegeeft
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "project": { ... } }
-
customer_idinteger -
namestring -
descriptionstring of leeg -
activeboolean -
servicestring of leeg -
budget_hoursnumber of leeg -
budget_other_costsnumber of leeg -
fixed_priceboolean -
fixed_price_amountnumber of leeg -
fixed_price_includes_materialsboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
201The new record Project -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/projects/{id}
Show a project
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record Project -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
/api/v1/projects/{id}
Change a project
Wat je meegeeft
-
idinteger jain het pad
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "project": { ... } }
-
customer_idinteger -
namestring -
descriptionstring of leeg -
activeboolean -
servicestring of leeg -
budget_hoursnumber of leeg -
budget_other_costsnumber of leeg -
fixed_priceboolean -
fixed_price_amountnumber of leeg -
fixed_price_includes_materialsboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Project -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/projects/{id}
Change a project
Wat je meegeeft
-
idinteger jain het pad
Wat je stuurt
{ "project": { ... } }
-
customer_idinteger -
namestring -
descriptionstring of leeg -
activeboolean -
servicestring of leeg -
budget_hoursnumber of leeg -
budget_other_costsnumber of leeg -
fixed_priceboolean -
fixed_price_amountnumber of leeg -
fixed_price_includes_materialsboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Project -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
Tijdregistraties
/api/v1/time_entries
List time entries
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records TimeEntry -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/time_entries/{id}
Show a time entry
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record TimeEntry -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
Facturen
/api/v1/invoices/{id}/booked
Record the invoice number another package gave this invoice
Wat je meegeeft
-
idinteger jain het pad
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "invoice": { ... } }
-
external_invoice_idstring ja
Wat je terugkrijgt
-
200The changed invoice Invoice -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/invoices
List invoices issued by this organisation
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records Invoice -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/invoices/{id}
Show an invoice with its lines
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record Invoice -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
Diensten
/api/v1/services
List services
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records Service -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/services
Create a service
Wat je meegeeft
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "service": { ... } }
-
namestring -
descriptionstring of leeg -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
201The new record Service -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/services/{id}
Show a service
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record Service -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
/api/v1/services/{id}
Change a service
Wat je meegeeft
-
idinteger jain het pad
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "service": { ... } }
-
namestring -
descriptionstring of leeg -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Service -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/services/{id}
Change a service
Wat je meegeeft
-
idinteger jain het pad
Wat je stuurt
{ "service": { ... } }
-
namestring -
descriptionstring of leeg -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Service -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
Materialen
/api/v1/materials
List materials
Wat je meegeeft
-
pageintegerstandaard 1, minimaal 1
-
per_pageintegerstandaard 25, minimaal 1, hoogstens 100
-
updated_sincestring, date-timeOnly records changed at or after this moment
Wat je terugkrijgt
-
200A page of records Material -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
400A parameter or the JSON request is invalid.
/api/v1/materials
Create a material
Wat je meegeeft
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "material": { ... } }
-
namestring -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
201The new record Material -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/materials/{id}
Show a material
Wat je meegeeft
-
idinteger jain het pad
Wat je terugkrijgt
-
200The requested record Material -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation.
/api/v1/materials/{id}
Change a material
Wat je meegeeft
-
idinteger jain het pad
-
Idempotency-KeystringOptional unique key. Repeating the same request within 24 hours returns the stored response.
Wat je stuurt
{ "material": { ... } }
-
namestring -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Material -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
/api/v1/materials/{id}
Change a material
Wat je meegeeft
-
idinteger jain het pad
Wat je stuurt
{ "material": { ... } }
-
namestring -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
Wat je terugkrijgt
-
200The changed record Material -
401A valid API key is required for this request. -
429Too many API requests were made in a short period. -
500An unexpected error prevented the request from being processed. -
404The requested record does not exist in this organisation. -
403This API key does not have write access. -
415Write requests with a body must use application/json. -
422The data does not meet the conditions required to save it. This idempotency key already belongs to a different request body.
Gegevensvormen
De velden die je terugkrijgt, per soort gegeven.
Problem
-
typestring, uri-reference ja -
titlestring ja -
statusinteger ja -
detailstring ja -
codestring ja -
instancestring, uri-reference ja -
errorsobject
Meta
-
pageinteger -
per_pageinteger -
totalinteger
CustomFields
InvoiceLine
-
typestring -
descriptionstring -
quantitynumber -
unitstring -
unit_pricenumber -
line_amountnumber
Customer
-
idinteger -
namestring -
emailstring of leeg -
phonestring of leeg -
addressstring of leeg -
external_idstring of leeg -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time
Project
-
idinteger -
customer_idinteger -
namestring -
descriptionstring of leeg -
activeboolean -
servicestring of leeg -
budget_hoursnumber of leeg -
budget_other_costsnumber of leeg -
fixed_priceboolean -
fixed_price_amountnumber of leeg -
fixed_price_includes_materialsboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time
TimeEntry
-
idinteger -
customer_idinteger -
project_idinteger of leeg -
datestring, date -
hoursnumber of leeg -
break_minutesinteger of leeg -
commentsstring of leeg -
servicestring of leeg -
statusstring -
invoice_idinteger of leeg -
net_amountnumber of leeg -
total_amountnumber of leeg -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time
Invoice
-
idinteger -
target_typestring -
customer_idinteger of leeg -
vat_ratenumber of leeg -
net_amountnumber of leeg -
total_amountnumber of leeg -
statusstring -
external_invoice_idstring of leeg -
lineslijst van InvoiceLine -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time
Service
-
idinteger -
namestring -
descriptionstring of leeg -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time
Material
-
idinteger -
namestring -
unitstring of leeg -
price_excl_vatnumber of leeg -
vat_ratenumber of leeg -
activeboolean -
custom_fieldsobjectThe organisation's active extra fields, keyed by name.
-
created_atstring, date-time -
updated_atstring, date-time