...
Update an existing registration. Only works for registrations that already belong to the current user. Only updates minutes, start time, workarea, internalid, note and stars.
The internalid (the ID of an internal post) can only be updated if the registration already refers to an internal post.
...
registrations | collection[registrationentry] | A collection of the relevant registrations, or an empty collection if no registration was found. |
resumekey | string | Sometimes the entire result cannot be returned because it's to large. In that case a resumekey is returned along with the results. Execute the command again with this resumekey to get the remaining results. |
CloseRegistrationsByDate
Closes all registrations by date.
Input
...
Output
...
Shows the state on the registration.
1: OPEN, 2: CLOSED, 3: CLOSED AND ACCEPTED
GetRegistrationsPendingInvoicing
Get all registrations which is pending invoicing.
Input
...
Output
...
MarkRegistrationsAsInvoiced
Mark the given registrations as invoiced.
Input
...
Output
...
GetInternalRegistrations
Get all possible internal registrations in Microbizz.
Input
...
Output
...
GetAllRegistrationsByDateRange
Get all registrations for a period.
Input
...
Output
...
GetCustomRegistrationDefinitions
Get the definitions of all custom registrations.
Input
...
Output
...
AddRegistration
Add a time registration to Microbizz.
Input
...
Output
...
ApproveRegistration
Approve an existing time registration in Microbizz.
Input
...
Output
...
-
UpdateRegistration
Update an existing registration. Only works for registrations that already belong to the current user. Only updates minutes, start time, workarea, note and stars.
Input
...
Output
...
DeleteRegistrationByID
Delete a registration by ID.
Input
...
Output
none | - | - |
ClearRegistrationByDate
Clear all registrations from Microbizz, on a given date (and for a given user).
Input
...
Output
...
GetRegistrationByDate
Get all registrations in Microbizz, registered on a given date (and for a given user).
Input
...
Output
...
A collection of the relevant registrations, or an empty collection if no products were found.
OpenRegistrationsByDate
Reopens a registration day / daily time sheet.
Input
date | date | The date to reopen. |
Output
state | number | Shows the state | on of the registration day. 1: OPEN, 2: CLOSED, 3: CLOSED AND ACCEPTED |
isopen | boolean | Indicates if this date is open for registrations. | |
regtypeid | int | The ID of the workplan registration for the date | |
atwork | boolean | If the user is supposed to be at work on the date | |
color | string | The color of the workplan registration for the date | |
title | string | The name of the workplan registration for the date | |
holiday | boolean | If the date is a holiday |
GetRegistrations
Get all registrations for a given object.
Input
...
Output
...
GetRegistrationsByLastChange
Get a collection of registrations changed since a given date and time. Please note that this refers to when the registration was changed, and not on what time it was made.
Input
...
Output
...
CloseRegistrationsByDate
Closes all registrations by date.
Input
date | date | The date on which to close registrations. |
note | string | The note for the day |
Output
state | number | Shows the state on of the registration day. 1: OPEN, 2: CLOSED, 3: CLOSED AND ACCEPTED |
GetRegistrationsPendingInvoicing
Get all registrations which is pending invoicing.
Input
getall | boolean | If this is set, then all pending registrations are returned, with no assumptions whether they are invoicable or not. |
Output
registrationentries | collection [registrationentry] | A collection of the relevant registrations, or an empty collection if no products were found. |
MarkRegistrationsAsInvoiced
Mark the given registrations as invoiced.
Input
registrationids | collection [number] | A collection of all registration entry ids to mark as invoiced. |
Output
None | - | - |
GetInternalRegistrations
Get all possible internal registrations in Microbizz.
Input
None | - | - |
Output
internals | collection[ registration_internal ] | A collection of all the possible internal registrations |
GetAllRegistrationsByDateRange
Get all registrations for a period.
Input
startdate | date | The first valid registrationdate |
enddate | date | The last valid registrationdate |
resumekey | string | If a partial result is returned, provide the resumekey received along with the partial result, to get the rest of the entries |
Output
registrations | collection[registrationentry] | A collection of the relevant registrations, or an empty collection if no registration was found. |
resumekey | string | Sometimes the entire result cannot be returned because it's to large. In that case a resumekey is returned along with the results. Execute the command again with this resumekey to get the remaining results. |
GetCustomRegistrationDefinitions
Get the definitions of all custom registrations.
Input
None | - | - |
Output
customregistrations | collection[customregistration] | A collection of custom registrations, or an empty collection if no custom registrations were found. |
...
Get additional summarizing lines for describing the time usage in a given period. This is primary used by the app.
Input
startdate | date | Start of period |
enddate | date | End of period |
Output
lines | collection[lines] | The lines element is described below |
...