--- title: "sprAbsenceEntries" slug: "sprabsenceentries" updated: 2026-06-26T04:32:31Z published: 2026-06-26T04:32:31Z canonical: "instrukcijos.softera.lt/sprabsenceentries" --- > ## 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. # sprAbsenceEntries Represents absence entries (spr) in Business Central. ## Methods | Method | Return Type | Description | | --- | --- | --- | | GET sprAbsenceEntries | sprAbsenceEntries | Gets an absence entry object. | | DELETE sprAbsenceEntries | none | Deletes an absence entry object. | | POST sprAbsenceEntries | sprAbsenceEntries | Creates an absence entry object. | | PATCH sprAbsenceEntries | sprAbsenceEntries | Updates an absence entry object. | ## Navigation | Navigation | Return Type | Description | | --- | --- | --- | | [sprEmployees](/v1/docs/sprEmployees) | sprEmployee | Gets the employee associated with the absence entry. | | [sprActivityCodes](/v1/docs/sprActivityCodes) | sprActivityCode | Gets the activity code associated with the absence entry. | | [sprContracts](/v1/docs/sprContracts) | sprContract | Gets the contract associated with the absence entry. | | [sprAllocations](/v1/docs/sprAllocations) | sprAllocation | Gets the allocation associated with the absence entry. | | [sprBusinessTripLocations](/v1/docs/sprBusinessTripLocations) | sprBusinessTripLocation | Gets the business trip location associated with the absence entry. | | [sprBusinessTripAims](/v1/docs/sprBusinessTripAims) | sprBusinessTripAim | Gets the business trip aim associated with the absence entry. | | [sprDimensionSetLines](/v1/docs/sprDimensionSetLines) | Collection(sprDimensionSetLine) | Gets the dimension set lines of the absence entry. | ## Properties | Property | Type | Description | Relation to | | --- | --- | --- | --- | | id | Guid | Specifies the absence entry's ID. Non-editable. Non-editable. | | | entryNumber | Int32 | Specifies the absence entry's number. | | | employeeId | Guid | Specifies the employee's ID. | [sprEmployees.id](/v1/docs/sprEmployees) | | employeeNumber | String[20] | Specifies the employee's number. | [sprEmployees.number](/v1/docs/sprEmployees) | | activityId | Guid | Specifies the activity's ID. | [sprActivityCodes.id](/v1/docs/sprActivityCodes) | | activityCode | String[10] | Specifies the activity's code. | [sprActivityCodes.code](/v1/docs/sprActivityCodes) | | startDate | Date | Specifies the absence entry's start date. | | | endDate | Date | Specifies the absence entry's end date. | | | contractId | Guid | Specifies the contract's ID. | [sprContracts.id](/v1/docs/sprContracts) | | contractNumber | String[20] | Specifies the contract's number. | [sprContracts.number](/v1/docs/sprContracts) | | allocationId | Guid | Specifies the allocation's ID. | [sprAllocations.id](/v1/docs/sprAllocations) | | allocationNumber | Int32 | Specifies the allocation's number. | [sprAllocations.number](/v1/docs/sprAllocations) | | extensionOfAbsenceId | Guid | Specifies the absence's ID. | sprAbsenceEntries.id | | extensionOfAbsenceEntryNumber | Int32 | Specifies the absence's entry number. | sprAbsenceEntries.number | | sickNotePostDate | Date | Specifies the absence's entry sick note post date. | | | busTripLocationCode | String[20] | Specifies the business trip's location code. | [sprBusinessTripLocations.code](/v1/docs/sprBusinessTripLocations) | | busTripLocationId | Guid | Specifies the business trip's location ID. | [sprBusinessTripLocations.id](/v1/docs/sprBusinessTripLocations) | | busTripTown | String[30] | Specifies the business trip's town. | | | busTripAimCode | String[20] | Specifies the business trip aim's code. | [sprBusinessTripAims.code](/v1/docs/sprBusinessTripAims) | | busTripAimId | Guid | Specifies the business trip aim's ID. | [sprBusinessTripAims.id](/v1/docs/sprBusinessTripAims) | | busTripDailyRate | Decimal | Specifies the business trip's daily rate. | | | busTripDailyAllowance | Decimal | Specifies the business trip's daily allowance. | | | lastModifiedDateTime | DateTimeOffset | Specifies the absence entry's last modified date. Read-Only. | | ## Examples ### Create sprAbsenceEntries POST `https://api.businesscentral.dynamics.com/v2.0/{{tenant}}/{{environmentName}}/api/softera/softeraPayroll/{{sprAPIVersion}}/companies({{companyId}})/sprAbsenceEntries` #### Request ``` { "employeeId": "{{employeeId}}", "employeeNumber": "{{employeeNumber}}", "activityCode": "K", "startDate": "2023-06-10", "endDate": "2023-06-20", "sickNotePostDate": "0001-01-01", "busTripLocationCode": "", "busTripTown": "", "busTripAimCode": "", "busTripDailyRate": 0, "busTripDailyAllowance": 0 } ```