Licensing Service
ApplicationLicenseDto
This class contains the license data of TimePunch.
| Datatype | Name | Description |
|---|---|---|
| Guid | Id | Unique ID of the application license |
| String | LicensedFor | Name of whom the license has been registered. |
| String | LicenseCode | License Code |
| Int | CountKeys | Amount of users who can use this application license. |
| Int | UsedKeys | Amount of licenses that are already in use. |
| DateTime | ValidUntil | If the license is only valid for a time period, this field contains the expiration date. |
| String | ValidForVersion | If the license is only valid for a given TimePunch Version, this version is filled in here. |
| Bool | IsLicenseValid | True, if the returned application license is valid for the installed version of TimePunch. |
| String | ApplicationKey | The application key to which the application license belongs. |
UserLicenseDto
This class contains the license information for a TimePunch profile.
| Datatype | Name | Description |
|---|---|---|
| Guid | Id | Unique ID of the application license |
| UserProfileDto | User | TimePunch Profile to that the user license belongs too |
| String | ApplicationKey | The module or application key for that the license is valid |
| Guid | ApplicationLicenseId | The Id of the application license for which the user is licensed. |
RequestUpgradeOfferDto
This class contains the customer data that is sent to TimePunch so that a new license upgrade quote can be created.
| Datatype | Name | Description |
|---|---|---|
| Guid | Id | Unique ID of the application license |
| String | Fullname | Full name of the user |
| String | Company | Company of the user |
| String | Email address of the user | |
| String | Phone | Phone number of the user |