{"title":"Update timeRegistrationEntries","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/api/dynamics_timeregistrationentry_update/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_timeregistrationentry_update, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_timeregistrationentry_update","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Patch a timeRegistrationEntries in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Update timeRegistrationEntries","slug":"update-timeregistrationentries","at":0,"chars":2109},{"level":2,"title":"HTTP request","slug":"http-request","at":85,"chars":368},{"level":2,"title":"Request headers","slug":"request-headers","at":453,"chars":284},{"level":2,"title":"Example","slug":"example","at":737,"chars":961},{"level":2,"title":"Related information","slug":"related-information","at":1698,"chars":411}],"text":"# Update timeRegistrationEntries\nUpdate a timeRegistrationEntry in Business Central.\n## HTTP request\nReplace the URL prefix for Business Central depending on environment following the guideline<../endpoints-apis-for-dynamics>.\n```\nPATCH businesscentralPrefix/companies({companyId})/timeRegistrationEntries({timeregistrationId})\nPATCH businesscentralPrefix/companies({companyId})/employees({employeeId})/timeRegistrationEntries({timeregistrationId})\n```\n## Request headers\nHeader|Value\nAuthorization|Bearer {token}. Required.\nContent-Type|application/json\nIf-Match|Required. When this request header is included and the eTag provided doesn't match the current tag on the timeRegistrationEntry, the timeRegistrationEntry won't be updated.\n## Example\nRequest\nHere's an example of the request.\n```json\nPATCH https://{businesscentralPrefix}/api/v2.0/companies({id})/timeRegistrationEntries({timeregistrationId})\nContent-type: application/json\n\n{\n    \"quantity\": 8\n}\n```\nResponse\nHere's an example of the response.\n> NOTE\n> The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.\n```json\nHTTP/1.1 200 OK\nContent-type: application/json\n\n{\n    \"id\": \"1a8b1fec-c0e3-ea11-aa60-000d3ad7cacb\",\n    \"employeeId\": \"258bb9c0-44e3-ea11-bb43-000d3a2feca1\",\n    \"employeeNumber\": \"AH\",\n    \"jobId\": \"00000000-0000-0000-0000-000000000000\",\n    \"jobNumber\": \"\",\n    \"jobTaskNumber\": \"\",\n    \"absence\": \"\",\n    \"lineNumber\": 10000,\n    \"date\": \"2019-02-02\",\n    \"quantity\": 8,\n    \"status\": \"Open\",\n    \"unitOfMeasureId\": \"56a6738a-44e3-ea11-bb43-000d3a2feca1\",\n    \"unitOfMeasureCode\": \"HOUR\",\n    \"lastModfiedDateTime\": \"2020-08-21T15:13:58.87Z\"\n}\n```\n## Related information\nTips for working with the APIs<../../../developer/devenv-connect-apps-tips>\n../../../webservices/dynamics-error-codes\ntimeRegistrationEntries<../resources/dynamics_timeregistrationentry>\nGet timeRegistrationEntries<dynamics_timeregistrationentry_get>\nPost timeRegistrationEntries<dynamics_timeregistrationentry_create>\nDelete timeRegistrationEntries<dynamics_timeregistrationentry_delete>"}