Change Request Entities
This document describes the most important data classes (DTOs) used in connection with change requests for time entries in TimePunch.
ChangeRequestApproverDto
This class contains information about the approvers of change requests.
| Datatype | Name | Description |
|---|---|---|
| Guid | UserId | Unique ID of the user. |
| String | UserName | Username of the applicant. |
| String | ApproverName | Name of the approver. |
| Guid | ApproverId | Unique ID of the approver. |
| String | GroupName | Name of the group to which the approver is assigned. |
ChangeRequestTimeEntryDto : TimeEntryDto
This DTO extends the TimeEntryDto class with specific fields for change requests for time entries.
| Datatype | Name | Description |
|---|---|---|
| ChangeRequestType | ChangeRequestType | Type of change request (e.g. correction, deletion, new entry). |
| String | DeclineReason | Reason for any rejection. |
| String | ChangeReason | Reason for the requested change. |
| String | UserName | Name of the user who submitted the change request. |
ChangeRequestTimeEntrySearchDto : PagingContextDto
This class contains the filter criteria for searching for change requests.
| Datatype | Name | Description |
|---|---|---|
| List\<Guid> | UserIds | List of user IDs for which change requests are to be searched. |
| List\<Guid> | ApproverIds | List of approver IDs to be filtered by. |
| DateTime | StartDate | Start date of the search period. |
| DateTime | EndDate | End date of the search period. |
| ChangeRequestType? | ChangeRequestType | Type of change request (optional). |
| String | DeclineReason | Reason for rejection (filter criterion). |
| String | ChangeReason | Reason for the requested change (filter criterion). |