--- title: "sprWorkScheduleEntries" slug: "sprworkscheduleentries" updated: 2025-03-27T10:58:15Z published: 2025-03-27T10:58:15Z canonical: "instrukcijos.softera.lt/sprworkscheduleentries" --- > ## Documentation Index > Fetch the complete documentation index at: https://instrukcijos.softera.lt/llms.txt > Use this file to discover all available pages before exploring further. # sprWorkScheduleEntries Represents work schedule entries (spr) in Business Central. ## Methods | Method | Return Type | Description | | --- | --- | --- | | GET sprWorkScheduleEntries | sprWorkScheduleEntries | Gets a work schedule entry object. | | DELETE sprWorkScheduleEntries | none | Deletes a work schedule entry object. | | POST sprWorkScheduleEntries | sprWorkScheduleEntries | Creates a work schedule entry object. | | PATCH sprWorkScheduleEntries | sprWorkScheduleEntries | Updates a work schedule entry object. | ## Navigation | Navigation | Return Type | Description | | --- | --- | --- | | [sprEmployees](/v1/docs/sprEmployees) | sprEmployee | Gets the employee associated with the work schedule entry. | | [sprContracts](/v1/docs/sprContracts) | sprContract | Gets the contract associated with the work schedule entry. | | [sprAllocations](/v1/docs/sprAllocations) | sprAllocation | Gets the allocation associated with the work schedule entry. | | [sprDimensionSetLines](/v1/docs/sprDimensionSetLines) | Collection(sprDimensionSetLine) | Gets the dimension set lines of the work schedule entry. | ## Properties | Property | Type | Description | Relation to | | --- | --- | --- | --- | | id | Guid | Specifies the work schedule entry's ID. Non-editable. | | | entryNumber | Int32 | Specifies the work schedule entry's number. | | | employeeNumber | String[20] | Specifies the employee's number. | [sprEmployees.number](/v1/docs/sprEmployees) | | contractNumber | String[20] | Specifies the contract's number. | [sprContracts.number](/v1/docs/sprContracts) | | allocationNumber | Int32 | Specifies the allocation's number. | [sprAllocations.number](/v1/docs/sprAllocations) | | generalWScheduleCode | String[20] | Specifies the general work schedule's code. | generalWSchedule.code | | workScheduleFormulaCode | String[10] | Specifies the work schedule formula's code. | [sprWorkScheduleFormulas.code](/v1/docs/sprWorkScheduleFormulas) | | date | Date | Specifies the work schedule entry's date. | | | dateOfContinuation | Date | Specifies the work schedule entry's date of continuation. | | | employed | Boolean | Specifies if the employee is employed. | | | activityCode | String[10] | Specifies the activity's code. | [sprActivityCodes.code](/v1/docs/sprActivityCodes) | | activityType | Option | Specifies the activity's type. It can be: 0- " " 1- Work 2- Non-Work 3- Business Trip 4- Vacation 5- Work Incapacity 6- Absence 7- Day off | | | actualWork | Boolean | Specifies if the work is actual. | | | days | Decimal | Specifies the work schedule entry's number of days. | | | hours | Decimal | Specifies the work schedule entry's number of hours. | | | shiftEntryNumber | Int32 | Specifies the shift entry number. | sprShiftWorkScheduleEntry."entry no" | | continueOfShift | Boolean | Specifies if the shift is a continuation. | | | lastModifiedDateTime | DateTimeOffset | Specifies the work schedule entry's last modified date. Read-Only. | | ## Examples ### Create refillWScheduleEntries POST `URI: /companies({{companyId}})/sprAllocations({{allocationId}})/Microsoft.NAV.refillWScheduleEntries` #### Request ``` { "dateFrom" : "2022-11-01", "dateTo":"2022-11-15" } ``` ### Remove deleteWScheduleEntries POST `URI: /companies({{companyId}})/sprAllocations({{allocationId}})/Microsoft.NAV.deleteWScheduleEntries` #### Request ``` { "dateFrom" : "2022-11-01", "dateTo":"2022-11-15" } ```