Skip to main content
Skip table of contents

Standard Web Interfaces for project-pulse Integration

Since web interfaces do not possess a template system, these interfaces cannot be used as templates for the creation of new web interfaces.

Workload - Load

  • Transfers the hours recorded on cards in PLANTA pulse to the tasks in PLANTA project

Member - Resource Assignment

  • Copies the member assignments created in PLANTA pulse to PLANTA project as resource assignments for the respective task

Time Recording

  • Transfers the hours reported on PLANTA project tasks in PLANTA pulse to the same tasks in PLANTA project

User-Related Interfaces

All user-related interfaces have a parameter in their URL via which the PLANTA pulse user ID is transmitted. Query parameters:

NameMandatory fieldData typeFormat
userIDXstringpulse ID of the user

GET /pulse/timeTracking/1.0/users/{userID}/postingObjects

Query parameters:

NameMandatory fieldData typeFormat
plannedOnly
stringIf the value "true" (not case-sensitive) is transmitted for plannedOnly, only the posting objects on which the user is planned are returned.
queryText
stringPermits the transmission of a string to restrict the results. Implementation based on the pulse view implementation. Example: projectId:4711 concept
projectsOnly
stringIf the value "true" (not case-sensitive) is transmitted for projectsOnly, no tasks will be displayed in the result.

Calls the postable planning objects of the system for the transferred user.

  • The implementation is a faithful imitation of the "Add Projects and Tasks for Time Recording" function from the standard time recording module:
    • Projects
      • Not locked
      • No actual end
      • Active
    • Tasks
      • Not locked
      • No actual end
      • No milestone
      • No summary task
      • Not exported to pulse as a board
    • Since DB 13, there is no more department filter in the standard.
      • The interface can then be adjusted individually on the customer’s system, in the same way as the function in the time recording module is adjusted.

Return value: a list of planning objects:

NameData typeDescription
projectUUIDstringUUID of the project in PLANTA project (DI 060934)
functionalIDstringFunctional ID of the project (DI 041317)
namestringProject name (DI 023655)
keyDatestringGlobal key date (DI 000132).
Is displayed here for all projects to make simple adjustments on the part of PLANTA project later in order to restrict postable objects.
Format: yyyy-mm-dd or empty
tasksArrayArray of task objects

Task

NameData typeDescription
UUIDstringUUID of the task in PLANTA project (DI 060936)
functionalIDstringFunctional ID of the task (DI 041467). If it is empty, the technical ID is used (DI 001098)
namestringTask name (DI 000807)
plannedBooleanSpecifies whether the user is planned in this task as a resource

GET /pulse/timeTracking/1.0/users/{userID}/attendance

Retrieves the planned/actual working time.

  • The data is a combination of the data from DT203 (presence) and DT468 (period).
  • Via the optional query parameter, the period to be retrieved can be restricted.

Query parameters:

NameMandatory fieldData typeFormat
startDate
stringyyyy-mm-dd
endDate
stringyyyy-mm-dd

Return value: chronologically sorted array of Attendance

NameData typeDescription
periodUUIDstringUUID from DT468 (DI 060941)
unitPerPeriodFloatHours to be worked on that day (DI 001339)
availCapFloatAvailable capacity on that day (planned * factors) (DI 001337)
vacationFloatNumber of hours of vacation on that day (DI 001340 converted)
absenceFloatNumber of hours of absence on that day (DI 001341 converted)
datestringDate in yyyy-mm-dd format (DI 001327)
timeArrayArray of Time objects

Time

NameData typeDescription
attendanceUUIDstringUUID from DT203 (DI 065304)
typestringCode from the AttendanceType enum (DI 065317)
durationFloatDuration in hours (DI 065320)
startTimeTimeStart of the time slice (DI 065318)
endTimeTimeEnd of the time slice (DI 065319)
commentstringComment (DI 065321)

AttendanceType Enum

KeyDescription
attendancePresence
breakBreak
travel_billableTravel time (working time)
travel_timeTravel time (no working time)
travel1 journey
overnight_stay1 overnight stay
unknownUnknown value

GET /pulse/timeTracking/1.0/users/{userID}/workloads

Calls the filtered load records of the user. The filters:

  • Actual load != 0
  • Not canceled
  • The hours were not imported from a card via hybrid

Query parameters:

NameMandatory fieldData typeFormat
startDate
stringyyyy-mm-dd
endDate
stringyyyy-mm-dd
modifiedSince
stringyyyy-mm-dd
modifiedUntil
stringyyyy-mm-dd

Return value: a list of postings:

NameData typeDescription
taskUUIDstringUUID of the task in PLANTA project (DI 060936)
taskNamestringTask name in PLANTA project (DI 000807)
taskFunctionalIDstringFunctional ID of the task (DI 041467). If it is empty, the technical ID is used (DI 001098)
bookingPossibleBooleanMaps the filters which form the "Non-postable objects" area in PLANTA project (project/task locked, project inactive or resource assignment has no actual end)
projectUUIDstringUUID of the project in PLANTA project (DI 060934)
projectFunctionalIDstringFunctional ID of the project (DI 041317)
projectNamestringProject name in PLANTA project (DI 000690)
loadNumberLoad as a number (DI 001510)
datestringDate in YYYY-MM-DD format (DI 001519)
commentstringComment (DI 001438)
orderstringOrder (DI 027646)
orderItemNumberOrder item (DI 027647)
loadUUIDstringUUID of the load in PLANTA project (DI 060945)
created_onstringCreation date in YYYY-MM-DD format (DI 001500)
modified_onstringModification date in YYYY-MM-DD format (DI 001501)
created_bystringCreating user (DI 001503)
modified_bystringModification user (DI 001504)
keyDatestringGlobal key date (DI 000132).
Is displayed here for all projects to make simple adjustments on the part of PLANTA project later in order to restrict postable objects.
Format: yyyy-mm-dd or empty

GET /pulse/timeTracking/1.0/users/{userID}/subordinates

Retrieves the resources for which a certain user can post.

  • Only internal and external employees are displayed, no departments (DI 003414 = "1I" OR "1E")
  • Is controlled via Resource Access
  • Only resources which are linked to PLANTA pulse are displayed.
  • The user for whom the query is made is not included in the result set.

Return value: An array of resource objects resource

NameData typeDescription
resourceUUIDstringPLANTA pulse ID of the user
resourceNamestringName of the resource (DI 001275)
resourceTypestring1I for internal employee, 1E for external employee

/pulse/timeTracking/1.0/users/{userID}/bookingFavorite

GET

Is used to fetch the posting objects which have been marked as favorites in PLANTA project by the respective user.

  • Only data of tasks is sent which would be displayed in the Time Recording module in PLANTA project standard under "My Time Recording Favorites":
    • Project/task is not locked
    • Project is active
    • Task is no milestone
    • Task is no summary task
    • Resource assignment has no actual end

Return value: bookingFavorite

NameData typeDescription
taskUUIDstringUUID of the task in PLANTA project (DI 060936)
taskFunctionalIDstringFunctional ID of the task (DI 041467). If it is empty, the technical ID is used (DI 001098)
taskNamestringTask name in PLANTA project (DI 000807)
projectUUIDstringUUID of the project in PLANTA project (DI 060934)
projectFunctionalIDstringFunctional ID of the project (DI 041317)
projectNamestringProject name in PLANTA project (DI 000690)
keyDatestringGlobal key date (DI 000132)
Format: yyyy-mm-dd or empty

POST

Sets the favorite flag on a resource assignment. Parameters:

NameMandatory fieldData typeDescription
taskUUIDxstringUUID of the task in PLANTA project (DI 060936)

DELETE

Deletes the favorite flag on a resource assignment. Parameters:

NameMandatory fieldData typeDescription
taskUUIDxstringUUID of the task in PLANTA project (DI 060936)

Workloads

The PUT/DELETE interfaces have a parameter in their URL which serves to hand over the load ID from PLANTA project.

NameMandatory fieldData typeFormat
workloadIDXstringUUID of the load (DI 060945)

Workload parameter:

NameMandatory field for POSTData typeDescription
taskUUIDxstringUUID of the task in PLANTA project (DI 060936)
userIDxstringPLANTA pulse ID of the user
loadxNumberLoad (DI 001510)
commentxstringComment (DI 001438)
datexstringLoad date (DI 001519) in the yyyy-MM-dd'T'HH:mm:ss.SSSZ format
order
stringOrder (DI 027646)
orderItem
NumberOrder item (DI 027647)

In PUT, there are no mandatory fields (except the workloadID in the URL of course!)

  • You only have to send the changed fields.
  • Since it is prohibited in PLANTA project to move a load on another project / task, it is useless to send the taskUUID.

POST /pulse/timeTracking/1.0/workloads

Creates a load (DT472) Cost type is copied from the default cost type of the resource Return value:

NameData typeDescription
UUIDstringUUID of the load
taskUUIDstringUUID of the task in PLANTA project (DI 060936)
userIDstringPLANTA project ID of the user
loadNumberLoad (DI 001510)
commentstringComment (DI 001438)
datestringLoad date (DI 001519) (Format is currently not defined)

/pulse/timeTracking/1.0/workloads/{workloadID}

PUT

Changes a load Return value:

NameData typeDescription
UUIDstringUUID of the load
taskUUIDstringUUID of the task in PLANTA project (DI 060936)
loadNumberLoad (DI 001510)
commentstringComment (DI 001438)
datestringLoad date (DI 001519) (Format is currently not defined)

DELETE

Deletes a load return value:

NameData typeDescription
UUIDstringUUID of the load

Orders / Account Assignment Elements

GET /pulse/timeTracking/1.0/orders

This can be used to return account assignment elements for posting. As soon as the interface is active, the corresponding fields are unlocked on the UI. Return value: Order

NameData typeDescription
orderIdstringIdentifier
orderNamestringname
orderItemsArray<OrderPosition>Order positions

OrderPosition

NameData typeDescription
posIdNumberIdentifier
posNamestringname

Error Treatment

Error Object

NameData typeDescription
statusCodeNumberHTTP status code
messagestringError message
detailsstringe.g. stacktrace
type (opt.)stringIn PLANTA pulse: PLANTA project request

HTTP Status Codes

Status CodeDescription
200Returned when successful
400Bad Request
401Forbidden
403Returned when the user is not authorized
404Returned when no endpoint exists at the given address
500Internal Server Error
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.