# jobQueueEntry resource type
Represents a job queue entry in Business Central.
> NOTE
> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_jobqueueentry_get|jobQueueEntry|Gets a job queue entry object.
## Bound actions
The jobQueueEntry resource type offers a bound action called restart which restarts the corresponding jobQueueEntry batch.
This is illustrated in the following example:
`RESTART https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/jobQueueEntrys({id})/Microsoft.NAV.restart`
The response has no content; the response code is 204.
## Navigation
Navigation|Return Type|Description
jobQueueLogEntries<dynamics_jobqueuelogentry>|jobQueueLogEntries|Gets the jobqueuelogentries of the jobQueueEntry.
## Properties
|Property|Type|Description|
|id|GUID|The unique ID of the job queue entry. Non-editable.|
|jobQueueEntryId|GUID||
|userId|string||
|lastReadyState|datetime||
|expirationDateTime|datetime|Date and time for when the webhook will expire.|
|earliestStartDateTime|datetime||
|objectTypeToRun|string||
|objectIdToRun|integer||
|objectCaptionToRun|string||
|reportOutputType|NAV.jobQueueReportOutputType||
|maxNumberAttemptsToRun|integer||
|numberOfAttemptsToRun|integer||
|status|string|Specifies the status of the job queue entry.|
|recordIdToProcess|string||
|parameterString|string||
|recurringJob|boolean||
|numberOfMinutesBetweenRuns|integer||
|runOnMonday|boolean||
|runOnTuesday|boolean||
|runOnWednesday|boolean||
|runOnThursday|boolean||
|runOnFridays|boolean||
|runOnSaturdays|boolean||
|runOnSundays|boolean||
|startingTime|string||
|endingTime|string||
|referenceStartingTime|datetime||
|nextRunDateFormula|string||
|description|string|Specifies the description of the job queue entry.|
|runInUserSession|boolean||
|userSessionId|integer||
|jobQueueCategoryCode|string||
|errorMessage|string|The error message provided when a fail occurs.|
|userServiceInstanceId|integer||
|userSessionStarted|datetime||
|notifyOnSuccess|boolean||
|userLanguageId|integer||
|printerName|string||
|reportRequestPageOptions|boolean||
|rerunDelay|integer||
|systemTaskId|GUID||
|scheduled|boolean||
|manualRecurrence|boolean||
|jobTimeOut|string||
|priorityWithinCategory|NAV.jobQueuePriority||
|lastModifiedDateTime|datetime|The last datetime the job queue entry was modified. Read-Only.|
## JSON representation
Here's a JSON representation of the jobQueueEntry resource.
```json
{
    "id": "GUID",
    "jobQueueEntryId": "GUID",
    "userId": "string",
    "lastReadyState": "datetime",
    "expirationDateTime": "datetime",
    "earliestStartDateTime": "datetime",
    "objectTypeToRun": "string",
    "objectIdToRun": "integer",
    "objectCaptionToRun": "string",
    "reportOutputType": "NAV.jobQueueReportOutputType",
    "maxNumberAttemptsToRun": "integer",
    "numberOfAttemptsToRun": "integer",
    "status": "string",
    "recordIdToProcess": "string",
    "parameterString": "string",
    "recurringJob": "boolean",
    "numberOfMinutesBetweenRuns": "integer",
    "runOnMonday": "boolean",
    "runOnTuesday": "boolean",
    "runOnWednesday": "boolean",
    "runOnThursday": "boolean",
    "runOnFridays": "boolean",
    "runOnSaturdays": "boolean",
    "runOnSundays": "boolean",
    "startingTime": "string",
    "endingTime": "string",
    "referenceStartingTime": "datetime",
    "nextRunDateFormula": "string",
    "description": "string",
    "runInUserSession": "boolean",
    "userSessionId": "integer",
    "jobQueueCategoryCode": "string",
    "errorMessage": "string",
    "userServiceInstanceId": "integer",
    "userSessionStarted": "datetime",
    "notifyOnSuccess": "boolean",
    "userLanguageId": "integer",
    "printerName": "string",
    "reportRequestPageOptions": "boolean",
    "rerunDelay": "integer",
    "systemTaskId": "GUID",
    "scheduled": "boolean",
    "manualRecurrence": "boolean",
    "jobTimeOut": "string",
    "priorityWithinCategory": "NAV.jobQueuePriority",
    "lastModifiedDateTime": "datetime"
}
```
## Related information
../api/dynamics_jobqueueentry_get

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/resources/dynamics_jobqueueentry, 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. https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_jobqueueentry/
