Skip to content · Zum Inhalt

APIs

Before you start: ask your administrator for the address of the data interface of your environment and for a user who may read the data.

Read the time sheets through the data interface

  1. Open the API Time Sheets page to see the data the interface returns.
  2. Read one row: the number, the description, the time sheet type and the status.
  3. Use the same address in your own application, with the filter you need.

The time sheets as the data interface returns them

Example: the reporting team reads the time sheets of the month, filters them by status and builds a report of the hours per project. The same interface accepts a new time sheet line with the same rules as the page, so a mobile application can capture hours.

What happens: projects, offers, tasks, teams, resources, customers, vendors, units, planning, time sheets, travel expenses, milestones, work orders, customer requests and allocation period days can be read. Time sheets, time sheet lines, travel expenses, travel expense lines, project units and project planning accept writes with the same rules as the pages, and a write that breaks a rule is refused with the rule's message. The interface obeys the permissions of the user who calls it.

If something goes wrong

a refused write returns the same message the page would show, for example a quantity of zero or a date outside the allocation period. A page that returns nothing means the user has no permission on that data.

Note: The interface is read-only for the documents that are posted, because a posted document is changed by cancelling it, not by editing it.