title | description | author | ms.topic | ms.devlang | ms.date | ms.author | ms.reviewer |
---|---|---|---|---|---|---|---|
(automation API) Get scheduledJob |
Gets a scheduled job object in Dynamics 365 Business Central. |
SusanneWindfeldPedersen |
reference |
al |
05/31/2024 |
solsen |
solsen |
[!INCLUDEazure-ad-to-microsoft-entra-id]
Retrieves the properties and relationships of a scheduled job object for [!INCLUDEd365fin_long_md].
Replace the URL prefix for [!INCLUDE prod_short] depending on environment following the guideline.
GET /microsoft/automation/v2.0/companies({companyId})/scheduledJobs({id})
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
Do not supply a request body for this method.
If successful, this method returns a 200 OK
response code and a scheduledJob object in the response body.
Request
Here is an example of the request.
GET https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/scheduledJobs({id})
Response Here is an example of the response.
{
"id" : "26066f96-8775-eb11-bb56-000d3a298ab3",
"category" : "APIUSERJOB",
"status" : "In Progress",
"description" : "Create new users from Microsoft Entra API job",
"errorMessage" : ""
}