Patch
/softera/softeraEInvoice/v2.0/companies({companyId})/jobQueueEntries({jobQueueEntryId})
Updates a job queue entry. status is read-only and cannot be changed through this API.
Security
OAuth
FlowClient Credentials
Token URLhttps://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
Scopes:
https://api.businesscentral.dynamics.com/.defaultGrants the permissions assigned to the Microsoft Entra ID application in Business Central
Header parameters
If-Match
stringRequired
ETag for concurrency (use * to force update)
Path parameters
companyId
string (uuid) Required
GUID for targeted Company
Example54c4066e-2b2b-4118-ac75-7dfea25be205
jobQueueEntryId
string (uuid) Required
SystemId (GUID) of the job queue entry
Example4c7e8f0a-1b2c-ef11-9346-000d3adf76af
Body parameters
changeInterval
Change run interval
{
"noOfMinutesBetweenRuns": 30
}object
Writable fields of a job queue entry.
objectTypeToRun
string
Valid values[
"Report",
"Codeunit"
]
ExampleCodeunit
objectIDToRun
integer
Minimum0
Example70590700
description
string
Max length250
ExampleE. sąskaitų siuntimas
jobQueueCategoryCode
string
Max length10
ExampleESF
earliestStartDateTime
string (date-time)
Example2025-03-18T06:00:00Z
recurringJob
boolean
Exampletrue
noOfMinutesBetweenRuns
integer
Minimum0
Example60
errorMessage
string
Max length2048
Example
Responses
200
OK
object
id
string (uuid)
status
string
Valid values[
"Ready",
"In Process",
"Error",
"On Hold",
"Finished",
"On Hold with Inactivity Timeout",
"Waiting"
]
ExampleReady
userID
string
Max length65
ExampleVARDAS.PAVARDE
objectTypeToRun
string
Valid values[
"Report",
"Codeunit"
]
ExampleCodeunit
objectIDToRun
integer
Minimum0
Example70590700
objectCaptionToRun
string
Max length250
ExampleESF Send Documents
description
string
Max length250
ExampleE. sąskaitų siuntimas
jobQueueCategoryCode
string
Max length10
ExampleESF
userSessionStarted
string (date-time)
earliestStartDateTime
string (date-time)
Example2025-03-18T06:00:00Z
scheduled
boolean
recurringJob
boolean
Exampletrue
noOfMinutesBetweenRuns
integer
Minimum0
Example60
errorMessage
string
Max length2048
Example
lastModifiedDateTime
string (date-time)
400
Bad Request
object
error
object
code
string
ExampleBadRequest
message
string
ExampleThe field Customer No. of table Sales Header contains a value (P9999999) that cannot be found in the related table (Customer). CorrelationId: fc7b9039-73d9-48d2-a9d3-9a8e0f8b91da.
401
Unauthorized
Headers
WWW-Authenticate
string
object
error
object
code
string
Default"Unauthorized"
message
string
Default"The credentials provided are incorrect"
404
Not Found
object
error
object
code
string
ExampleBadRequest_ResourceNotFound
message
string
ExampleResource not found for the segment 'dimensionValues'. CorrelationId: fc7b9039-73d9-48d2-a9d3-9a8e0f8b91da.