For the complete documentation index, see llms.txt. This page is also available as Markdown.

Time Sheet

TimeSheet - Expenses - Get expenses

get
/expenses/

This api is used to fetch expenses based on a filter. Filters can be given by adding a key and values array to the URL. Adding a single filter: &key=key1&value=value1 Adding multiple filters: &key[]=key1&value[]=value1&key[]=key2&value[]=value2

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: pre_employee_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
Responses
200

TimeSheet - Expenses - Get expenses

application/json
get/expenses/
GET /expenses/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

TimeSheet - Expenses - Get expenses

{
  "code": 200,
  "messages": [],
  "response": [
    {
      "pre_id": "33",
      "pre_cus_id": "78",
      "pre_project_nr": "",
      "pre_project_activity_nr": "",
      "pre_code": "",
      "pre_description": "",
      "pre_amount": "1.00",
      "pre_vat_code": "",
      "pre_cost_price": "0.00",
      "pre_gross_sale_price": "0.00",
      "pre_sale_price": "11.00",
      "pre_timestamp_added": "2020-02-25 10:01:44",
      "pre_timestamp_modified": "2020-02-25 10:01:44",
      "pre_timestamp_approved": null,
      "pre_timestamp_rejected": null,
      "pre_status": "0",
      "pre_employee_nr": "13",
      "pre_debtor_nr": "",
      "pre_billable": "1",
      "pre_attachment_name": null,
      "pre_attachment": null,
      "pre_category": "",
      "pre_date": "2020-02-25",
      "pre_created_by": "Administrator",
      "pre_modified_by": "Administrator",
      "pre_approved_by": null,
      "pre_rejected_by": null,
      "pre_rejected_reason": null
    },
    {
      "pre_id": "34",
      "pre_cus_id": "78",
      "pre_project_nr": "",
      "pre_project_activity_nr": "",
      "pre_code": "0102",
      "pre_description": "Samsung Tv",
      "pre_amount": "1.00",
      "pre_vat_code": "",
      "pre_cost_price": "0.00",
      "pre_gross_sale_price": "0.00",
      "pre_sale_price": "780.00",
      "pre_timestamp_added": "2020-02-25 10:15:26",
      "pre_timestamp_modified": "2020-02-25 10:15:26",
      "pre_timestamp_approved": null,
      "pre_timestamp_rejected": null,
      "pre_status": "0",
      "pre_employee_nr": "13",
      "pre_debtor_nr": null,
      "pre_billable": "1",
      "pre_attachment_name": null,
      "pre_attachment": null,
      "pre_category": null,
      "pre_date": "2020-02-25",
      "pre_created_by": "Administrator",
      "pre_modified_by": "Administrator",
      "pre_approved_by": null,
      "pre_rejected_by": null,
      "pre_rejected_reason": null
    },
    {
      "pre_id": "35",
      "pre_cus_id": "78",
      "pre_project_nr": "",
      "pre_project_activity_nr": "",
      "pre_code": "0102",
      "pre_description": "Samsung Tv",
      "pre_amount": "1.00",
      "pre_vat_code": "",
      "pre_cost_price": "0.00",
      "pre_gross_sale_price": "0.00",
      "pre_sale_price": "780.00",
      "pre_timestamp_added": "2020-02-25 10:15:26",
      "pre_timestamp_modified": "2020-02-25 10:15:26",
      "pre_timestamp_approved": null,
      "pre_timestamp_rejected": null,
      "pre_status": "0",
      "pre_employee_nr": "13",
      "pre_debtor_nr": null,
      "pre_billable": "1",
      "pre_attachment_name": null,
      "pre_attachment": null,
      "pre_category": null,
      "pre_date": "2020-02-25",
      "pre_created_by": "Administrator",
      "pre_modified_by": "Administrator",
      "pre_approved_by": null,
      "pre_rejected_by": null,
      "pre_rejected_reason": null
    },
    {
      "pre_id": "36",
      "pre_cus_id": "78",
      "pre_project_nr": "",
      "pre_project_activity_nr": "",
      "pre_code": "0102",
      "pre_description": "Samsung Tv",
      "pre_amount": "1.00",
      "pre_vat_code": "",
      "pre_cost_price": "0.00",
      "pre_gross_sale_price": "0.00",
      "pre_sale_price": "780.00",
      "pre_timestamp_added": "2020-02-25 10:15:26",
      "pre_timestamp_modified": "2020-02-25 10:15:26",
      "pre_timestamp_approved": null,
      "pre_timestamp_rejected": null,
      "pre_status": "0",
      "pre_employee_nr": "13",
      "pre_debtor_nr": null,
      "pre_billable": "1",
      "pre_attachment_name": null,
      "pre_attachment": null,
      "pre_category": null,
      "pre_date": "2020-02-25",
      "pre_created_by": "Administrator",
      "pre_modified_by": "Administrator",
      "pre_approved_by": null,
      "pre_rejected_by": null,
      "pre_rejected_reason": null
    },
    {
      "pre_id": "38",
      "pre_cus_id": "78",
      "pre_project_nr": "",
      "pre_project_activity_nr": "",
      "pre_code": "0102",
      "pre_description": "Samsung Tv",
      "pre_amount": "1.00",
      "pre_vat_code": "",
      "pre_cost_price": "0.00",
      "pre_gross_sale_price": "0.00",
      "pre_sale_price": "780.00",
      "pre_timestamp_added": "2020-02-25 10:15:26",
      "pre_timestamp_modified": "2020-02-25 10:15:26",
      "pre_timestamp_approved": null,
      "pre_timestamp_rejected": null,
      "pre_status": "0",
      "pre_employee_nr": "13",
      "pre_debtor_nr": null,
      "pre_billable": "1",
      "pre_attachment_name": null,
      "pre_attachment": null,
      "pre_category": null,
      "pre_date": "2020-02-25",
      "pre_created_by": "Administrator",
      "pre_modified_by": "Administrator",
      "pre_approved_by": null,
      "pre_rejected_by": null,
      "pre_rejected_reason": null
    }
  ]
}

TimeSheet - Expenses - Add expenses

post
/expenses/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: hrs_emp_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
testintegerOptionalExample: 1
Responses
200

Response_200

No content

post/expenses/
POST /expenses/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Response_200

No content

TimeSheet - Travel - Get travel

get
/travel/

This api is used to fetch travel rows based on a filter. Filters can be given by adding a key and values array to the URL. Adding a single filter: &key=key1&value=value1 Adding multiple filters: &key[]=key1&value[]=value1&key[]=key2&value[]=value2

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: tra_emp_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
Responses
200

TimeSheet - Travel - Get travel

application/json
get/travel/
GET /travel/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

TimeSheet - Travel - Get travel

{
  "code": 200,
  "messages": [],
  "response": [
    {
      "tra_id": "62",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Utrecht",
      "tra_to": "Amsterdam",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht to Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "0",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:37",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "63",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Amsterdam",
      "tra_to": "Utrecht",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht to Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "2",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:37",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "64",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Utrecht",
      "tra_to": "Amsterdam",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht - Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "2",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:42",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "65",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Amsterdam",
      "tra_to": "Utrecht",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht to Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "2",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:42",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "66",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Amsterdam",
      "tra_to": "Utrecht",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht - Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "2",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:46:22",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "81",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Utrecht",
      "tra_to": "Amsterdam",
      "tra_distance": "35",
      "tra_description": "Traveling from Utrecht to Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "0",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:37",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    },
    {
      "tra_id": "82",
      "tra_cus_id": "78",
      "tra_emp_nr": "13",
      "tra_debtor_nr": "24",
      "tra_project_nr": "N21231",
      "tra_project_activity_nr": "6",
      "tra_date": "2019-10-24",
      "tra_from": "Utrecht",
      "tra_to": "Amsterdam",
      "tra_distance": "35",
      "tra_description": "Traveling from\r\nUtrecht to Amsterdam and back",
      "tra_billable": "1",
      "tra_status": "0",
      "tra_type": null,
      "tra_date_created": "2019-12-31 13:42:37",
      "tra_date_modified": "2020-02-10 13:19:49",
      "tra_date_approved": "2020-02-10 13:19:49",
      "tra_date_rejected": null,
      "tra_created_by": null,
      "tra_modified_by": "Administrator",
      "tra_approved_by": "Administrator",
      "tra_rejected_by": null,
      "tra_rejected_reason": null
    }
  ]
}

TimeSheet - Travel - Add travel

post
/travel/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: hrs_emp_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
testintegerOptionalExample: 1
Responses
200

Response_200

No content

post/travel/
POST /travel/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Response_200

No content

TimeSheet - Hours - Get hours

get
/hours/

This api is used to fetch hours based on a filter. Filters can be given by adding a key and values array to the URL. Adding a single filter: &key=key1&value=value1 Adding multiple filters: &key[]=key1&value[]=value1&key[]=key2&value[]=value2

Kolom
Voorbeeld waarde
Omschrijving

hrs_id

9

Uniek regel ID

hrs_cus_id

78

Klant id niet relevant

hrs_emp_nr

13

Medewerkers

hrs_order_nr

null

Ordernummer van gekoppelde werkbon

hrs_order_description

null

Order omschrijving

hrs_period_id

null

Uren regel ID

hrs_hrt_hour_type

C

Uursoort code

hrs_debtor_nr

null

Debiteurnummer

hrs_project_nr

null

Projectnummer

hrs_project_activity_nr

null

Activiteit

hrs_date

2020-03-03

Datum

hrs_start

09:00:00

Starttijd

hrs_end

17:00:00

Eindtijd

hrs_break

null

Pauzetijd in minuten

hrs_amount

8.00

Decimaal aantal (Eind - start -pauze)

hrs_billable

0

Indicatie Facturabel ja of nee

hrs_status

0

Status in urenstaat, zie statussen

hrs_status_project

0

Status in project, zie statussen

hrs_description

Uren omschrijving

hrs_date_created

2020-02-24 15:31:50

Datum aangemaakt

hrs_date_modified

null

Datum aangepast

hrs_date_approved

null

Datum goedgekeurd

hrs_date_rejected

null

Datum afgekeurd

hrs_created_by

Administrator

Aangemaakt door

hrs_modified_by

null

Aangepast door

hrs_approved_by

null

Goedgekeurd door

hrs_rejected_by

null

Afgekeurd door

hrs_rejected_reason

null

Reden afgekeurd

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: hrs_emp_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
Responses
200

TimeSheet - Hours - Get hours

application/json
get/hours/
GET /hours/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

TimeSheet - Hours - Get hours

{
  "code": 200,
  "messages": [],
  "response": [
    {
      "hrs_id": "9",
      "hrs_cus_id": "78",
      "hrs_emp_nr": "13",
      "hrs_order_nr": null,
      "hrs_order_description": null,
      "hrs_period_id": null,
      "hrs_hrt_hour_type": "C",
      "hrs_debtor_nr": null,
      "hrs_project_nr": null,
      "hrs_project_activity_nr": null,
      "hrs_date": "2020-03-03",
      "hrs_start": "09:00:00",
      "hrs_end": "17:00:00",
      "hrs_break": null,
      "hrs_amount": "8.00",
      "hrs_billable": "0",
      "hrs_status": "0",
      "hrs_status_project": "0",
      "hrs_description": "",
      "hrs_date_created": "2020-02-24 15:31:50",
      "hrs_date_modified": null,
      "hrs_date_approved": null,
      "hrs_date_rejected": null,
      "hrs_created_by": "Administrator",
      "hrs_modified_by": null,
      "hrs_approved_by": null,
      "hrs_rejected_by": null,
      "hrs_rejected_reason": null
    }
  ]
}

TimeSheet - Hours - Add hours

post
/hours/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
key[]stringOptionalExample: hrs_emp_nr
value[]integerOptionalExample: 13
operator[]stringOptionalExample: eq
testintegerOptionalExample: 1
Responses
200

Response_200

No content

post/hours/
POST /hours/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Response_200

No content

Last updated

Was this helpful?