Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Simplicate API Data Model

Navigation: Schema: Mileage > Tables

MileageById

Contents Previous Home Next More

Fetches a single mileage by mileage id

Catalog: Simplicate

Schema: Mileage

This is a read-only table function. The Simplicate API may not support changing the data or the Invantive SQL driver for Simplicate does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Simplicate API.

Select Simplicate API URL: /mileage/mileage/{id}

Insert Simplicate API URL: /mileage/mileage/{id}

Update Simplicate API URL: /mileage/mileage/{id}

Delete Simplicate API URL: /mileage/mileage/{id}

Field Selection Method: NotRequired

Base Path: data

Select Simplicate API Operation: get /mileage/mileage/{id}

Table Function Parameters

The following parameters can be used to control the behaviour of the table function MileageById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

id

string

 

The template's id

 

Table Function Columns

The columns of the table function MileageById are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

approvalstatus_description

string

 

 

approvalstatus_id

string

 

 

approvalstatus_label

string

 

 

created_at

string

Created at

 

employee_amount

float

 

 

employee_declarable

string

 

 

employee_employee_id

string

 

 

employee_id

string

Employee ID

 

employee_name

string

 

 

employee_person_id

string

 

 

employee_tariff

float

 

 

id

string

ID

 

invoice_id

string

 

See /invoices/invoice

invoice_status

string

 

 

invoiceline_id

string

 

See /invoices/invoice

note

string

Note

 

project_id

string

Project ID

 

project_name

string

 

 

project_organization_id

string

 

 

project_organization_name

string

 

 

project_person_full_name

string

 

 

project_person_id

string

 

 

project_project_manager_amount

float

 

 

project_project_manager_declarable

string

 

 

project_project_manager_employee_id

string

 

 

project_project_manager_id

string

 

 

project_project_manager_name

string

 

 

project_project_manager_person_id

string

 

 

project_project_manager_tariff

float

 

 

project_project_number

string

 

 

project_separate_invoice_recipient_contact_id

string

 

See 'linked_persons_contact' in /crm/organization, or 'linked_as_contact_to_organization' in /crm/person, or /crm/contactperson

project_separate_invoice_recipient_is_separate_invoice_recipient

boolean

 

 

project_separate_invoice_recipient_organization_id

string

 

See /crm/organization

project_separate_invoice_recipient_person_id

string

 

See /crm/person

source

string

 

 

start_date

string

Start Date

 

tariff

float

 

 

type_billable

float

 

 

type_blocked

boolean

 

 

type_color

string

 

 

type_has_workflow

boolean

 

 

type_id

string

 

 

type_label

string

 

 

type_tariff

float

 

 

type_type

string

 

 

type_vatclass_code

string

 

 

type_vatclass_id

string

 

 

type_vatclass_label

string

 

 

type_vatclass_name

string

 

 

type_vatclass_percentage

float

 

 

updated_at

string

Updated at

 

vatclass_code

string

 

 

vatclass_id

string

 

 

vatclass_label

string

 

 

vatclass_name

string

 

 

vatclass_percentage

float

 

 

 

06-04-2021 14:59 Version 20.1.393-BETA+3152